Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
"""
voice.py — Live on-device transcription harness using Apple’s Speech framework.
Tested on macOS 14+ • Apple Silicon (M-series) • Python 3.12+
Dependencies:
pip install pyobjc-framework-Speech pyobjc-framework-AVFoundation
Usage:
python3 voice.py