[xiph-cvs] cvs commit: speex/libspeex denoise.c
Jean-Marc Valin
jm at xiph.org
Wed May 21 15:16:39 PDT 2003
jm 03/05/21 18:16:39
Modified: libspeex denoise.c
Log:
oops...
Revision Changes Path
1.13 +2 -6 speex/libspeex/denoise.c
Index: denoise.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/denoise.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- denoise.c 21 May 2003 22:05:37 -0000 1.12
+++ denoise.c 21 May 2003 22:16:39 -0000 1.13
@@ -392,7 +392,7 @@
else
p0=.02+.1*exp(-.2*(x-1.5));
- p1 *= 2;
+ p1 *= 1.0;
/*fprintf (stderr, "%f %f ", p0, p1);*/
p0 *= .99*st->speech_prob + .01*(1-st->speech_prob);
p1 *= .01*st->speech_prob + .99*(1-st->speech_prob);
@@ -407,11 +407,7 @@
if (st->last_speech<10)
is_speech = 1;
}
- fprintf (stderr, "%f ", st->speech_prob);
- }
- if (mean_prior>1 && mean_post > 1)
- {
- is_speech=1;
+ /*fprintf (stderr, "%f ", st->speech_prob);*/
}
if (st->consec_noise>=3)
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list