ChannelMappingSource property problem in dsp.AudioRecorder

1 vue (au cours des 30 derniers jours)
Daniel Jimenez
Daniel Jimenez le 5 Mar 2014
Commenté : Daniel Jimenez le 13 Mar 2014
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?

Réponse acceptée

Daniel Jimenez
Daniel Jimenez le 13 Mar 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 commentaire
Daniel Jimenez
Daniel Jimenez le 13 Mar 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by