Selecting channels in dsp.AudioPlayer

4 次查看(过去 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.

类别

Help CenterFile Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by