<body bgcolor="#ffffff" background="https://img.web.de/v/p.gif" class="bgRepeatYes" style="background-repeat: repeat;  background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-size: 9pt; padding-left: 0px;" ><span style="font-size: 9pt;"><span style="font-family: verdana,geneva;"><span style="background-color: transparent;"><span style="color: #000000;"><span style="color: #000000;">&nbsp;</span></span></span></span></span>Hi,<br /><br />is no one willing to spent some effort on this topic? At least it would be good<br />to know if anybody can reproduce this problem.<br /><br />I did further investigation on the topic and found out that the encoder in fixed<br />point mode produces absolutely different pitch and pitch gain parameters than in<br />floating point mode (for a 2000 Hz input signal). The codec breaks on frame loss<br />if the encoder is in fixed point mode, decoder doesn't matter, so I assume the<br />pitch parameters are "bad".<br />Maybe its caused by accuracy/rounding problems for this periodic signal?<br /><br />Because I do not know much about the internals of Speex, it's hard for me to<br />analyse the pitch / pitch gain computation. Some help would be really nice...<br /><br />best regards,<br />Frank<br /><br /><br /><br />---------- Urspr&uuml;ngliche Nachricht ----------<br />Von: Frank Lorenz &lt;Frank_wtal@web.de&gt;<br />An: speex-dev@xiph.org<br />Datum: 4. Januar 2010 um 09:57<br />Betreff: Re: [Speex-dev] Fixed Point on wideband-mode: Single Frame loss on 2000<br />Hz sine causes "freak off"<br /><br /><br />Hi Jean-Marc, all,<br /><br />I didn't get any response to my issue up to now and would like to now if anyone<br />can reproduce this behaviour and if there is some idea what happens. I am<br />willing to fix this issue, but because I do not know the internals of speex, I<br />need some advice on how to proceed...<br /><br />best regards,<br />Frank<br /><br /><br /><br />Frank Lorenz &lt;Frank_wtal@web.de&gt; hat am 21. Dezember 2009 um 10:49 geschrieben:<br /><br />&gt; An update:<br />&gt;<br />&gt; I found that the "ADD32: output is not int:" messages are caused by the<br />&gt; enhancer. When I turn the enhancer off, the messages vanish, but the "freak<br />&gt; out" of the codec is still there - so the problem seems not to be related to<br />&gt; the overflow messages.<br />&gt;<br />&gt; best regards,<br />&gt; Frank<br />&gt;<br />&gt;<br />&gt; ---------- Urspr&uuml;ngliche Nachricht ----------<br />&gt; Von: Frank Lorenz &lt;Frank_wtal@web.de&gt;<br />&gt; An: speex-dev@xiph.org<br />&gt; Datum: 18. Dezember 2009 um 13:36<br />&gt; Betreff: [Speex-dev] Fixed Point on wideband-mode: Single Frame loss on 2000<br />&gt; Hz sine causes "freak off"<br />&gt;<br />&gt; Hi,<br />&gt;<br />&gt; I'm quite sure we found a bug inside the codec (1.2rc1, wideband mode). It<br />&gt; only<br />&gt; occurs when speex is compiled with the FIXED_POINT flag.<br />&gt;<br />&gt; I feed in a 2000 Hz sine wave (-15 dBFS). When I simulate a single frame loss<br />&gt; (i.e. pass a null pointer to speex_decode_int as second parameter for just one<br />&gt; frame), the decoder<br />&gt; starts to freak out a second later: It produces horrible noise with 0 dBFS.<br />&gt; This<br />&gt; horrible noise will not vanish until you turn off the input signal.<br />&gt;<br />&gt; I did some investigation on this with FIXED_DEBUG. The error messages are<br />&gt; (lots<br />&gt; of this):<br />&gt; ADD32: output is not int: 1702286034 in ltp.c: line 68<br />&gt; ADD32: output is not int: 1455757562 in ltp.c: line 69<br />&gt;<br />&gt; Call stack for this (only set the break point once, may be there are other<br />&gt; call<br />&gt; stacks on error, too):<br />&gt;<br />&gt; sb_decode ( ) at sb_celp.c:898<br />&gt; nb_decode ( ) at nb_celp.c:1471<br />&gt; multicomb ( ) at filter.c:709<br />&gt; interp_pitch ( ) at filter.c:603<br />&gt; inner_prod ( ) at ltp.c:68<br />&gt;<br />&gt; Can you help please?<br />&gt;<br />&gt; best regards,<br />&gt; Frank<br />&gt; ______________________________________________________<br />&gt; GRATIS f&uuml;r alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!<br />&gt; Jetzt freischalten unter <a href="http://movieflat.web.de/" target="_blank">http://movieflat.web.de</a><br />&gt;<br />&gt; _______________________________________________<br />&gt; Speex-dev mailing list<br />&gt; Speex-dev@xiph.org<br />&gt; <a href="http://lists.xiph.org/mailman/listinfo/speex-dev" target="_blank">http://lists.xiph.org/mailman/listinfo/speex-dev</a><br />______________________________________________________<br />GRATIS f&uuml;r alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!<br />Jetzt freischalten unter <a href="http://movieflat.web.de/" target="_blank">http://movieflat.web.de</a><br /><br />_______________________________________________<br />Speex-dev mailing list<br />Speex-dev@xiph.org<br /><a href="http://lists.xiph.org/mailman/listinfo/speex-dev" target="_blank">http://lists.xiph.org/mailman/listinfo/speex-dev</a>&nbsp;&nbsp;<br><br><table cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#000000"><img src="https://img.web.de/p.gif" width="1" height="1" border="0" alt="" /></td></tr><tr><td style="font-family:verdana; font-size:12px; line-height:17px;">WEB.DE MillionenKlick: Kostenlos tippen, t&auml;glich 1 Million gewinnen!&nbsp;&nbsp;&nbsp;<br>http://produkte.web.de/go/07/</td></tr></table></body>