[Speex-dev] mdf no sound issue

Tom Harper tharper at sightspeed.com
Wed Nov 16 10:25:11 PST 2005

Jean Marc & list,

Following up on this- there seems to be an issue with this calculation
in mdf.c (Smooth echo energy estimate over time)

          Pey += Eh*Yh;
          Pyy += Yh*Yh;

it goes too large for floating point, which seems to be caused by extremely
large values in st->Rf[j], st->Yf[j] and smaller values in st->Eh[j], 
things were relatively quiet environmentally speaking.

Anyhow, leak_estimate would then go to undefined, which would mess up
r, which would mess up power_1[], which would then mess up some
things in weighted_spectral_mul_conj, etc.

There may be other issues but this is the one that makes the
most sense as to causing the silence issue- for now, I just put a
finite check on leak_estimate and that seems to prevent the symptom,
but doesn't fix it.

Maybe in this case Eh and Yh just need to be re-calculated/re-set?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20051116/a59691b9/attachment.htm

More information about the Speex-dev mailing list