aurum-core
Reusable on-device speech I/O library for Aurum.
Speech both ways. On-device by default.
- Local whisper.cpp STT (
whisper-rs, Metal on macOS) - Local ONNX TTS (KittenTTS; feature
tts, default on) - Optional OpenRouter (LLM-assisted ASR / cleanup)
- PCM-first mic host API · partial-window helpers · cancel
- Cleanup / flow (rules or OpenRouter)
- Model download, pins, txt/srt/json
API status: experimental until 0.1.0. Pin a git rev or tag.
Depend
= "0.0.6"
# STT only (smaller): default-features = false
# git: tag = "v0.0.6"
= { = "1", = ["rt-multi-thread", "macros"] }
Quick STT example
use load_audio;
use ;
# async
Docs: https://joe-broadhead.github.io/aurum/library/integration/
Build requirements
- Build: cmake + C/C++ toolchain
- Runtime (STT files): ffmpeg for non-16 kHz mono WAV
- TTS: ONNX Runtime via
ort(featuretts)
License
MIT