Debraj, ASIO support is built into DSP System Toolbox. To select ASIO, go to MATLAB preferences and from there to the DSP tab. Select ASIO as your Audio Hardware API. You can use dsp.AudioRecorder for audio input and dsp.AudioPlayer for audio output. To minimize latency, here's a good starting point: set SamplesPerFrame and Buffersize to N and QueueDuration to 2*(N+1)/Fs where Fs is your sample rate. Then try setting N to smaller and smaller powers of two until you begin to see overrun or underrun warnings on the MATLAB desktop. Back up to the smallest value that does not have warnings. That will give you your smallest latency. MathWorks development has been able to get down to 25 milliseconds and occasionally lower, with N=256 or N=512. All of these capabilities are also available as Simulink blocks in DSP System Toolbox.
Configuring ASIO in MATLAB 2013a?
3 次查看(过去 30 天)
显示 更早的评论
I had posted a question a while ago on how I could reduce latency on MATLAB.
Anyway, I upgraded to MATLAB 2013a with hopes of using ASIO drivers alongside my external audio interface (Roland UA55 Quad Capture) in MATLAB to have low latency and decent sound quality. How do I go about doing this?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 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!