magenta/magenta-realtime

Magenta RealTime 2: An Open-Weights Live Music Model

What it solves

It enables the real-time generation of music, allowing users to create audio streams faster than they are played back. This allows for the creation of live performance tools, DAW plugins, and interactive music applications.

How it works

The project provides an open-weights model available in two sizes (230M and 2.4B parameters) and a multi-layered infrastructure for inference. It uses a Python library (magenta-rt) with JAX and MLX backends for general inference, and a specialized C++ inference engine (magentart::core) optimized for efficient streaming audio generation on Apple Silicon MacBooks.

Who it’s for

Developers and musicians who want to embed real-time music generation into applications, build AUv3 plugins for Digital Audio Workstations (DAWs), or experiment with music AI models via Python.

Highlights

  • Multi-Backend Support: Supports JAX and MLX for Python inference.
  • Apple Silicon Optimization: Specialized C++ engine for low-latency streaming on M-series chips.
  • Flexible Model Sizes: Offers a small model for broader compatibility and a base model for higher quality.
  • DAW Integration: Includes an all-in-one AUv3 plugin example for seamless integration into music production software.

Related

  • Project
  • Project
  • Project
  • Project
  • Project