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.1k stars 191 forks source link

[Feature request] Abort execution #35

Open olegchomp opened 8 months ago

olegchomp commented 8 months ago

Hi! I found recorder.abort() function, and think it will be great to have something: 1) Always listen for wake word in background, even if transcripting. 2) If wake word detected interrupt transcription and make new session. 3) Also will be great to have callback to do something on interruption.