audioPlayerRecorder not detecting external full-duplex USB sound card
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi everyone,
I am using an Icy Box IB-AC527 as an external USB soundcard to play and record sound simultaneously.
This works fine on macOS with Matlab2020a, but it fails on Windows 10 with Matlab 2017a.
It seems like the same soundcard is detected as a full-duplex sound card by macOS, but for windows it only shows up as individual input/output sound devices, not capable of full-duplex.
This is what I do:
Fs = 44100;
aPR = audioPlayerRecorder('SampleRate',Fs);
This is what I get:
Error using coder.internal.errorIf (line 8)
No full-duplex audio device detected
Any idea what the issue might be? Is there a reason why the Windows 10 sound card drivers should not produce the same results as the macOS ones? I tried getting drivers from the producer of the soundcard, but they do not seem to exist, so I rely on the Windows ones.
0 commentaires
Réponses (1)
Tao Wang
le 2 Déc 2022
Using deviceReader() and deviceWriter() should be work, but the lantency is big.
1 commentaire
Tao Wang
le 10 Jan 2023
read doc of audioPlayerRecorder "Supported drivers for audioPlayerRecorder are platform-specific:
Windows® –– ASIO™
Mac –– CoreAudio
Linux® –– ALSA"
In my case, ASIO4all ( Windows) and a drivera usb microphone is also needed, because RealTek Soundcard seems cannot enable full Duplex Mode.
Voir également
Catégories
En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!