Hello, I do test runs of speex using speexenc -n [name].wav [name].spx The wav-files (6 different speech files) hereby are sampled at 44100Hz. Most interestingly, all Frames have SubModeID 5. I haven't tracked the Assignment of the SubModeID through the source code, so I just wanted to ask, if I can assume "speexenc -n" to use SubModeID 5 always? Ciao, Bj?rn -- You will overcome the attacks of jealous associates. -- Important! Please recognize my new GPG Public Key! Bj?rn Thalheim gpg fingerprint: 2F22 AAEB 1818 1548 EC78 1AE8 9D2E FCB4 0980 28CC download key: wget http://www.ifsr.de/~bjoern/gpg/public_key.asc See also: http://www.ifsr.de/~bjoern/gpg/key.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20060807/80236fa0/signature-0001.pgp
Le lundi 07 ao?t 2006 ? 14:55 +0200, Bj?rn Thalheim a ?crit :> Hello, > > I do test runs of speex using > speexenc -n [name].wav [name].spx > The wav-files (6 different speech files) hereby are sampled at 44100Hz.That's one of the most creative ways to destroy quality with Speex that I've seen recently. Please refer to manual about why -n and 44.1 kHz don't mix.> Most interestingly, all Frames have SubModeID 5.Normal, submodeID 5 is the default bitrate for narrowband.> I haven't tracked the Assignment of the SubModeID through the source > code, so I just wanted to ask, if I can assume "speexenc -n" to use > SubModeID 5 always?Only if you never change the bit-rate. But speexenc -n was a dumb idea in the first place... Jean-Marc
Hi, Jean-Marc Valin wrote:>> I haven't tracked the Assignment of the SubModeID through the source >> code, so I just wanted to ask, if I can assume "speexenc -n" to use >> SubModeID 5 always? > > Only if you never change the bit-rate. But speexenc -n was a dumb idea > in the first place...I know ... Thats why I downsampled the WAV-File to 8kHz (I got to know sox just last night, so I did this a little late). Then, I used speexenc -n. submodeID 5 is still used always. That, fortunately, simplifies my test scenario. So, as long as the input file is sampled at constantly 8kHz, the submodeID sticks to 5. Looks good to me. Ciao, Bj?rn -- You will be awarded some great honor. -- Important! Please recognize my new GPG Public Key! Bj?rn Thalheim gpg fingerprint: 2F22 AAEB 1818 1548 EC78 1AE8 9D2E FCB4 0980 28CC download key: wget http://www.ifsr.de/~bjoern/gpg/public_key.asc See also: http://www.ifsr.de/~bjoern/gpg/key.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20060808/d1d9e4c8/signature.pgp