How do you make a noise gate?

genfu's icon

This seems like it shouldn't be too hard, but i'm stuck, can anyone help?

All i want is to make a basic noisegate (using only normal max/msp objects), so any signal with an amplitude less than x value is gated, and any signal with a value higher than x is heard without any deforming of that signal in the process.

i looked at the omx.comp~ help but i just can't seem to get it to work as a basic noise gate. don't know what i'm doing wrong...

if anyone can post an example patch of how to do this or point me in the right direction it would be very useful!

Beep's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I imagine that after 2 years you've sorted this, but just in case!

Luis's icon

I imagine that after 3 years you´ve sorted this, but just in case ... @barry Many thanks for this simple clever code! Love it!

Ben Catman's icon

Lol 14 years later, and a MAX noob is very happy ;)

👽'tW∆s ∆lienz👽's icon

here's something more audio-rate in its detection scheme and allows for more detail in amplitude-sculpting:

Max Patch
Copy patch and select New From Clipboard in Max.
Ben Catman's icon

Thank you so much, very effective!