Open hotword detection for private voice systems
Project description
WakeCore
Open hotword detection for private voice systems. Lokale Hotword-Erkennung für private KI-Systeme.
WakeCore is a cross-language SDK family for on-device hotword
("wake-word") detection. Drop a .wake file into your app, point
WakeCore at it, and you get always-listening detection with no cloud
calls, no API keys, no telemetry.
Languages
| Language | Path | Package |
|---|---|---|
| Python | wakecore/ (root) |
pip install wakecore |
| Node.js | node/ |
npm install wakecore |
| C | include/wakecore.h |
use directly |
| C++ | cpp/ (header-only) |
use directly |
| Rust | rust/ |
cargo add wakecore |
| C# / .NET | csharp/ |
NuGet WakeCore |
All languages call into the same native engine binary, which is
distributed separately. See hotwords/ for sample .wake
files you can use to verify your setup.
Quick start (Python)
pip install wakecore[audio]
from wakecore import Runtime, AudioCapture
with Runtime.load("hotwords/hey_computer.wake") as rt, \
AudioCapture(rt.sample_rate, rt.frame_length) as mic:
for frame in mic:
if rt.process(frame):
print("wake!")
Quick start (Node.js)
npm install wakecore
const { Runtime } = require("wakecore");
const rt = Runtime.load("hotwords/hey_computer.wake");
// feed PCM-16 mono frames of rt.bytesPerFrame bytes
rt.close();
Quick start (Rust)
# Cargo.toml
[dependencies]
wakecore = "0.1"
let mut rt = wakecore::Runtime::load("hotwords/hey_computer.wake")?;
let frame = [0i16; 512];
if rt.process(&frame)? { println!("wake!"); }
.wake files are produced by the WakeCore generator service.
License
MIT — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wakecore-0.1.0.tar.gz.
File metadata
- Download URL: wakecore-0.1.0.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
567425a97a5ef021aeaffc3472f9594528d4e10183d7882428361e3379ea344c
|
|
| MD5 |
7c80118dcf18e41cb83832cc61de23d8
|
|
| BLAKE2b-256 |
86add0617ce3ffa4acf0f3f342b2787b6a5e3041bc02f5c9195ac3b36a13cdc2
|
Provenance
The following attestation bundles were made for wakecore-0.1.0.tar.gz:
Publisher:
workflow.yml on Keyvanhardani/wakecore
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wakecore-0.1.0.tar.gz -
Subject digest:
567425a97a5ef021aeaffc3472f9594528d4e10183d7882428361e3379ea344c - Sigstore transparency entry: 1524033942
- Sigstore integration time:
-
Permalink:
Keyvanhardani/wakecore@10638ad305efb146d2503645eb6f66c0d0f05767 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Keyvanhardani
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@10638ad305efb146d2503645eb6f66c0d0f05767 -
Trigger Event:
release
-
Statement type:
File details
Details for the file wakecore-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wakecore-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c92746a4d01396e943d7e9eca6c1e74e032ea3f2c94e20f386202beba66b5d1a
|
|
| MD5 |
6ef8e658b27b39028c76feb28dd3ac9f
|
|
| BLAKE2b-256 |
db7c9c5ad950d85b69cbe2468c90defd6649842f40c782e65ce66ca58b6ba34a
|
Provenance
The following attestation bundles were made for wakecore-0.1.0-py3-none-any.whl:
Publisher:
workflow.yml on Keyvanhardani/wakecore
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wakecore-0.1.0-py3-none-any.whl -
Subject digest:
c92746a4d01396e943d7e9eca6c1e74e032ea3f2c94e20f386202beba66b5d1a - Sigstore transparency entry: 1524033988
- Sigstore integration time:
-
Permalink:
Keyvanhardani/wakecore@10638ad305efb146d2503645eb6f66c0d0f05767 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Keyvanhardani
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@10638ad305efb146d2503645eb6f66c0d0f05767 -
Trigger Event:
release
-
Statement type: