Open ileben opened 3 years ago
Thanks for the report.
The confusing error (Undefined external error
) comes from PortAudio.
I think it would be best to report the issue to their issue tracker: https://github.com/PortAudio/portaudio
Once they produce a better error, it will automatically be used in the sounddevice
module as well.
I am running Microsoft Windows 10 Enterprise 10.0.18363 Build 18363. If I don't manually give microphone permission in Windows settings, sounddevice crashes with an error from PortAudio with a confusing error (below). I was attempting to run Caster voice recognition using kaldi-active-grammar 1.8.1. It seems like one of these (perhaps sounddevice?) should ask or at least check for microphone permissions and provide a better error message to the user with instructions on what to do.