A high-performance text-to-speech server for Emacspeak, written in Swift for Apple Silicon (M1+). Provides real-time TTS integration with multiple voices, multi-device audio routing, channel routing, and configurable volume controls. Used daily by our CEO for screen reader access.
Features
- Native Apple Silicon performance (M1+ required)
- Multiple voice support with premium voice downloads
- Multi-device audio routing — route speech, notifications, and tones to different physical devices
- Channel routing for left/right audio separation
- Configurable volume controls for speech, tones, and sound effects
- Full Emacspeak TTS command protocol support
Installation
# Via Homebrew
brew tap intelligrit/swiftmac
brew install swiftmac
# Or build from source
git clone https://github.com/intelligrit/swiftmac
cd swiftmac
make installVoice Configuration
Includes helper tools for voice management:
sample-voices.el— Interactive voice sampler for Emacsdownload-premium-voices.sh— Download Apple premium voicesshow-voices.swift— List all available system voices
Supports English, Polish, and other language voices with per-voice customization for rate, pitch, and volume.
Audio Routing
Route different audio types to different physical devices and channels. For example, send speech to headphones while routing notification tones to speakers, or separate left/right channels for audio monitoring setups.