SIMULINK: Microphone input, how to?
조회 수: 8 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
Kaustubha Govind
2012년 5월 29일
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.
댓글 수: 0
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!