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

Feature Request or Advice #40

Open
mcr-is opened this issue Mar 23, 2020 · 2 comments
Open

Feature Request or Advice #40

mcr-is opened this issue Mar 23, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@mcr-is
Copy link

mcr-is commented Mar 23, 2020

Do you have a method for creating a common background noise file? I have a bunch of wav files that I would like to extract the common background noise from them instead of guessing. If not have you thought about adding this into your package?

Thanks for any help. I'm not experienced at GitHub posting so I hope this is an ok way to send ideas or requests.

@timsainb timsainb added the enhancement New feature or request label Mar 23, 2020
@timsainb
Copy link
Owner

You have a bunch of background noise files and you want to extract 'average' background noise statistics across those files? I don't have that implemented but it seems like a fine idea, but would require rewriting a bit of the code to implement.

In effect, you would want to have separate functions that compute statistics over each noise file. Then average them together. Then be able to pass the noise statistics directly into a noise_reduction function.

@mcr-is
Copy link
Author

mcr-is commented Mar 23, 2020

Yeah I think that sounds about right.

I was thinking of it as more of a synthetic background noise that is generated from the examples that I have currently and will get going forward. If I had a file like this then the common background sound would be removed like doing background subtraction in computer vision. I would need the ability to save the synthetic file so I could use it for my model building and and later inference. I tried reading all of my samples as numpy arrays and then stacking them into a pandas df to get a mean but that didn't work very well. I am by no way an expert in sound file processing which is why I wanted to reach out to you. I really really really like your noisereduce package and it was just what I needed for my project. Thanks for any assistance you can offer.

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

No branches or pull requests

2 participants