[Speex-dev] Decode win32 encoded files on TI C5x???

Jim Crichton jim.crichton at comcast.net
Wed Oct 4 07:42:19 PDT 2006


>> For encoding into and decoding from "raw Speex stream" (if you can call
>> it that), I suggest you start with the sampleenc.c and sampledec.c
>> example code in Appendix B of the Speex Manual.
>
> There is no such a thing as a "raw Speex format". Also, sampleenc.c and
> sampledec.c are good for learning how to use the API, but the compressed
> format shouldn't be used in any real application.

I suspect that Peter is looking for a pre-built PC-based tool to test his 
DSP-based decoder implementation, which is based on the libspeex/testenc 
example.  Nobody has yet pointed out an available Win32 binary to do this. 
If Peter has a Win32 build environment, then he could start with 
libspeex/testenc.c, and add the wave header processing from src/speexenc.c, 
and he would have what he needs.

- Jim

>> Peter Mlakar wrote:
>>>
>>> I have successfully DECODED speex on TI C5509:
>>>
>>> #define TESTENC_BYTES_PER_FRAME 20 /* 8kbps */
>>>
>>> #define TESTENC_QUALITY 4 /* 8kbps */
>>>
>>> I am trying to generate the files I need with speexenc.exe:
>>>
>>> speexenc -n --quality 4 -V male.wav male.spx
>>>
>>> But I can’t decode the files on C5x.
>>>
>>> Yes, I have seen that speexenc.exe adds Ogg header and have deleted
>>> the first 396 byte’s of the file for test.
>>>
>>> Where am I going wrong?
>>>
>>> Can I generate with speexenc.exe raw speex files for the C5x?
>>>
>>> Regards
>>>
>>> Peter
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Speex-dev mailing list
>>> Speex-dev at xiph.org
>>> http://lists.xiph.org/mailman/listinfo/speex-dev
>>>
>>
>> _______________________________________________
>> Speex-dev mailing list
>> Speex-dev at xiph.org
>> http://lists.xiph.org/mailman/listinfo/speex-dev
>>
>>
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
> 




More information about the Speex-dev mailing list