Record multiple microphones simultaneously
5 views (last 30 days)
Show older comments
I have read several topics on this issue, but the ones I have found differed from mine slightly.
I wish to record 2 sound recordings at once. I have both mic's plugged in. I set up two audiorecorder functions like this:
rec1=audiorecorder(44100,8,1,1);
rec2=audiorecorder(44100,8,1,2);
record(rec1,3);
record(rec2,3);
Only rec1 recorded. I can see this by plotting the audiodata for both recordings. Is this problem due to MatLab not recognizing the 2nd microphone? Or is there something inherently wrong with my code?
Also, would there be an easier way to do multiple recordings? I've read something about Data Acquisition Toolbox, but I don't have it and have never used it.
Thanks for your help.
9 Comments
joe boby soegiarto
on 24 Jun 2015
Hi i want to ask guys, can you record using 2 differenti soundcard simultaneously?
Answers (0)
See Also
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!