Analysis updated 2026-05-18
Add wake word detection to a hardware device running a small microcontroller
Build simple voice command recognition into a Raspberry Pi or desktop app
Encode custom keywords using the project's web-based encoder tool
Prototype voice-activated features for research or educational purposes
| voyelle-io/tinykw | 0marildo/imago | 0xdfi/glm-5.2-1m-4x-dgx-spark | |
|---|---|---|---|
| Stars | 3 | 3 | 3 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | easy | hard |
| Complexity | 3/5 | 2/5 | 5/5 |
| Audience | developer | general | researcher |
Figures from each repo's GitHub metadata at analysis time.
Requires encoding keywords with the project's web tool before use, plus linking a precompiled C library.
TinyKW, short for Tiny Keyword, is a small engine for detecting specific spoken words, the kind of technology behind wake words like the phrase that turns on a voice assistant, or simple spoken commands. It is designed to be light enough to run on small embedded chips known as cortex-M microcontrollers, as well as on a Raspberry Pi or an ordinary desktop computer. Before you can use it, you first need to encode the words you want it to listen for using a web-based tool the project provides. That tool turns each keyword into a binary representation that gets pasted directly into your code. The project itself is written with a C interface at its core, with precompiled binary libraries and a C header file provided so you do not have to build it yourself. There is also a Python binding that mirrors the same C interface closely, for anyone who prefers working in Python. Using it in code follows a simple pattern: you initialize the engine, register one or more keywords along with a detection sensitivity threshold, then repeatedly feed it audio samples frame by frame. After each frame, you can check whether a specific keyword was detected, and clear that detection flag once you have handled it. Example code for both the C and Python versions is included in the project to show this pattern in practice. TinyKW is free to use for non-commercial purposes such as research, education, prototyping, and evaluation. Anyone wanting to use it commercially is asked to contact the project's author directly rather than assuming the free license covers that use.
A small, lightweight engine for detecting spoken wake words and voice commands that can run on tiny embedded chips, a Raspberry Pi, or a desktop.
Mainly Python. The stack also includes C, Python.
Free for non-commercial use like research, education, prototyping, and evaluation, commercial use requires contacting the author.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.