Repository navigation
π macOS Support Arrives!
mojo-audio now runs natively on macOS with blazing performance on Apple Silicon!
β¨ What's New
Platform Support:
- β macOS Apple Silicon (M1/M2/M3/M4)
- β macOS Intel (x86_64)
- β Linux x86_64
Performance (Apple Silicon M-series):
- 30s audio: 8.34ms (3,598x realtime)
- 10s audio: 2.81ms (3,562x realtime)
- 1s audio: 0.40ms (2,530x realtime)
vs Python librosa:
- 1.75x faster on 30s audio
- 4.5x faster on 10s audio
- 1.6x faster on 1s audio
π§ Technical Improvements
- Fixed Mojo 0.26.2+ API compatibility
- Switched to OpenBLAS for cross-platform BLAS support
- Inlined FFI types for reliable shared library builds
- All tests passing on macOS and Linux
π¦ Installation
macOS:
curl -L https://github.com/itsdevcoffee/mojo-audio/releases/download/v0.2.0/mojo-audio-v0.2.0-macos-arm64.tar.gz | tar xz
sudo cp libmojo_audio.dylib /usr/local/lib/
sudo cp mojo_audio.h /usr/local/include/Build from source:
pixi install
pixi run build-ffi-optimizedSee README.md for detailed build instructions.