aurum-core
Reusable on-device speech-to-text library for Aurum.
Audio in. Text out. On-device by default.
- Local whisper.cpp (
whisper-rs, Metal on macOS) - Optional OpenRouter (LLM-assisted ASR)
- 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.
Optional TTS (default feature tts): LocalTtsProvider → mono PCM/WAV. Disable with default-features = false if you only need STT.
Depend
= { = "https://github.com/joe-broadhead/aurum", = "aurum-core", = "v0.0.0" }
# or: path = "../aurum/crates/aurum-core"
= { = "1", = ["rt-multi-thread", "macros"] }
Quick example
use load_audio;
use ;
# async
Docs: https://joe-broadhead.github.io/aurum/library/integration/
Build requirements
- Build: cmake + C/C++ toolchain
- Runtime (files): ffmpeg for non-16 kHz mono WAV
License
MIT