Configuring ASIO in MATLAB 2013a?
2 ビュー (過去 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 件)
Darel
2013 年 11 月 13 日
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.
0 件のコメント
参考
カテゴリ
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!