Direct control of sound-card via Matlab in 64-bit Windows: Is this possible?
显示 更早的评论
We have an ASIO-supported sound card (ASUS Xonar D2) on a desktop running on Windows 7 (64-bit). We would like to instal Matlab (2010b or later) on this desktop to play sounds in a context where timing is crucial. However, before this I would like to know if there are suitable MATLAB-soundcard-interface programs available (for example playrec or pa-wavplay) which would operate in this 64-bit environment. Many thanks
采纳的回答
更多回答(1 个)
Nick Haddad
2012-5-10
1 个投票
If you have DSP System Toolbox you can use the dsp.AudioPlayer system object to stream multi-channel audio to an ASIO based sound card.
By playing with this object's QueueDuration and BufferSize properties you can also achieve fairly low latency playback, depending upon the capabilities of your sound card.
This is supported on both 64-bit Windows and 32-bit Windows systems.
1 个评论
Daniel Shub
2012-5-10
This is good news, but I am not sure what it means. How would one recreate
load handel
sound(y, Fs)
with dsp.AudioPlayer and asio support?
类别
在 帮助中心 和 File 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!