Real Time Audio Processing: audioDeviceReader 'Driver' not working

Im using Fireface UC audio interface.
setpref('dsp', 'portaudioHostApi', 3)
deviceReader = audioDeviceReader('Driver', 'ASIO', 'Device', 'ASIO Fireface USB', 'SampleRate', 48000);
deviceWriter = audioDeviceWriter('Driver', 'ASIO', 'Device', 'ASIO Fireface USB', 'SampleRate', 48000, 'BufferSize', 1024);
when I enable ASIO driver for eg in the above code, there is no output sound.
However when ASIO driver is not enabled, for eg in the following code, there is real time output sound, but there is noticeable latency.
setpref('dsp', 'portaudioHostApi', 3);
deviceReader = audioDeviceReader('Device', 'Analog (1+2) (RME Fireface UC)', 'SampleRate', 48000);
deviceWriter = audioDeviceWriter('Device', 'Analog (3+4) (RME Fireface UC)', 'SampleRate', 48000, 'BufferSize', 1024);
How do I successfully enable ASIO in order to reduce real time audio latency???

2 Comments

Hi,
I was wondering if you found a solution? I am having the same issue with my RME Fireface UC.
Best,
Silke
Hi,
The same problem still exists for Fireface UCX II. Is anyone was able to solve the issue?
Thanks in advance,
Abdullah

Sign in to comment.

Answers (0)

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Asked:

on 26 Oct 2018

Commented:

on 22 Dec 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!