How to record audio from 4-ch MIC array device? (PSEye MIC)

7 次查看(过去 30 天)
I would like to record audio from 4-ch microphone array device named PSEye (PlayStation). I downloaded driver and the system (Windows7 64 bit) successfully finds the device as audio input device. However, on MATLAB, using 'audiorecorder' function, it can record up to only 2 channels. Is there any way to record 4-ch MIC signal?

回答(3 个)

Walter Roberson
Walter Roberson 2015-9-14
  1 个评论
Dong gun Lee
Dong gun Lee 2015-9-15
Thank you for your reply :) I tried that code, but it shows error message as follows. An error occured while using the portaudio stream Error number: -9997 Error message: Invalid device ID. I'm wondering if there is any example file for the pa_wavrecord function

请先登录,再进行评论。


Dinesh Iyer
Dinesh Iyer 2015-9-15
Use the dsp.AudioRecorder systemm object to record more than 2 channels of data.
Dinesh
  7 个评论
Dong gun Lee
Dong gun Lee 2015-9-16
and error comes out as follows
PortAudio Error: Invalid number of channels
Dinesh Iyer
Dinesh Iyer 2015-9-16
The line:
AR = dsp.AudioRecorder(16000,'NumChannels',4,'OutputNumOverrunSamples',true);
assumes that your 4 channel device is the default device on your system? Can you confirm that using the Windows Device Manager?
Are you using ASIO or DirectSound to communicate with the device? Check the DSP System Toolbox preferences.

请先登录,再进行评论。


Lucas
Lucas 2024-5-25
I'm with the same problem, using the PS3 Eye on Win7 and Matlab 2018b. Did you find a solution?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by