This project has moved and is read-only. For the latest updates, please go here.

Creating noise gate

Mar 3, 2016 at 7:31 PM
Hi, I've been trying to use naudio to create a noise gate. I saw there was a method called SimpleGate, but I haven't been able to use it. Inside DSP I only get access to BiQuadFilter, Complex, EnvelopeGenerator, FourierTransform and ImpulseResponseConvolution.

Is the SimpleGate method still available? If not, I can try to implement the noise gate but is there a way of getting the float samples back to a way that I can feed them into a filer?

Mar 11, 2016 at 10:11 PM
when implementing effects, the best option is to implement the ISampleProvider interface. That way in the Read method you get floats in and emit floats out. Then all you need is to find a good noise gate algorithm - you could find one on musicdsp, or adapt the one from simple gate.