Real-time spectral filtering

jacobrei's icon

Hello everybody!

I’m attempting to find a way to gradually diminish a source signal by subtracting individual frequencies - actually kind of spectral filter. The frequencies that are to be subtracted should be determined by a live input from a microphone, so that if the microphone picks up the frequency 100 Hz, the source signal gets that frequency removed. The removed frequency should not come back even if the microphone stops picking up said frequency.
I think the right approach is to use the pfft~ object and then somehow subtract the individual frequency bins from each other. I just don’t know how to do this in real-time.

Can anyone point me in the right direction on how to achieve this?

mestre andré's icon

i would also like to know about this :/

Max Gardener's icon

Have you looked at the venerable Forbidden Planet MSP patch?

And, this - now that I think of it.

mestre andré's icon

I'll dig into that! Thank you very much!!!