Does matlab support USB audio devices that have 4 microphones?
11 ビュー (過去 30 日間)
I'm having trouble finding a mechanism to record audio from a usb 4 channel audio device. I have found examples scripts that record stereo (2 channel) audio from a usb device, but not 4. Any help would be greatly appreciated.
Walter Roberson 2017 年 11 月 3 日
Yes. But see https://www.mathworks.com/matlabcentral/answers/252393-i-want-to-record-simultaneously-using-5-usb-microphones-my-solution-almost-works-but-there-is-a-de
You need either the DSP toolbox or the Audio Systems Toolbox or (interfacing a different way) the Data Acquisition Toolbox for this to work.
その他の回答 (1 件)
Gabriele Bunkheila 2017 年 11 月 6 日
I work with the Audio System Toolbox team at MathWorks and after seeing this I thought I'd drop a more precise note on the topic.
It looks like your board is recognized by Windows as a standard audio device, leveraging generic DirectSound drivers.
To record more than 2 channels from anything seen by your OS as an audio device (e.g. working with DirectSound, WASAPI, ASIO, ALSA or CoreAudio drivers), you should look at audioDeviceReader in Audio System Toolbox.
I hope this helps.