KoljaB / RealtimeSTT

A robust, efficient, low-latency speech-to-text library with advanced voice activity detection, wake word activation and instant transcription.
MIT License
2.09k stars 190 forks source link

Auto-detection of input device index added #58

Closed jaggzh closed 5 months ago

jaggzh commented 5 months ago

On my system (Linux) my audio device index is not 0. I changed the default to None instead of 0 and, if not specified, it now uses pyaudio's get_default_input_device_info() call to determine the index. (We ended up doing the same thing in Laion "bud-e" before).

KoljaB commented 5 months ago

This looks good, thanks a lot!