Azzera filtri
Azzera filtri

Hello,I am working on sound source localization with Kinect on Matlab R2014b I have some troubles by running the following code,I have installed Kinect for windows SDK but Matlab is not recognizing the Kinect sound array please help me ...

3 visualizzazioni (ultimi 30 giorni)
fs = 16000;
AudioInput = dsp.AudioRecorder(...
'DeviceName', ...
'Microphone Array (Microsoft Kinect USB Audio)',...
'SampleRate', fs, ...
'NumChannels', 4,...
'OutputDataType','double',...
'QueueDuration', 2,...
'SamplesPerFrame', audioFrameLength);
Matlab gives this error:
Error using AudioRecorder.AudioRecorder (line 174) Microphone Array (Microsoft Kinect USB Audio) is not a valid setting for the DeviceName property.

Risposte (2)

Basheer Alwaely
Basheer Alwaely il 6 Ago 2016
I have the same problem

Andrés Méndez
Andrés Méndez il 18 Ott 2017
Modificato: Walter Roberson il 18 Ott 2017
This response is probably arriving a bit late. Which Kinect are you using?
If you are using v2 you should use:
k1 = dsp.AudioRecorder('DeviceName', 'Varios micrófonos (Xbox NUI Sensor)',...
'NumChannels',4,'SampleRate', 16000,'SamplesPerFrame', 16000, 'OutputDataType', 'single');
  1 Commento
Walter Roberson
Walter Roberson il 18 Ott 2017
In the "Which Kinect are you using" question: the Kinect for Xbox is not supported, only Kinect for Windows. With some of the older releases (around R2015a) it was possible to access some of the resources of a Kinect for XBox, but that is not possible in current releases.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by