Giter VIP home page Giter VIP logo

Comments (4)

timsainb avatar timsainb commented on July 17, 2024

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.

H-G-11 avatar H-G-11 commented on July 17, 2024

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.

DamienDeepgram avatar DamienDeepgram commented on July 17, 2024

Interested in how to get this working for streaming audio also, did you ever get something working @HuguesGallier ?

from noisereduce.

H-G-11 avatar H-G-11 commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.