[speex-dev] Speex preprocess & loudness

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Thu Apr 1 09:56:03 PST 2004

> Does someone know if I could use SpeexPreprocessState::loudness or
> SpeexPreprocessState::loudness2 to create a VU meter. And if so, how?

You'll probably want to use 
loudness = pow(st->loudness, 1.0/LOUDNESS_EXP);

which is what I use in the AGC.


Jean-Marc Valin
Université de Sherbrooke, Québec, Canada

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message numériquement signée.
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040401/7d884aee/signature-0001.pgp

More information about the Speex-dev mailing list