Realtime Noise Filter

cronoklee's icon

Anyone know of a realtime noise filter object for max? I just want to clean up a noisy input signal.

Thanks

pid's icon

two warnings: 1 - there is no such thing as a 'realtime' noise filter. 2 - this is almost impossible to do WELL in max. unless you use a vst / au. just saying.

cronoklee's icon

OK thanks - can you suggest an alternative? Is there a handy noise gate object I could use?

cronoklee's icon

Ah the built in onx.comp~ object has a ngThreshold parameter which is a reasonable noise gate.

jameswherever's icon

@pid Could you possibly expand on why it is impossible to do well? I was thinking about attempting to programme one and an early indication as to why it might be a bad idea would be useful!

Thanks

Roman Thilenius's icon

because it is quite complex and so it would need quite many signal
connections to build it, which means that in maxmsp it will take too
much CPU.

if a noise gate is really an alternative, i dont know. but with omx or with
average, rampsmooth and slide you will be able to make a simple noise
gate within minutes.

leafcutter's icon

This one from MSP Tutorial 26 is really good:

Max Patch
Copy patch and select New From Clipboard in Max.

pid's icon

thanks roman

mudang's icon

One could improve the tutorial patch by taking a sample of the noise (aka noise profile) and use this as the threshold for the filter.

Another thing would be to implement a downward expander (instead of simply "muting" the bins) in the pfft.

This might be rather tricky to implement in max, but not impossible ;)

jameswherever's icon

Thanks. That's really handy. Sorry to have not spotted the tutorial (do I hear distant cries or RTFM?!)

@Leafcutter - would that be John?

(sorry, just realised I can click on your name and go my answer!)