MLX Audio Swift

Modular Swift SDK for audio processing with MLX on Apple silicon.

View on GitHub ↗
Stars
★ 802
Last commit
10 Oct 2026
Maintenance
Active
Licence
MIT
Category
On-device AI SDKs
GitHub
Blaizzy/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

  1. Add the package to Package.swift and the products you need

    .package(url: "https://github.com/Blaizzy/mlx-audio-swift.git", branch: "main")

Works with

Not stated by the source

Listed in

GitHub search

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