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
On Tue, 2006-08-08 at 09:46 +0200, Bj?rn Thalheim wrote:> 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.NO!! That's not what I said. I said "Only if you never change the bit-rate". Bitrate != sampling rate. Jean-Marc
Hi, Jean-Marc Valin wrote:> NO!! That's not what I said. I said "Only if you never change the > bit-rate". Bitrate != sampling rate.So when I keep away from options like --vbr --abr --vad --dtx --quality and use a plain: speexenc -n filename.wav filename.spx submodeID 5 is always used. I hope I got that right now. I would I want to use --bitrate 15000 to pin my test scenario down to submodeID 5? Regards, Bj?rn -- She is not refined. She is not unrefined. She keeps a parrot. -- Mark Twain -- 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/13d4ffc3/signature.pgp