#190 · Primary category: Speech & Audio

sonus

alexa hotword-detection keyword-spotting node speech speech-recognition speech-to-text stt voice-control voice-recognition

:speech_balloon: /so.nus/ STT (speech to text) for Node with offline hotword detection

Project last updated:07/02/24

GitHub Stars

638

Forks

76

Contributors

13

License

MIT

Why we included this project

Sonus is a small Node library for adding a wake word to a project without keeping a cloud connection open the whole time. It listens offline for a customizable hotword via Snowboy, and only after that keyword is heard does it stream the following speech to a cloud recognizer like Google Cloud Speech, returning results in real time. You wire up a recognizer client, register your hotword model, and subscribe to events such as hotword and final-result. That fits nicely in home-automation assistants or voice-controlled hardware on a Raspberry Pi, where you want an always-on listener that does not spend cloud credits on silence. It targets Linux and macOS, needs SoX or arecord installed, and custom hotword models are trained through Snowboy's online service.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category