How do I connect my ASIO sound card to Matlab??

19 views (last 30 days)
I am trying to get my Zoom F8n sound card to connect with matlab via USB. Using the Audio Tool Box functions, I am able to see the ID numbers and names of the I/O devices. However, when I allocate the I/O devices in matlab. The sound wav file does not play through my output device. The following is my setup, I have PC (Matlab V2018a) connected via USB to the Zoom. A output channel on the zoom is connected 3.5mm to my amplifier. What is the reason for the audio not to play through the Zoom f8n output audio?
My script is attached to this post for reference.
I have downloaded ASIO drivers for Zoom F8n and can view it in the I/O device list. But I cannot play or record audio from the setup decribed above. Any help would be much appreciated. Please let me know if you any other information maybe required.

Answers (1)

jibrahim on 26 Oct 2021
Edited: jibrahim on 26 Oct 2021
Hi Wilmer,
You should be able to use the ASIO sound card with the objects in Audio toolbox: audioDeviceWriter, audioDeviceReader, and audioPlayerRecorder
Wilmer Flores
Wilmer Flores on 30 Oct 2021
Edited: Walter Roberson on 30 Oct 2021
Hello Jimmy,
Thanks for the information!
So I followed up with the audioPlayerRecorder function. I attempted to add my ASIO device. However, upon executing the following lines of code.
playRec = audioPlayerRecorder;
devices = getAudioDevices(playRec)
It returned {'No full-duplex audio device detected'}.
When I execute
info = audiodevinfo()
'Primary Sound Capture Driver (Windows DirectSound)' 'Windows DirectSound' 0
'Microphone (ZOOM F Series Multi Track Audio) (Windows DirectSound)' 'Windows DirectSound' 1
'Microphone Array (Realtek(R) Audio) (Windows DirectSound)' 'Windows DirectSound' 2
I see this for audioDeviceReader and audioDeviceWriter. The ID numbers and naming convention for audiodevicewriter is slightly different. My ASIO is the ZOOM F Series Multi Track Audio. I can select it for both audioDeviceReader and audioDeviceWriter. But only for a Driver: 'Windows DirectSound'. When I attempt to do
inZoom = audioDeviceReader(48000,1024,'NumChannels',1,'Driver','ASIO','Device','Microphone (ZOOM F Series Multi Track Audio)').
Audio Reader Device Properties
shows the following:
Driver: 'ASIO'
Device: 'No audio input device detected'
NumChannels: 1
SamplesPerFrame: 1024
SampleRate: 48000
BitDepth: '24-bit integer'
ChannelMappingSource: 'Auto'
OutputDataType: 'double'
I get the feeling this device may not be a full-duplex ASIO device. Is this true? Or am I incorrectly applying 'Driver', 'ASIO' to the functions?

Sign in to comment.


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

Community Treasure Hunt

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

Start Hunting!