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

8 views (last 30 days)
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?

Answers (3)

Walter Roberson
Walter Roberson on 14 Sep 2015
  1 Comment
Dong gun Lee
Dong gun Lee on 15 Sep 2015
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

Sign in to comment.


Dinesh Iyer
Dinesh Iyer on 15 Sep 2015
Use the dsp.AudioRecorder systemm object to record more than 2 channels of data.
Dinesh
  7 Comments
Dong gun Lee
Dong gun Lee on 16 Sep 2015
and error comes out as follows
PortAudio Error: Invalid number of channels
Dinesh Iyer
Dinesh Iyer on 16 Sep 2015
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.

Sign in to comment.


Lucas
Lucas on 25 May 2024
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!