Skip to content

Commit

Permalink
New features (xiph#9)
Browse files Browse the repository at this point in the history
Also, adding an error^4 term to the loss function
  • Loading branch information
jmvalin committed Sep 8, 2017
1 parent c60a763 commit 92739d8
Show file tree
Hide file tree
Showing 3 changed files with 10,943 additions and 10,943 deletions.
2 changes: 1 addition & 1 deletion src/denoise.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ int main(int argc, char **argv) {
float E=0;
if (++gain_change_count > 101*300) {
speech_gain = pow(10., (-40+(rand()%60))/20.);
noise_gain = pow(10., (-30+(rand()%40))/20.);
noise_gain = pow(10., (-30+(rand()%50))/20.);
if (rand()%10==0) noise_gain = 0;
noise_gain *= speech_gain;
if (rand()%10==0) speech_gain = 0;
Expand Down
Loading

0 comments on commit 92739d8

Please sign in to comment.