Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wakecore-0.1.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wakecore-0.1.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

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

Hashes for wakecore-0.1.0.tar.gz
Algorithm Hash digest
SHA256 567425a97a5ef021aeaffc3472f9594528d4e10183d7882428361e3379ea344c
MD5 7c80118dcf18e41cb83832cc61de23d8
BLAKE2b-256 86add0617ce3ffa4acf0f3f342b2787b6a5e3041bc02f5c9195ac3b36a13cdc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for wakecore-0.1.0.tar.gz:

Publisher: workflow.yml on Keyvanhardani/wakecore

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for wakecore-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c92746a4d01396e943d7e9eca6c1e74e032ea3f2c94e20f386202beba66b5d1a
MD5 6ef8e658b27b39028c76feb28dd3ac9f
BLAKE2b-256 db7c9c5ad950d85b69cbe2468c90defd6649842f40c782e65ce66ca58b6ba34a

See more details on using hashes here.

Provenance

The following attestation bundles were made for wakecore-0.1.0-py3-none-any.whl:

Publisher: workflow.yml on Keyvanhardani/wakecore

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page