SIMULINK: Microphone input, how to?

9 Ansichten (letzte 30 Tage)
Nathan
Nathan am 28 Mai 2012
Hello,
First off, I've never used simulink before and I've just started the tutorials.
For a project in one of my classes I'm planning to use two binaural microphones to measure the inter-aural time difference between one's ears in real time. Essentially that means I need to calculate the phase difference between microphones. My question is how do I get microphone input using SIMULINK? I have a macpro and will be plugging my microphones into the headphone input jack. I've changed the sound settings on my computer, so it should record stereo. So really the step I'm missing is how to pipe stereo microphone input into matlab. Which block would I be using? I searched through the simulink library and didn't find anything, but maybe I missed it.
Edit: Also is there a way for me to read in wav files? do analysis to prerecorded samples too.
Thanks! Nathan

Antworten (1)

Kaustubha Govind
Kaustubha Govind am 29 Mai 2012
If you have access to the DSP System Toolbox (formerly Signal Processing Blockset), you might be able to use the From Audio Device block. I haven't tried this before though, so I'm not 100% sure.

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by