Forums

noise gate

Started by neir...@gmail.com November 30, 2010
Hi,

I need help with noise gate implementation.I have input wav file as byte array on which I have to implement noise gate.I have already done fft and calculated amplitude.I'm not sure what next should I do.I mean, I know basic procedure, but do I compare amplitude with threshold or something else? Is output = input * gate?
Thanks in advance.
Thank you very much :), just one more question, to be sure : i compare
amplitude with the threshold an depending on that i release(or not) the
INPUT signal, directly?
Thanks in advance
SSB0aGluayBzbyxidXQgaG93IHRvIHJlY29nbmlzZSB2b2ljZSBvciBub2lzZSBpcyBpbXBv
cnRhbnQuCgoKQXQgMjAxMC0xMi0wMSAwNDo0MzoxNu+8jCJOZWlyYSBPZG9iYXNpYyIgPG5l
aXJhLm9kb2Jhc2ljQGdtYWlsLmNvbT4gd3JvdGU6CiAKClRoYW5rIHlvdSB2ZXJ5IG11Y2gg
OiksIGp1c3Qgb25lIG1vcmUgcXVlc3Rpb24sIHRvIGJlIHN1cmUgOiBpIGNvbXBhcmUgYW1w
bGl0dWRlIHdpdGggdGhlIHRocmVzaG9sZCBhbiBkZXBlbmRpbmcgb24gdGhhdCBpIHJlbGVh
c2Uob3Igbm90KSB0aGUgSU5QVVQgc2lnbmFsLCBkaXJlY3RseT8KVGhhbmtzIGluIGFkdmFu
Y2UKCgoKCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQoKTkVXISAgWW91
IGNhbiBub3cgcG9zdCBhIG1lc3NhZ2Ugb3IgYWNjZXNzIGFuZCBzZWFyY2ggdGhlIGFyY2hp
dmVzIG9mIHRoaXMgZ3JvdXAgb24gRFNQUmVsYXRlZC5jb206Cmh0dHA6Ly93d3cuZHNwcmVs
YXRlZC5jb20vZ3JvdXBzL2F1ZGlvZHNwLzEucGhwCgpfX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fCk5vdGU6IElmIHlvdSBkbyBhIHNpbXBsZSAicmVwbHkiIHdpdGgg
eW91ciBlbWFpbCBjbGllbnQsIG9ubHkgdGhlIGF1dGhv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