Comments (4)
Hi Hugues,
I assume you are using the stationary version of the algorithm? The stationary version of the algorithm should be the same for long vs short clips if you are providing the same noise clip as input. It doesn't make sense to perform non-stationary noise reduction because you are basically providing stationary input if the timescale is too short.
If you have some metric of quality it is possible to search parameter space that way - e.g. training a prediction model on the output and seeing what set of parameters perform best.
All the parameters are in the main readme. I would focus on the prop_decrease, time_constant_s, freq_mask_smooth_hz, time_mask_smooth_ms, sigmoid_slope_nonstationary, n_std_thresh_stationary
These all relate to how the mask is built.
Best,
Tim
from noisereduce.
Thank you very much for your answer Tim.
Yes, I am using the stationary version. I will try to optimize on the parameters you indicated!
Best
from noisereduce.
Interested in how to get this working for streaming audio also, did you ever get something working @HuguesGallier ?
from noisereduce.
Hello @DamienDeepgram,
I couldn't find satisfying parameters for small chunks of data (200ms). When I process each of them separately, the quality of the resulting audio file when I join the treated chunks is not satifying.
So I will probably just remove the noise when I really need to (for instance, before speech to text).
Otherwise, you can find this other library if you want to remove the noise directly from the microphone itself with a LADSPA plugin (if you are on Linux).
from noisereduce.
Related Issues (20)
- Error occurs when executing 'enhanced_speech = tg(noisy_speech)' HOT 2
- module 'numpy' has no attribute 'float',The aliases was originally deprecated in NumPy 1.20 HOT 1
- smoothing filter settings when n<1
- How train noisereduce on new dataset to increase your accuracy of it HOT 1
- remove signal A from signal B HOT 1
- Please release 3.0.2 to PyPI HOT 2
- install problem with llvmlite dependency HOT 7
- ValueError: time_mask_smooth_ms needs to be at least 256ms HOT 3
- Can't find any settings that work to remove burst of clipping static (example .wav attached) HOT 1
- volume reduction after denoising HOT 2
- bus error when using the reduce_noise in PyAudio streaming callback function HOT 8
- RuntimeWarning: invalid value encountered in divide HOT 1
- Latency for streaming audio HOT 1
- How to convert an audio stream from PYAudio into the right format to pass to noisereduce? HOT 5
- Add ONNX export for Pytorch Model HOT 1
- Minor change in device setting value HOT 3
- Why is torch a mandatory dependency on 3.0.0? HOT 4
- type error when trying to run code can anyone help? HOT 1
- TorchGate init parameter win_length type error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noisereduce.