Most functions for audiorecorder are only supported for the windows version. I have a 4-microphone array and i want to use each one separately. But i cannot specify the deviceID as it is not supported in Mac. It just uses the default device. It displays the following warning:
Warning: DeviceID parameter can only be set on Windows
IS there any option to do this?
I am working on similar problem: want to record from 2 microphones.
First of all: on Mac OS X, Matlab versions earlier than r2011a don’t have multi input device support. So you must upgrade to r2011a.
I’ve found in Matlab’s r2011a release notes (http://www.mathworks.com/help/pdf_doc/matlab/rn.pdf page 18)
I’m testing it now, but it seems not to work properly (Built-in Input can’t handle 44100Hz, 16bit, 1 channel recording) :-/
Upgrade to r2011a and we will try to solve this problem together.
*Upadte**
Here is what I did:
List all audio devices:
List each input device:
Test desirable device (for me it was jack-plugged microphone):
function returned 1, so device IS ABLE to record 44100Hz,16bit,1channel audio signal.
Create audiorecorder object connected to desirable device:
Record audio using recordblocking function (I don’t need to record asynchronously and prefer recordblocking istead of record function, because I can see when recording process is finished).
Play it.
Everything work’s fine for me:)