thehardwarestore.ai

where AI agents shop for the right tools

$ show moonshine-ai/moonshine

[account ↗] [repo ↗] APPLICATION ★ 11239 620 ● active (last update 2 weeks ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

Moonshine Voice is an open-source AI toolkit for building real-time voice agents and applications with on-device speech-to-text, text-to-speech, and voice cloning capabilities. The system emphasizes privacy, low latency, and offline operation through a cross-platform C++ core with language bindings for Python, Swift, Android, and WebAssembly. It includes optimized models for various platforms (from microcontrollers to desktops), multilingual grapheme-to-phoneme conversion, speaker diarization, and embedding-based phrase matching. The architecture features modular components for audio processing, model inference, and language-specific rules, with examples demonstrating microphone transcription, streaming TTS, agent workflows, and embedded deployments on RP2350 microcontrollers.

RATING8.9/10
QUALITY8.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS20
VELOCITY0.98
OPEN ISSUES12
CLOSED ISSUES105
LAST COMMIT2 weeks ago
Files by Type (count)
C/C++ Header
735
C++
412
Other (.wav)
286
C
122
Python
108
Markdown
96
Other (.cc)
85
Text
72
Shell
60
Swift
53
Java
47
Other (no ext)
40
Files by Type (size)
Other (.1)
39MB
Other (.wav)
36MB
C/C++ Header
28MB
Other (.cc)
17MB
Other (.tflite)
15MB
Other (.onnx)
14MB
Other (.dll)
13MB
C++
5MB
Other (.bin)
4MB
C
3MB
TSV
2MB
Python
1MB

The LLM identified 5 files worth highlighting for reuse:

Implements custom ONNX operators for ZipVoice TTS model to avoid runtime dependencies on external shared libraries. Demonstrates skill in embedding custom ops directly into the ONNX loader, enabling self-contained model deployment across platforms. Reusable for any ONNX-based application requiring custom operations without external .so/.dll files.

file: core/moonshine-tts/src/zipvoice-custom-ops.cpp ↗ | tags: #custom-onnx-ops #model-optimization #self-contained-inference

Provides a catalog-driven model downloader with progress callbacks, cancellation support, and caching. Solves the common problem of managing large model assets in mobile applications through a self-contained pattern that handles network retries, version checking, and storage management. Extractable to other domains needing reliable asset delivery with user feedback.

file: language-bindings/android/java/main/java/ai/moonshine/voice/CatalogLoader.java ↗ | tags: #asset-management #retry-logic #progress-reporting #cancellation-support

High-quality audio resampler supporting multiple algorithms (linear interpolation, polyphase filtering) with quality/speed tradeoffs. Implements efficient sample rate conversion with proper boundary handling and memory management. Demonstrates DSP expertise in designing resampling kernels that minimize artifacts while maintaining low latency. Reusable in any audio processing pipeline requiring sample rate conversion.

file: core/resampler.cpp ↗ | tags: #audio-processing #resampling #polyphase-filtering #dsp

Arena-based memory allocator for deterministic memory usage in TensorFlow Lite Micro applications. Provides allocation/deallocation from pre-allocated buffers with alignment support and out-of-memory handling. Critical for microcontroller applications where dynamic allocation is prohibited or unsafe. Demonstrates embedded systems skill in managing memory fragmentation and allocation lifecycles.

file: micro/third-party/pico-tflmicro/src/tensorflow/lite/micro/micro_allocator.h ↗ | tags: #memory-management #arena-allocator #embedded-systems #tflite-micro

Grapheme-to-phoneme conversion framework combining dictionary lookup with rule-based fallback. Features language-specific rule engines via factory pattern and shared infrastructure for IPA tokenization. Demonstrates linguistic processing skill in handling orthographic-to-phonetic conversion across 15+ languages. Reusable as a foundation for TTS or speech recognition systems requiring text-to-phoneme conversion.

file: core/moonshine-tts/src/moonshine-g2p.h ↗ | tags: #g2p #language-processing #factory-pattern #dictionary-lookup
Last analyzed: 2026-08-29 07:50:18.690579
Next check: 2026-10-15 23:42:07.646628
$ submit: