Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to connect a microphone and process its signal in MATLAB

Status
Not open for further replies.

omidsht

Member level 2
Joined
Dec 24, 2007
Messages
43
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,556
matlab microphone

how to connect a microphone and process its signal in MATLAB in real-time ?

i want to connect a microphone to matalb and process the sound in real-time ( i want to do noise cancellation with adaline in real-time)

please help me
thanks

omid sharifi
 

matlab microphone input

For what I know Matlab is capable of processing .wav files, so you could acquire samples from MIC IN line and then process the wav file in Matlab to verify your algorithm, but I don't know how to do it in Real Time ... I suppose you have to customize the audio card driver to do it.

Regards
Mowgli
 

microphone matlab

omidsht said:
how to connect a microphone and process its signal in MATLAB in real-time ?

i want to connect a microphone to matalb and process the sound in real-time ( i want to do noise cancellation with adaline in real-time)

please help me
thanks

omid sharifi

There's a comand in matlab called wavrecord to record from the mic input
X=wavrecord(N,FS,CH)
Where,
CH:Number of channels, means mono or stereo
FS:Sampling rate to get samples
N:Number of samples to record then it stops.
If N=10*FS, then matlab will record 10 seconds.
and X is a row vector of the recorded samples.
u can playback the vector X by the comand wavplay
wavplay(X, FS)

Hope that's useful
 
using matlab microphone

I suggest you to have a look in data acquisition toolbox. you dont have to work with .wav files.
 

matlab wavrecord

Is it for Active Noise Control?
Why don't you use a DSP it got RTDX (Real Time Data Exchange) feature

for further reference
DSP 6713 Rulph C
dsprelated.com
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top