[Speex-dev] Speex for sampling freq >48KHz

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Sun Mar 26 22:42:31 PST 2006

> I was just trying to use speex for sampling frequency >48KHz. In the
> original Speex-1.0.5 its restricted only upto 48KHz. I tired to modify
> it by changing the boundary conditions( the error conditions, i.e. if
> sampling freq >48KHz, it gives error) in /src/speexenc.c and then it
> atleast doesnt give the error, there is flow in decoding or encoding(i
> think).
> I suspect there are other constraints in the encoder and decoder to
> modify other than this to make it work properly.
> At this point, I am not getting the proper decoded(reconstructed)
> bitstream. 
> Can you please suggest me the places where I should make changes to
> incorporate this requirement.

OK, I'm not sure what exactly you're trying to achieve, but I can't see
any sane reason to use Speex at > 48 kHz sampling. I already think 44.1
kHz is a bad idea. If you want high-fidelity, use Vorbis, not Speex. If
you want decent quality speech, use Speex at 16 kHz or something like


More information about the Speex-dev mailing list