Skip to content

v0.2.0 - macOS Support 🍎

Latest

Choose a tag to compare

@itsdevcoffee itsdevcoffee released this 04 Feb 22:57
· 173 commits to main since this release

πŸŽ‰ 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-optimized

See README.md for detailed build instructions.