-
Notifications
You must be signed in to change notification settings - Fork 664
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
🚀 Feature Request: Audio mix and degrader #823
Comments
I love this idea and I was actually thinking about a new augmentation (degradation) module here (although it turned Do you have an idea of interface or an inspiration from existing packages? It would help to discuss requirements, pros and cons. |
Hello @mthrok! |
Thanks for the links. I skimmed through them and here is my thoughts
I guess we can start from functions to add noises to Tensor object. What do you think? |
Hello, @VictorBeraldo The links that you've provided are great resources. I went through them and I found that I'm working on something very similar. So, I thought to give it my side of the effort to contribute to it. Please do check out the PR for this request. It is a simple utility that is designed to degrade the audio Tensor with noise at a specific given SNR. I've also added a few separate functions that adds white and red noise to the audio which is provided as the input. Happy to help and collaborate to improve it further! Feel free to suggest any changes, enhancements. I'm all ears! |
I have added a tutorial on how one can use I think the next step will be to define interface for noise mixture function. |
After about 2 years, we have a goo collection of augmentation utilities, so I will close this issue. For people looking for specific audio utility to be added to torchaudio, I encourage to open a new issue. Thanks, |
Summary: Since TensorPipe is going to be the default backend in 1.7, we should change our examples to use this backend. Some examples were failing since the default was TensorPipe but we were passing in ProcessGroupBackendOptions. Test Plan: Run the test examples. Co-authored-by: pritam <[email protected]>
🚀 Feature
Add mixing feature to torchaudio with an desirable SNR
Motivation
This feature wil be usefull for audio data augmentation by adding noise to the audio signal.
Alternatives
There are a lot of python packages that contains this features, but it will be very useful if we have it inside torchaudio
Additional context
The text was updated successfully, but these errors were encountered: