[xiph-commits] r14116 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Fri Nov 9 02:13:34 PST 2007


Author: jm
Date: 2007-11-09 02:13:34 -0800 (Fri, 09 Nov 2007)
New Revision: 14116

Modified:
   trunk/speex/libspeex/nb_celp.c
Log:
Minor quality tweak to 3.95 kbps mode.


Modified: trunk/speex/libspeex/nb_celp.c
===================================================================
--- trunk/speex/libspeex/nb_celp.c	2007-11-08 20:00:54 UTC (rev 14115)
+++ trunk/speex/libspeex/nb_celp.c	2007-11-09 10:13:34 UTC (rev 14116)
@@ -665,6 +665,8 @@
    if (SUBMODE(forced_pitch_gain))
    {
       int quant;
+      /* This just damps the pitch a bit, because it tends to be too aggressive when forced */
+      ol_pitch_coef = MULT16_16_Q15(QCONST16(.9,15), ol_pitch_coef);
 #ifdef FIXED_POINT
       quant = PSHR16(MULT16_16_16(15, ol_pitch_coef),GAIN_SHIFT);
 #else



More information about the commits mailing list