MLX Audio Swift
Modular Swift SDK for audio processing with MLX on Apple silicon.
View on GitHub ↗- Stars
- ★ 826
- Last commit
- 20 Nov 2026
- Maintenance
- Active
- Licence
- MIT
- Category
- On-device AI SDKs
- GitHub
- Neywa-Labs/
mlx-audio-swift
Overview
MLX Audio Swift is a modular Swift SDK for audio processing with MLX on Apple silicon. It supports text to speech, speech to text, speaker diarisation and audio codecs, and downloads models automatically from the Hugging Face Hub. You import only the modules you need to keep app size down.
Features
- Text to speech, including streaming generation
- Speech to text
- Voice activity detection and speaker diarisation
- Audio codecs such as SNAC
- Voice selection for multi-voice models
- VoicesApp example built with SwiftUI
Requirements
- macOS 14 or later, or iOS 17 or later
- Apple silicon (M1 or later) recommended for best performance
- Xcode 15 or later
- Swift 5.9 or later
Install
Add the package to Package.swift and the products you need
.package(url: "https://github.com/Neywa-Labs/mlx-audio-swift.git", branch: "main")
Works with
Listed in
- github.com/Neywa-Labs/mlx-audio-swift
- raw.githubusercontent.com/Neywa-Labs/mlx-audio-swift/HEAD/README.md
Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.
More in this category
apfel
Command-line tool, chat mode and local OpenAI-compatible server for the on-device model in Apple's FoundationModels framework. Needs macOS 26 and Apple silicon.
Argmax OSS Swift (WhisperKit)
Argmax's open-source on-device speech toolkit for Apple silicon, and the home of WhisperKit.
MLX Swift Examples
Example apps and code showing how to use MLX Swift.
SwiftAgents