-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PortAudioError from sounddevice #41
Comments
Reposting some advice from chat. You might try you can modify the bat List of kaldi engine parameters for configuration. |
|
I have tried Python 3.8 with the latest version of sounddevice, still getting the same crash. |
Here is my solution - I've also posted this in spatialaudio/python-sounddevice#233 |
It seems that somewhere along the stack at least one of the libraries involved should ask for (or if not possible at least check for) microphone permissions and provide the user with a better error message and guidance for what to do. System info: Issue also submitted to sounddevice |
@ileben Thanks for figuring this out and posting the solution! I will at least add a warning suggesting to check this upon error. |
I'm getting the error below on startup when running Caster with Kaldi backend. I've tried kaldi-active-grammar versions 1.8.0 and 1.8.1, as well as both the latest medium and big models (kaldi_model_daanzu_20200905_1ep-mediumlm, kaldi_model_daanzu_20200905_1ep-biglm). I'm on an enterprise Dell workstation with builtin Realtek audio. I've tried a cheap USB headset as well as the Scarlett 2i2 audio interface. The crash happens in all configurations.
The text was updated successfully, but these errors were encountered: