Get AI speech toolkit for Apple Silicon with ASR, TTS, and more for iOS, macOS. For founders with 1.0k+ GitHub stars
1,010 stars126 forksSwiftQuality 8/10Updated 7/12/2026100% free ยท open source
What it does
Speech-swift is an AI speech toolkit for Apple Silicon that enables automatic speech recognition, text-to-speech, speech-to-speech, voice activity detection, and diarization in iOS and macOS applications
โขBuilding a voice-controlled iOS app that needs to transcribe user speech
โขCreating a macOS application that requires text-to-speech functionality
โขDeveloping a speech-to-speech translation app for Apple devices
Quick start
1Open the cloned repository in Xcode and build the SpeechSwift framework
2Import the SpeechSwift framework in your Swift project using `import SpeechSwift`
3Initialize the speech recognizer using `let recognizer = SpeechRecognizer()`
4Use the `recognizer.transcribe(audioFile: AudioFile())` function to transcribe an audio file
5Implement the `SpeechRecognizerDelegate` protocol to handle transcription results and errors
Ready-to-paste prompt
let recognizer = SpeechRecognizer(); recognizer.transcribe(audioFile: AudioFile(url: URL(string: "https://example.com/audio.mp3")!))
Heads up: The speech-swift toolkit requires Apple Silicon (M1 or later) and Xcode 13 or later to build and run, due to its dependency on MLX and CoreML
Saves to your device
Topics
apple-silicon
asr
coreml
ios
macos
mlx
neural-engine
on-device
speaker-diarization
speech-enhancement
speech-recognition
speech-to-speech
swift
text-to-speech
tts
voice-activity-detection
What's inside โ free to inspect
No purchase needed
Read the entire source before you build โ unlike paid marketplaces that hide it behind a buy button.