Introduction - If you have any usage issues, please Google them yourself
First produce three different signals, one for the normal recording, one for the ambient noise, a different frequency band of the matlab signal, respectively, after the signal with IIR and FIR filter to extract the normal sound signal.