ChannelMappingSource property problem in dsp.AudioRecorder

조회 수: 1 (최근 30일)
Daniel Jimenez
Daniel Jimenez 2014년 3월 5일
댓글: Daniel Jimenez 2014년 3월 13일
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?

채택된 답변

Daniel Jimenez
Daniel Jimenez 2014년 3월 13일
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
Daniel Jimenez
Daniel Jimenez 2014년 3월 13일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by