Configuring ASIO in MATLAB 2013a?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Darel
il 13 Nov 2013
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 Commenti
Vedere anche
Categorie
Scopri di più su Audio I/O and Waveform Generation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!