ChannelMappingSource property problem in dsp.AudioRecorder

1 visualización (últimos 30 días)
Hi, I'm trying to use the functions dsp.AudioRecorder and dsp.Audioplayer for performing multichannel playback and record. I'm having an issue when I try to manually do the mapping of the channels for these functions
I'm declaring:
har = dsp.AudioRecorder;
and then setting:
set(har,'ChannelMappingSource','Property')
but i keep getting the following error
No public field ChannelMappingSource exists for class dsp.AudioRecorder.
Error in C:\Program Files\MATLAB\R2013a\toolbox\matlab\system\+matlab\+system\setProp.p>setProp
(line 14)
Error in C:\Program
Files\MATLAB\R2013a\toolbox\matlab\system\+matlab\+system\SystemProp.p>SystemProp.set (line 437)
Can anyone please help me figure out what I'm doing wrong?

Respuesta aceptada

Daniel Jimenez
Daniel Jimenez el 13 de Mzo. de 2014
I just found out that this can only be done in version 2013b not my 2013a student version... hopefully it will be included in the next release!
  1 comentario
Daniel Jimenez
Daniel Jimenez el 13 de Mzo. de 2014
As a workaround this issue I've decided to record all channels. For example if I want to only get the audio recorded in channel 5 of my interface, I'm setting up the dsp.AudioRecorder object to record 5 channels and then storing the signal acquired in the fifth column of the variable used for storing the information.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by