[Speex-dev] Encoding audio sampled at 44.1 khz?

Peter Mosedal Laursen dmu615 at vejlehs.dk
Wed Mar 21 12:13:23 PDT 2007


Hi everyone, 

I recently began using libspeex 1.2 Beta 1 on Windows using MS Visual C++. I have gotten a decoder and an encoder to work fine from the excellent sample code posted at the website. 

But I face a problem. I am working on using Speex in a program to play and create audio books encoded using Speex (currently testing it only; for these tests, I do not use Ogg to save the encoded frames, even though the data is saved to a disk). Some of the files I have are files encoded at 44100 samples per second stereo. This is not music, but audio books recorded from CDs.

Is it possible to encode those data using Speex? The files I tested with ended up taking larger amounts of space than the original files. 

If it is not possible, I should be very glad if someone could show me how to resample my audio at a lower sampling frequency or point me to a place where I might learn of such things. (I am very much a beginner when it comes to programming with audio data).

I look forward to hearing from you. 

Best regards, 

Peter.



More information about the Speex-dev mailing list