[speex-dev] Frozen upper spectrum in WB VBR CNG
tgrand at canvaslink.com
Sat May 3 23:30:35 PDT 2003
Great, thanks! That patch solved it. VBR without DTX seems to work
perfectly now. If I enable DTX, there's still a little bit of buzz
but it doesn't seem to last very long when it happens.
I appreciate the quick fix!
Jean-Marc Valin (jean-marc.valin at hermes.usherb.ca) wrote:
> Yep, you found a bug and here's the patch. It should solve your problem
> (using VBR without DTX), but there many still be some tuning do to on
> the DTX.
> diff -u -r1.118 sb_celp.c
> --- sb_celp.c 18 Mar 2003 06:13:30 -0000 1.118
> +++ sb_celp.c 4 May 2003 04:58:16 -0000
> @@ -351,6 +351,8 @@
> int modeid;
> modeid = mode->nb_modes-1;
> + if (st->relative_quality<-1)
> + st->relative_quality=-1;
> while (modeid)
> int v1;
> @@ -361,7 +363,7 @@
> thresh = (st->vbr_quality-v1) *
> mode->vbr_thresh[modeid][v1+1] +
> (1+v1-st->vbr_quality) *
> - if (st->relative_quality > thresh)
> + if (st->relative_quality >= thresh)
--- >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 'speex-dev-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 Speex-dev