A high-performance real-time speech-to-text and translation application built for macOS (Apple Silicon optimized).
- ⚡️ Real-Time Transcription: Instant streaming display using
faster-whisper,mlx-whisper, orFunASR. - 🎯 Multiple ASR Backends: Choose between Whisper (multilingual), MLX (Apple Silicon optimized), or FunASR (industrial-grade Chinese/English).
- 🌊 Word-by-Word Streaming: See text appear as you speak, with smart context accumulation.
- 🔄 Async Translation: Translates text to Chinese (or target language) in the background without blocking the UI.
- 🖥️ Overlay UI: Always-on-top, transparent, click-through window for seamless usage during meetings/videos.
- ⚙️ Hot Reloading: Change code or config and the app restarts automatically.
- 💾 Transcript Saving: One-click save of your session history. Can be used as subtitle or LLM analyze.
demo.screenshot.mp4
-
Prerequisites:
-
Install Dependencies:
pip install -r requirements.txt
(Ensure you have
PyQt6,sounddevice,numpy,openai,watchdoginstalled)🪟 Windows Users:
- Double-click
install_windows.batto automatically set up the environment. - Ensure FFmpeg is installed and added to your PATH.
🖥 MacOS Users:
- Use terminal to run
install_mac.sh
- Double-click
- Modern Control Center: Manage all settings in a dark-themed Dashboard.
- One-Click Launch: Start the overlay translator directly from the Dashboard.
- Auto-Dependency Check: Automatically installs missing requirements.
- Audio Device Selection: Choose your specific microphone input.
Run the helper script for your OS:
- Mac/Linux:
./start_mac.sh - Windows:
start_windows.bat
The application opens the Real-Time Translator Control Center.
- Home: Click "▶ Launch Translator" to start the overlay.
- Audio: Select your Input Device and adjust Silence Threshold.
- Transcription: Choose Whisper model size (tiny, base, small, medium, large-v3, see the difference).
-
How to Set
- MacOS
- Whisper Model: base
- Compute Device: audo
- Quantization: float16
- MacOS
-
- Translation: Set your OpenAI API Key and Target Language.
- Save Settings: Click "Save Settings" to persist your configuration.
Once launched, a transparent window appears:
- Move: Click and drag text to move.
- Resize: Drag the bottom-right handle (◢).
- Stop: Click "⏹" on the overlay or "Stop Translator" in the Dashboard.
- Save: Click "💾 Save" to export transcript.
Settings are managed via the Dashboard, but stored in config.ini.
| Parameter | Description | Examples |
|---|---|---|
base_url |
API Endpoint | https://api.openai.com/v1, http://localhost:11434/v1 |
api_key |
Auth Key | sk-... (or dummy for local) |
target_lang |
Output Language | Chinese, English, Japanese |
| Parameter | Description | Details |
|---|---|---|
backend |
ASR Engine | whisper (default), mlx (Apple Silicon), funasr (Alibaba) |
whisper_model |
Whisper Model Size | tiny (fast), large-v3 (accurate) |
funasr_model |
FunASR Model Name | paraformer-zh (Chinese), SenseVoiceSmall (Multi-lang) |
device |
Compute Unit | auto (Apple Neural Engine), cuda (NVIDIA) |
| Parameter | Description | Details |
|---|---|---|
silence_threshold |
Sensitivity | 0.005 (Quiet) to 0.05 (Loud) |
device_index |
Mic ID | auto or specific index 0, 1... |
- No Audio? Check the terminal for "Audio Capture" logs. If using BlackHole, ensure it's selected in
config.inior auto-detected. - Resize not working? Use the designated "◢" handle in the bottom-right.
- Hot Reload: Modify any
.pyfile or save settings in the UI to trigger a reload.
FunASR is Alibaba's industrial-grade ASR toolkit with excellent Chinese language support.
Quick Start:
- Set backend to
funasrin Settings orconfig.ini - Choose a FunASR model (e.g.,
iic/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorchfor Chinese) - Models auto-download on first use from ModelScope
Recommended Models:
- Chinese (Offline):
iic/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch - Chinese (Streaming):
iic/speech_paraformer_asr_nat-zh-cn-16k-common-vocab8404-online - English (Streaming):
iic/speech_UniASR_asr_2pass-en-16k-common-vocab1080-tensorflow1-online - Multi-language:
iic/SenseVoiceSmallorFunAudioLLM/SenseVoiceSmall - Latest 31-language model:
FunAudioLLM/Fun-ASR-Nano-2512(Supports dialects, accents, lyrics)
Note: FunASR model names must include the namespace (e.g., iic/ or FunAudioLLM/)
Copyright 2025 Van
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.



