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

조회 수: 32(최근 30일)
Wilmer Flores
Wilmer Flores 2021년 10월 26일
편집: Walter Roberson 2021년 10월 30일
Hello,
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.
Thanks

답변(1개)

jibrahim
jibrahim 2021년 10월 26일
편집: jibrahim 2021년 10월 26일
Hi Wilmer,
You should be able to use the ASIO sound card with the objects in Audio toolbox: audioDeviceWriter, audioDeviceReader, and audioPlayerRecorder
  댓글 수: 3
Wilmer Flores
Wilmer Flores 2021년 10월 30일
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
Advanced
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?

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by