For positive values of thresh, acts something like a noise reduction. For negative values, highlights smaller sounds.
buffer |
fft buffer |
thresh |
if positive, scales magnitudes below thresh. if negative scales magnitudes above abs(thresh) |
remove |
amount to scale magnitudes. |