can i make real time speech processing and dsc starter kit

Create new topics, add your comment, remark, bugs...
angelita
Posts: 2
Joined: Wed Dec 01, 2010 4:47 pm

can i make real time speech processing and dsc starter kit

Postby angelita » Wed Dec 01, 2010 4:56 pm

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

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Marseille - France
Contact:

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

Postby LubinKerhuel » Wed Dec 01, 2010 8:18 pm

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

angelita
Posts: 2
Joined: Wed Dec 01, 2010 4:47 pm

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

Postby angelita » Thu Dec 02, 2010 6:12 am

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 ??

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Marseille - France
Contact:

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

Postby LubinKerhuel » Thu Dec 02, 2010 12:44 pm

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

golesorkh
Posts: 1
Joined: Tue Aug 30, 2011 11:13 am

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

Postby golesorkh » Tue Aug 30, 2011 11:31 am

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.

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Marseille - France
Contact:

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

Postby LubinKerhuel » Tue Aug 30, 2011 12:54 pm

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


Return to “General Remark and Questions”

Who is online

Users browsing this forum: No registered users and 1 guest