Automated threshold setting for spectral noise gate?
Hi There,
I'm currently working on a patch, part of which is based on the spectral noise gate in MSP tutorial 26. I am trying to devise a method that automatically sets the threshold level dependent on the content of the *~ output, so that only the very highest amplitudes are allowed through, the idea being to create percussive sounds. Any help or ideas would be greatly appreciated.
Cheers
>~ / number~ / snapshot~ / meter~ ? When it's over a certain amount, open the sound gate, then keep it open for however long you want to make your sound. Probably if you auto-close it when the level drops, it will be too quick, but that depends on the sound you want, and whether you have delay or reverb on it.
You can set the sample interval for number~ / snapshot~ / meter~, which may help. In this case probably you'd want very small intervals, which supposedly go down to 1 msec, but I think I read somewhere that 20 msec is the real lower limit. Anyone confirm this?
Wouldn't it be better not to leave the signal-domain? I'm not entirely sure what you're after though, so maybe not. Do you mean the [*~ ] output in the pfft~?
Help -> Reference -> MSP Tutorials -> MSP Analysis Tutorial 4 "Signal Processing with pfft~" includes a spectral noise gate, which is a rough noise reduction technique.
For live noise reduction, Max is great. If you want to do quality noise reduction from a sound file, and if you are getting started with Max, you might want to give Audacity's Noise Reduction feature a try (in Audacity: Effects -> Noise Reduction...)