Re: {DÉSACTIVÉ} [Speex-dev] Using Speex onOMAP5910 OSK board

Jim Crichton jim.crichton at comcast.net
Sun Jul 23 03:33:56 PDT 2006


>> 001. How can I test speex_C55_test.out or the program?
>
> Can't help here. Read the manual for your tools.
>>
>> 002. I found the line "bitsFile = "c:\\speextrunktest\\samples\
>> \malebits.dat";"  in ti/testenc-TI-C5x.c file. Does it mean that if I
>> want to run the program on dsp chip, it must have filesystem to
>> support it?
>
> No. It means you need a filesystem to test Speex with this particular
> example. The libspeex library is pretty much pure "math code", with
> almost no dependencies.
>
>> >> How I can use speex as a simple application on C55 dsp chip without
>> filesystem?
>
> You'll need to write your own application based on the sample code and
> find somewhere to send the result (or discard it, but that isn't very
> useful).

The C55 build provided with Speex is configured to run in the TI C55x 
simulator (the README file says this).  To run it on a real hardware 
platform, you would need to add some method of getting audio samples and 
data into and out of the program.  If you planned to use file I/O, then you 
would need a file system.  On an OMAP, there should be some mechanism for 
communicating between the ARM and the DSP, and you would probably use that 
mechanism to pass the audio and compressed data.

The easiest way to get started is to find an example program that was 
provided with your board (hopefully one that does audio processing), and 
modify this to add the main loop from testenc_TI_C5x.c.  This will take some 
work.

But, like Jean-Marc said, if all you are trying to do is prove that the DSP 
is working, you could pick something much simpler than Speex to do this.

- Jim 




More information about the Speex-dev mailing list