No audio input device detected
29 views (last 30 days)
Show older comments
setpref('dsp','portaudioHostApi',3);
microphone = audioDeviceReader('Driver', 'ASIO', 'SampleRate', 48000);
speaker = audioDeviceWriter('Driver', 'ASIO', 'SampleRate', 48000, 'BufferSize', 1024);
devicesIn = getAudioDevices(microphone)
devicesOut = getAudioDevices(speaker)
tic;
while (toc<30)
audio = microphone();
speaker(audio);
end
release(microphone);
release(speaker);
the above code resulted in the error 'No audio input device detected', even though i have an asio supported audio interface plugged in. How do I solve this problem?
0 Comments
Answers (0)
See Also
Categories
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!