SIMULINK: Microphone input, how to?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Kaustubha Govind
le 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.
0 commentaires
Voir également
Catégories
En savoir plus sur Array and Matrix Mathematics dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!