Page 1 of 1

can i make real time speech processing and dsc starter kit

Posted: Wed Dec 01, 2010 4:56 pm
by angelita
hi i want to know if i can make a real time speech processing (without recording the sound) using matlab simulink
and if the MPLAB Starter Kit for dsPIC DSCs is supported bu simulink

if yes..would you give me some examples application program or stuff like that

Re: can i make real time speech processing and dsc starter k

Posted: Wed Dec 01, 2010 8:18 pm
by LubinKerhuel
Hi,

It's possible to do real time sound processing with matlab simulink. The signal processing blockset has a microphone block and a speaker block allowing doing this. There are also few toolbox that may accelerate real time processing on your computer (windows target ?).
angelita wrote:MPLAB Starter Kit for dsPIC DSCs is supported bu simulink
It only depends which microcontroller is in the Starter Kit you are using. Which one is it ?

I have not done yet real time speech processing using dsPIC. It should be feasible using simulink and the dsPIC blockset provided the dsPIC is running fast enough. I typically used a processing sampling rate (i.e. time step) of 2Khz (i.e. 0.5ms) to implement automatic control laws. Thus, sampling sound at at least 8KHz should be Ok. Anyway, take care of the time consumed by the algorithm (monitor the real time consumption with the "time step" block)

Lubin

Re: can i make real time speech processing and dsc starter k

Posted: Thu Dec 02, 2010 6:12 am
by angelita
i mean the whole kit
i want to control this project with usb interface so i want to use the pic18 in the kit
and the dspic33 for the audio processing (noise and echo ellimination )
is that possible ??

Re: can i make real time speech processing and dsc starter k

Posted: Thu Dec 02, 2010 12:44 pm
by LubinKerhuel
I guess pic18 serve only for programming the main dsPIC 33.
Thus, you will not be able to use USB interface for your own program.
If you have few input/output on the board for sound, it should be Ok.

Lubin

Re: can i make real time speech processing and dsc starter k

Posted: Tue Aug 30, 2011 11:31 am
by golesorkh
LubinKerhuel wrote: There are also few toolbox that may accelerate real time processing on your computer (windows target ?).

hi;
may i ask what are these toolboxes that can accelerate realtime processing? u mean realtime windows target?
actually i have used microphone and speaker, i connected them directly/ with a delay block. but sound transmision has delay of at least 1 sec. would u give me a detailed help on how to use this windows target.

Re: can i make real time speech processing and dsc starter k

Posted: Tue Aug 30, 2011 12:54 pm
by LubinKerhuel
I am not up to date with real time processing of audio data with simulink on PC. I could provide the following inputs:

- Simulink Microphone block might create a buffer and provide the following block with a fixed size buffer. This will create a first delay in processing.
- sound cards drivers usually creates also delay. You might find specialized driver that should reduced sound delay. Their name is ASIO4ALL. However, for best results, your sound cards should be compatible "ASIO".

Lubin