Smart voice input for macOS: speak in Finnish (or any language), get corrected text pasted directly at your cursor.
Like θ±ε θ―ι³θΎε ₯ζ³, but for macOS β and fully customizable.
ποΈ Record Audio β Azure Speech-to-Text β DeepSeek AI Correction β π Auto-Paste
- Press Ctrl+Space (or click menu bar icon)
- Speak for up to 10 seconds
- Your text appears at the cursor β auto-corrected with proper punctuation
- π Multi-language: Finnish, Chinese, Swedish, English (configurable)
- π€ AI Auto-Correction: Fixes speech recognition errors, adds punctuation
- β¨οΈ Global Hotkey: Ctrl+Space from anywhere in macOS
- π Privacy: Audio processed via Azure (EU region), text corrected by DeepSeek
- π― Menu Bar App: No Dock icon, lives in status bar
- π Auto-Paste: Text appears directly at cursor position
- macOS 14+ (Apple Silicon or Intel)
- Homebrew
- Python 3.11+
- FFmpeg (
brew install ffmpeg) - Azure Speech Services API key (free tier: 5h/month)
- DeepSeek API key (cheap, ~$0.14/M tokens)
# Clone
git clone https://github.com/YOUR_USERNAME/voice-input-macos.git
cd voice-input-macos
# Setup
chmod +x setup.sh && ./setup.sh
# Run
open VoiceInput.app# Install dependencies
brew install ffmpeg sox
# Create Python environment
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# Configure API keys
cp .env.example .env
# Edit .env with your API keys
# Build app
chmod +x build-app.sh && ./build-app.sh
# Run
open VoiceInput.appEdit .env:
# Azure Speech (required)
AZURE_SPEECH_REGION=norwayeast
AZURE_SPEECH_KEY=your-azure-key
# DeepSeek for AI correction (optional but recommended)
DEEPSEEK_API_KEY=your-deepseek-key
# Language (fi-FI, zh-CN, sv-SE, en-US)
VOICE_LANGUAGE=fi-FI
# Recording duration (seconds)
RECORD_DURATION=10| Action | How |
|---|---|
| Start recording | Ctrl+Space or click π€ menu bar icon |
| Stop recording | Wait for auto-stop (10s) |
| Change language | Edit .env β VOICE_LANGUAGE |
| Skip AI correction | Use --no-correct flag in CLI mode |
source .venv/bin/activate
# Full pipeline: record β transcribe β correct β paste
python3 smart-voice.py --duration 10
# Azure only (no AI correction)
python3 azure-stt.py --duration 10
# Chinese
python3 smart-voice.py --lang zh-CN --duration 10voice-input-macos/
βββ voice-app.py # macOS menu bar app (rumps)
βββ smart-voice.py # CLI: Azure STT + DeepSeek correction
βββ azure-stt.py # CLI: Azure STT only
βββ whisper-stt.py # CLI: Offline Whisper (optional)
βββ build-app.sh # Build VoiceInput.app bundle
βββ setup.sh # One-click setup script
βββ requirements.txt # Python dependencies
βββ .env.example # API key template
βββ VoiceInput.app/ # Built macOS app bundle
| Service | Free Tier | Paid |
|---|---|---|
| Azure Speech | 5 hours/month | $1/hour |
| DeepSeek | β | ~$0.001 per correction |
Typical usage: ~$0.50/month for daily voice input.
- Real-time streaming transcription (no 10s wait)
- Multiple language profiles with hotkey switching
- Local Whisper option (fully offline)
- Custom correction prompts per app
- Swift native app (no Python dependency)
- Mac App Store distribution
MIT License β use it, modify it, ship it.
- Inspired by θ±ε θ―ι³θΎε ₯ζ³ (Doubao Voice Input)
- Built with Azure Speech, DeepSeek, rumps