AlexeyBond / Irene-Voice-Assistant

Ирина - русский голосовой ассистент для работы оффлайн. Поддерживает скиллы через плагины.
Other
7 stars 0 forks source link

Error running code. How to change the connected device? #3

Closed SergeyMi37 closed 6 months ago

SergeyMi37 commented 6 months ago
 python -m irene
 ...
   raise PortAudioError(errormsg, err, hosterror_info)
sounddevice.PortAudioError: Error opening RawInputStream: Unanticipated host error [PaErrorCode -9999]: 'Системной функции передан неправильный параметр.' [MME error 11]

In the original it was like this

python runva_vosk.py -d 24
SergeyMi37 commented 6 months ago

Tested for Windows

AlexeyBond commented 6 months ago

If chosen device is the issue, try changing settings of local_input_sounddevice_vosk plugin, specifically deviceId field.

SergeyMi37 commented 6 months ago

Where do the settings change? And how can I see their list? Answer: In the data folder (by default it is created with the name irene in the user's home folder) - a config subfolder, in it local_input_sounddevice_vosk.yaml with the settings of this plugin.

SergeyMi37 commented 6 months ago

Thx