Hi, Does someone know if I could use SpeexPreprocessState::loudness or SpeexPreprocessState::loudness2 to create a VU meter. And if so, how? <p>Thanks, Tom Moers --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> 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 -- Jean-Marc Valin http://www.xiph.org/~jm/ LABORIUS 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