This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |