Hi Matt,
Still not sure what effect you're tring to achive!!!
Oops!
Ok, its an adaptive noise filter that depends on the signal itself.
-edit-
It's pretty much what Wittgenstiend described in that latter post
-end edit-
Instead of uniformly removing set frequencies from a whole sample (as JoannaK mentioned) it does analysis of the sound as it changes over time (by using Fourier Analysis on windows of a certian size).
The analysis determines the frequency region (using an intensity threshold) where the signal is located and uses these parameters to build a FIR filter pair (high and low pass) to eliminate the frequencies above and below the signal region.
By splitting the sample into windows, the filtering adapts over time (each window is seperately analysed and filtered).
I was thinking to make a realtime double buffered setup for this (using very small windows of a few milliseconds) to clean up live inputs such as guitars and mics and the like...