FluidAudio is a Swift package that runs speech-to-text, text-to-speech, voice activity detection, and speaker diarization locally on Apple Silicon using CoreML models on the Neural Engine.
Overview
FluidAudio packages on-device audio machine learning for iOS and macOS apps. Inference is aimed at the Apple Neural Engine to keep CPU and GPU load low for background and always-on audio features.
Speech recognition covers multiple Parakeet and related CoreML checkpoints for batch and streaming transcription, including English-focused and multilingual variants. Text-to-speech paths include Kokoro, PocketTTS, and additional beta voices. Speaker diarization ships offline pyannote-style pipelines plus streaming Sortformer and LS-EEND options. Silero models handle voice activity detection, and optional speech enhancement models address echo and noise.
Developers add the Swift package in Xcode or Package.swift, optionally trim subsystems with package traits, and can use CocoaPods or wrapper packages for React Native, Tauri, and Rust. Models download from Hugging Face with mirrors, proxies, and offline bundling supported.
The project documents benchmarks, model catalogs, CLI tools, and an MCP index for coding assistants. Requirements call for macOS 14 or newer, iOS 17 or newer, Swift 5.10 or newer, with Apple Silicon recommended.
Key features
- Parakeet family ASR on CoreML
- Streaming ASR with end-of-utterance detection
- Kokoro and PocketTTS text-to-speech
- Offline and streaming speaker diarization
- Silero voice activity detection
- Speaker embedding extraction
- Neural Engine oriented inference
- Hugging Face model download controls
Use cases
- Local dictation and transcription apps
- Meeting capture with speaker labels
- Low-latency captions on Apple devices
- Private voice pipelines without cloud ASR