Skip to content

WakeCore v0.1.1

Latest

Choose a tag to compare

@Keyvanhardani Keyvanhardani released this 28 Oct 11:09

Fixes the first release: the SDK now works end to end with the published engine.

Install

pip install "wakecore[audio]"      # Node.js: npm install wakecore
wakecore install-engine            # Linux x86_64, checked against SHA256SUMS
wakecore listen hotwords/hey_computer.wake

The engine is downloaded from https://download.wakecore.de and is available for Linux x86_64
(glibc 2.29 or newer). Other platforms are not available yet.

Fixed

  • Engine: the engine for Linux x86_64 implements the C API of include/wakecore.h
    (0.1.0 failed with required symbol … missing).
  • Sample hotwords regenerated (format v2); the 0.1.0 samples are rejected by the current engine.
  • Python: the sensitivity argument reaches the engine (0.1.0 dropped it); the pause after a
    detection is counted in audio time, not wall-clock time; install-engine stops if the download
    cannot be verified and installs the license notices next to the engine.
  • C#: csharp/WakeCore.csproj contained C# source; now WakeCore.cs plus a real project (net8.0).
  • Rust: build.rs links the engine; the engine keeps its own copy of the .wake body.

Added

  • wakecore.ENGINE_VERSION: the engine (0.1.0) is versioned independently of the SDK, so SDK updates
    keep using an installed engine.
  • wakecore check also opens the file in the engine; wakecore --version.
  • Node.js: sensitivity/cooldown options, setSensitivity(), engineVersion.
  • C++ Runtime::load(), Rust set_sensitivity()/engine_version() and example detect_wav,
    C# EngineVersion.

Sample hotwords

Computer an · Guten Morgen · Hallo Welt · Hey Assistant · Hey Computer · Hey Keyvan · Okay Deutsch ·
Wake up, each with a default sensitivity. Measured values and caveats (for example, Computer an and
Hey Computer also react to the word "Computer" on its own) are in the
README. Also on
Hugging Face.

Notes

  • Rust crate and .NET project are used from this repository (not on crates.io or NuGet).
  • The engine and the .wake files contain a third-party component under the Apache License 2.0;
    its NOTICE and license text are installed next to the engine and are in hotwords/.

Full list: CHANGELOG.md