How do you make a noise gate?

    Jan 13 2010 | 9:07 pm
    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!

    • Nov 17 2012 | 10:34 pm
      I imagine that after 2 years you've sorted this, but just in case!
    • Dec 01 2015 | 8:10 pm
      I imagine that after 3 years you´ve sorted this, but just in case ... @barry Many thanks for this simple clever code! Love it!