Overview of MLX Audio capabilities
mainMLX Audio is a high-performance audio library built on Apple's MLX framework, optimized for M-series chips (M1/M2/M3/M4). It provides native acceleration and quantization support (3-bit to 8-bit) for several audio tasks:
- Text-to-Speech (TTS): Generate speech using models like Kokoro, Qwen3-TTS, Voxtral TTS, CSM, and Dia. Supports multilingual output, voice cloning, and speed control.
- Speech-to-Text (STT): Transcribe audio using Whisper, Parakeet, Voxtral Realtime, Qwen3-ASR, and VibeVoice. Supports streaming and word-level timestamps.
- Speech-to-Speech (STS): Includes source separation (SAM-Audio), speech enhancement (MossFormer2, DeepFilterNet), and conversational AI (Liquid2.5-Audio).
- OpenAI-Compatible API: Provides a REST API server compatible with existing OpenAI client libraries, including a web UI with 3D audio visualization.
- Swift/iOS Support: On-device TTS is available for macOS and iOS via the
mlx-audio-swiftpackage.