No audio input device detected
조회 수: 29 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!