How do I filter noise with realtime sounds?

zoze's icon

hello,

I am kind of new in max/msp and having some problems in a project I am working on

My project is like this: i want to get sounds using a mic (like people talking, walking, etc.) find the exact frequencies of these sounds and remove them from a white noise signal in a realtime process

It is easy to get the frequencies of the sounds with the fft object and filter the noise, but then when the sound stops the frequency comes back in the noise signal again!

Any ideas would be welcome
thanks