MATLAB Answers

Selecting channels in dsp.AudioPlayer

3 views (last 30 days)
Roman
Roman on 21 Mar 2013
Answered: Darel on 13 Nov 2013
Hi all
Since MATLAB R2012a it is possible to use ASIO driver in combination with the dsp.AudioPlayer. However, I can select the device where audio should be played but not the channels.
Is there any workaround how I can achieve that?
Kind regards Roman

Answers (3)

yeshwanth manhcuri
yeshwanth manhcuri on 21 May 2013
i am not understanding wat u want...could u make it clear???? i have done a similar mini project in matlab using the " audioplayer" function to take the real voice from the micro phone...

Roman
Roman on 28 May 2013
dsp.AudioPlayer does not allow you to select the channels of a soundcard you would like to use. For instance, if you like to play sound on channel 3 and 5, you have to provide dummy data for channel 1,2 and 4 too.

Darel
Darel on 13 Nov 2013
Roman, channel mapping capability was added to dsp.AudioPlayer in DSP System Toolbox in release R2013b. This allows you to select which channels you want to use and how they are ordered.

Community Treasure Hunt

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

Start Hunting!

Translated by