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!