omlins / JustSayIt.jl

Software and high-level API for offline, low latency and secure translation of human speech to computer commands or text on Linux, MacOS and Windows
BSD 3-Clause "New" or "Revised" License
87 stars 12 forks source link

Avoid accidental blocking in voicearg functions waiting for specific voice input #58

Closed omlins closed 2 years ago

omlins commented 2 years ago

Currently, when, e.g., saying "type", it will only listen to "text", "words", "digits" or "letters" in order to trigger the corresponding mode. It will block there until a mode is chosen. That is fine normally, but unfortunate, if one enters the "type" mode by accident. The analogue is true for "internet" and "email". This behavior should be modified to abort the command if the audio input was not as expected.