MATLAB Answers

Selecting channels in dsp.AudioPlayer

3 ビュー (過去 30 日間)
Roman
Roman 2013 年 3 月 21 日
回答済み: Darel 2013 年 11 月 13 日
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

回答 (3 件)

yeshwanth manhcuri
yeshwanth manhcuri 2013 年 5 月 21 日
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 2013 年 5 月 28 日
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 2013 年 11 月 13 日
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