[xiph-cvs] cvs commit: speex/libspeex lpc.c
Jean-Marc Valin
jm at xiph.org
Wed Oct 1 15:17:25 PDT 2003
jm 03/10/01 18:17:25
Modified: libspeex lpc.c
Log:
improved LPC analysis (mostly for very tonal signals)
Revision Changes Path
1.10 +1 -1 speex/libspeex/lpc.c
Index: lpc.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/lpc.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- lpc.c 17 May 2003 05:46:29 -0000 1.9
+++ lpc.c 1 Oct 2003 22:17:25 -0000 1.10
@@ -85,7 +85,7 @@
r = -ac[i + 1];
for (j = 0; j < i; j++)
r -= lpc[j] * ac[i - j];
- r /= error;
+ r /= error+.004*ac[0];
/* Update LPC coefficients and total error */
lpc[i] = r;
<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