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

The mix gain setting question #14

Open
sailor88128 opened this issue Feb 26, 2018 · 0 comments
Open

The mix gain setting question #14

sailor88128 opened this issue Feb 26, 2018 · 0 comments

Comments

@sailor88128
Copy link

Hi,
Thanks for the terrific work.
Here is a question about mix gain, in denoise.c.
I notice the denoise effect is too strong, and speech_gain and noise_gain are set as below. So if there may be a distortion problem when these two audio mixed or when handle the audio in reality?

    speech_gain = pow(10., (-40+(rand()%60))/20.);  // 0.01~10
     noise_gain = pow(10., (-30+(rand()%50))/20.);  // 0.06~10
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

1 participant