Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement NoiseGate #108

Open
iver56 opened this issue Oct 29, 2021 · 3 comments
Open

Implement NoiseGate #108

iver56 opened this issue Oct 29, 2021 · 3 comments
Assignees

Comments

@iver56
Copy link
Collaborator

iver56 commented Oct 29, 2021

Like https://en.wikipedia.org/wiki/Noise_gate

Because some voice over ip applications do this

@shahules786
Copy link
Contributor

Hey @iver56, May I take a look at this?

@iver56
Copy link
Collaborator Author

iver56 commented Apr 23, 2022

Yes

@iver56
Copy link
Collaborator Author

iver56 commented Apr 25, 2022

I thought about it for a little bit and came to realize that there are two forms of noise gating:

One is simple, almost like a compressor, except it turns on and off (maybe with a short fade) the audio based on the loudness. E.g. if nobody is speaking, it will mute the sound. When one starts speaking it unmutes, and mutes again when the speech has ended. Example of this: https://www.gvst.co.uk/ggate.htm

The other one is like a simple form of denoising - it doesn't simply turn on or off the audio, but instead divides the audio into many frequency bands (as in spectrogram) and treats them independently. Then it has a noise threshold and removes anything below that threshold. Example of this: The old noise reduction feature in Audacity: https://manual.audacityteam.org/man/noise_reduction.html

Both can be useful as data augmentation

So maybe those two transforms should have different names

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants