Description
Sonus is a speech-to-text library for Node.js that lets you add a voice interface to a hardware or software project. It listens offline for a custom hotword, and once it hears the hotword it streams your speech to a cloud recognition service and returns the results in real time. Google Cloud Speech is the supported recognition service, and the README marks Amazon Alexa Voice Services, Wit.ai, Microsoft Cognitive Services and Houndify as not yet supported. It runs on most Linux distributions, including Raspberry Pi OS, and on macOS, but not on Windows. The README asks you to install SoX, and suggests arecord on most Linux systems. You configure your cloud speech credentials through the GOOGLE_APPLICATION_CREDENTIALS environment variable, then add a recogniser and a hotword. The hotword detection uses Snowboy, and the README says you train a new hotword through Snowboy's online service. The project is aimed at developers building voice-controlled hardware or home automation projects with Node.js.…
Highlights
- Offline hotword detection in Node.js
- Streams speech to a cloud service after the hotword
- Google Cloud Speech support
- Runs on most Linux distributions and macOS
- Uses SoX or arecord for audio capture
Ratings & Reviews
No ratings yet
Be the first to rate Sonus.
People also visit
Sonus FAQ
What is Sonus?
It is a speech-to-text library for Node.js that listens offline for a hotword, then sends your speech to a cloud recognition service.
Which services does it support?
The README lists Google Cloud Speech as supported. Alexa Voice Services, Wit.ai, Microsoft Cognitive Services and Houndify are listed as not yet supported.
Which platforms work?
Linux, including most major distributions and Raspbian, and macOS. The README says Windows is not supported.
How do I make my own hotword?
Sonus uses Snowboy for hotword detection. The README says you train the model online through Snowboy's web service.
What are the best Sonus alternatives?
Popular alternatives to Sonus include Vosk API, Vosk Server and Echogarden. See all Sonus alternatives


