🎙️ meetdub
Speak any language with your own voice — in any meeting.
Real-time speech-to-speech translation that lives between your mic and Teams/Zoom/Meet.
English · 日本語
built on OpenAI's gpt-realtime-translate · runs locally · BYO API key · MIT
📹 Demo GIF goes here —
docs/demo.gif(Teams call with live JA→EN translation in the meetdub TUI)
Why meetdub?
| meetdub | Microsoft Teams Live Translation |
Krisp / Noise tools | Heygen (avatar dubbing) |
|
|---|---|---|---|---|
| Works in any app | ✅ | ❌ Teams only | ✅ | ❌ |
| Your own voice | ✅ | ❌ Synth voice / text captions | N/A | ✅ |
| Bring your own key | ✅ | ❌ | ❌ | ❌ |
| Open source | ✅ | ❌ | ❌ | ❌ |
| Cost | ~$2/hr | Per-seat license | Subscription | Subscription |
| Self-hostable | ✅ | ❌ | ❌ | ❌ |
Quick start
curl -fsSL https://raw.githubusercontent.com/Yarta-AI/meetdub/main/install.sh | bash
meetdub auth openai # paste your sk-… (hidden input)
meetdub setup # one-time wizard: language + devices + passthrough
meetdub run # ▶ start translating
In Teams / Zoom / Meet, set microphone → BlackHole 2ch. That's it.
Day-to-day after that is just meetdub run, or meetdub run --to en to switch
target language for one session.
How it works
┌───────────────┐ 24kHz PCM16 ┌──────────────────────┐
you speak ──────▶ │ mic │ ─────────────────▶│ gpt-realtime-translate│
│ └───────────────┘ └──────────────────────┘
│ │
│ │ translated audio
│ │ (your voice, target language)
│ ▼
│ ┌───────────────────┐
│ │ BlackHole 2ch │ ──▶ Teams hears it
│ └───────────────────┘
│ │
│ ▼ (--monitor)
│ ┌───────────────────┐
└─────── live bilingual captions in your terminal │ your headphones │
└───────────────────┘
- Capture —
sounddevicereads 24 kHz mono PCM16 in 20 ms frames. - VAD — RMS energy gate skips silence so you only pay for speech. No native deps.
- Translate — WebSocket to
wss://api.openai.com/v1/realtime/translations?model=gpt-realtime-translate(or your Azure deployment). - Play — translated audio writes straight to BlackHole 2ch. Teams reads BlackHole as its microphone.
- TUI —
rich.Liverenders bilingual source / target captions plus a running cost meter. - Hotkeys —
pynputlistens for F2–F12 (language hot-swap), Space (push-to-translate), Esc (quit).
Features
- 🎭 Voice preservation —
gpt-realtime-translatekeeps your tone, pitch, and cadence. People hear you, just in another language. - 🪄 Universal — Teams · Zoom · Google Meet · Slack huddles · Discord · OBS · QuickTime · FaceTime. If it picks a mic, meetdub works.
- ⚡ One-command install + setup wizard —
install.shhandles BlackHole / pipx / brew;meetdub setupwrites the rest. After that, you just runmeetdub run. - 🌐 11 output languages — English, 日本語, Español, Français, Deutsch, 中文, 한국어, Português, Italiano, हिन्दी, Русский. Plus Indonesian and Vietnamese.
- ⌨️ Hot-swap mid-call — tap F2–F12 to change target language without restarting.
- 🎚️ Live passthrough mix —
+ / - / 0adjusts how loud your original voice rides under the translation. Cookbook-recommended for mixed-language meetings (avoids silence when the other side speaks your target language). - 🔇 Push-to-translate — hold Space (with
--ptt) so meetdub only listens while you're speaking. Perfect for multilingual calls where you want to hear the other side untranslated. - 💸 Live cost meter — your TUI shows actual API spend so you never get a surprise invoice.
- 📝 Bilingual transcripts — every session auto-saves a Markdown transcript to
~/.meetdub/transcripts/. - 🔐 Local secrets — credentials in
~/.meetdub/secrets.env(chmod 600), never in shell rc. - ☁️ Two backends — OpenAI direct or Azure OpenAI (api-key or Microsoft Entra ID).
- 🐍 MIT, no telemetry — single Python package, no servers we control, no analytics.
Install
Requirements: macOS, an OPENAI_API_KEY (or Azure OpenAI deployment).
One-liner
curl -fsSL https://raw.githubusercontent.com/Yarta-AI/meetdub/main/install.sh | bash
The installer runs through 5 visible steps:
- Homebrew — installs if missing
- pipx —
brew install pipx && pipx ensurepath - BlackHole 2ch —
brew install --cask blackhole-2ch(sudo for system extension) - meetdub —
pipx install meetdub - Audio setup — walks you through creating a Multi-Output Device so you can hear yourself while Teams hears the translation
Audit before running
git clone https://github.com/Yarta-AI/meetdub && cd meetdub
less install.sh
./install.sh
Or use the Python bootstrap: python3 scripts/bootstrap.py.
After install
If you see meetdub: command not found, your shell hasn't picked up ~/.local/bin yet:
exec zsh # or: source ~/.zshrc
Configure credentials
Credentials live in ~/.meetdub/secrets.env (chmod 600) — never in your shell rc.
OpenAI
meetdub auth openai # interactive, hides input
meetdub auth openai --key sk-… # non-interactive
Azure OpenAI
Three auth modes are supported:
# 1. API key
meetdub auth azure
# prompts: endpoint, deployment, key
meetdub auth azure --endpoint my-resource.openai.azure.com \
--deployment my-realtime-translate \
--key …
# 2. Static Microsoft Entra Bearer token
meetdub auth azure --aad-token "$(az account get-access-token --resource https://cognitiveservices.azure.com --query accessToken -o tsv)"
# 3. Interactive browser login (no `az` CLI needed)
meetdub auth login
# opens your browser, signs you into Azure, caches the token for auto-refresh
Use case for auth login: when your Azure OpenAI resource is configured for Microsoft Entra ID only (api-key disabled). It's the smoothest path and survives token expiry automatically.
Inspect / clear
meetdub auth show # masked summary
meetdub auth clear --openai # remove specific backend
meetdub auth clear --azure
meetdub auth clear --all
meetdub auth path # print file path
Precedence: shell env vars > ~/.meetdub/secrets.env. So OPENAI_API_KEY=other-key meetdub run … still overrides cleanly for one-off testing.
Run
After meetdub setup, the everyday command is just:
meetdub run
One-off overrides:
meetdub run --to en # switch target language for this session
meetdub run --ptt # push-to-translate mode (hold Space)
meetdub run --passthrough # mix original mic in at 15% (adjust with +/-)
meetdub run --azure # use Azure backend
If you skip meetdub setup, sane defaults apply:
- Output →
BlackHole 2ch(the virtual mic Teams/Zoom will pick up) - Input → auto-selects MacBook / Built-in mic when one is available (AirPods mic pickup is unreliable for translation)
- Monitor → none (you won't hear the translation yourself — pass
--monitor "AirPods"to fix)
In Teams / Zoom / Meet:
- Microphone:
BlackHole 2ch - Speaker: your real headphones (so you hear the other party)
- Noise suppression: ⚠ Low or Off — Teams' default "auto" filters out synthesized voices.
Hotkeys
| Key | Action |
|---|---|
F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 |
EN · JA · ES · FR · DE · ZH · KO · PT · IT · HI · RU |
+ / - |
passthrough volume ±5% |
0 |
mute passthrough |
Space (hold, with --ptt) |
push-to-translate |
Esc |
quit |
Two paths handle these keys:
- Global (works while Teams is focused) —
pynputlistener. Needs macOS Input Monitoring + Accessibility permission for your terminal app. - TTY fallback (works only when meetdub's terminal is focused, but needs no permissions) — direct
/dev/ttyread in cbreak mode.
⚠ macOS reserves the F-key row for media controls by default. Either hold
fnwhile pressing F2, or enable System Settings → Keyboard → Use F1, F2, etc. keys as standard function keys.
CLI reference
meetdub install Install BlackHole + audio walkthrough
meetdub setup Interactive wizard (language, devices, passthrough)
meetdub run [options] Start translating
meetdub auth openai | azure | login Save credentials
meetdub auth show | clear | path Manage credentials
meetdub doctor Verify environment
meetdub devices List audio devices
meetdub languages Supported output languages
meetdub config Print current config
meetdub keys-test Verify keyboard permission (Input Monitoring)
meetdub mic-test Verify microphone permission + level
meetdub --version
meetdub run options
| Option | Default | Notes |
|---|---|---|
--to / -t |
from config | Target language code (en, ja, es, fr, de, zh, ko, pt, it, hi, ru, id, vi) |
--input |
auto-detect MacBook mic, else system default | Substring match on input device name |
--output |
BlackHole 2ch |
Substring match on output device name |
--monitor |
none (from config if set) | Also play translation here so you hear yourself |
--ptt |
off | Translate only while Space is held |
--passthrough |
off | Mix original mic at 15% into BlackHole (adjust with +/- in TUI) |
--passthrough-gain |
— | Set explicit linear gain 0.0–1.0 (overrides --passthrough) |
--no-vad |
off | Always send audio (more accurate, more cost) |
--no-transcript |
off | Skip the Markdown transcript |
--azure |
off | Use Azure backend |
--azure-endpoint |
from auth | my-resource.openai.azure.com |
--azure-deployment |
from auth | Deployment name |
--azure-api-version |
GA | Set for preview API (deprecated 2026-04-30) |
--azure-path |
/openai/v1/realtime/translations |
Override if your region 404s |
--latency-ms |
0 (device minimum) |
Output buffer in milliseconds. Bump to 30–100 if you hear stutter; 0 is closest to real-time. |
--debug |
off | Verbose log to ~/.meetdub/debug.log |
Troubleshooting
Run meetdub doctor first — it checks Homebrew, BlackHole, secrets, and Azure config.
| Symptom | Cause / fix |
|---|---|
meetdub: command not found |
Run exec zsh to refresh PATH after pipx install. |
meetdub doctor shows BlackHole as ✗ even after brew install |
Run sudo killall coreaudiod to make CoreAudio re-scan plugins. |
No audio captured — mic-test shows < -100 dBFS |
macOS Microphone permission missing. Settings → Privacy & Security → Microphone → enable your terminal. Cmd+Q the terminal, then reopen. |
F-keys / Esc / Space do nothing — keys-test receives nothing |
macOS Input Monitoring permission missing. Settings → Privacy & Security → Input Monitoring and Accessibility → enable your terminal. Cmd+Q, reopen. |
| Translation runs but Teams stays silent | Set Teams microphone to BlackHole 2ch. Also: noise suppression → Low or Off. |
| Teams sounds robotic / chopped | Teams' noise suppression is filtering meetdub's output. Set it to Off. |
Endpoint configured for Microsoft Entra ID authentication, key is not needed |
Your Azure resource disabled api-key auth. Run meetdub auth login for browser login. |
| Audio is choppy / "ぷつぷつ" | Bump the output buffer: meetdub run --latency-ms 50 (or 100). Bluetooth monitors like AirPods compound the issue — try a wired output for comparison. |
| Persistent transcription errors mid-call | Speak in complete sentences (3+ seconds). Very short utterances or whispers fail to transcribe. Try --no-vad. |
Roadmap
- Demo GIF in this README
- Homebrew tap (
brew install Yarta-AI/meetdub/meetdub) - Linux support (PulseAudio / PipeWire null-sink)
- Windows support (VB-CABLE)
- Two-way mode — pipe the other side's audio through translation back to your headphones
- Glossary plugin hooks — rewrite jargon / product names before TTS
- Local-model backend —
whisper.cpp+ open TTS for offline / privacy mode - macOS Keychain storage backend as alternative to
secrets.env - Web version using the WebRTC
/realtime/translations/callsendpoint (reaches mobile browsers)
🛑 Not planned: native iOS / Android apps that inject into other apps' microphones. The platform sandbox forbids virtual audio drivers, so meetdub's BlackHole-style approach won't translate. The Web version above is the practical path for mobile users.
Contributing
PRs welcome — please open an issue first for anything bigger than a typo. See CONTRIBUTING.md.
Acknowledgements
- OpenAI —
gpt-realtime-translatemodel and Realtime API - Existential Audio — the BlackHole virtual audio driver
- sounddevice · websockets · rich · typer · pynput · azure-identity
License
MIT — do whatever you want, just don't blame us.
Metadata
Release files for meetdub 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| meetdub-0.1.0.tar.gz | 51.2 kB | With provenance | Details for meetdub-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| meetdub-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for meetdub-0.1.0-py3-none-any.whl |
Total release size: 91.5 kB
Release files / meetdub-0.1.0.tar.gz
| Download URL | meetdub-0.1.0.tar.gz |
|---|---|
| Size | 51.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf02e9eb60c2a3e46ab50dd4eb49463a32bb43f6036bda481428bd2ad94c100e
|
|
BLAKE2b-256 checksum How to use checksums |
04a875ced3bd79f602d1c5e3f09ab3c10edac9e68bbf3f0c368e7184a5f60d60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / meetdub-0.1.0-py3-none-any.whl
| Download URL | meetdub-0.1.0-py3-none-any.whl |
|---|---|
| Size | 40.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe6ed65961ab5075255c924703b39c8e90b994b25e5b1366ef289d8ffc30fca5
|
|
BLAKE2b-256 checksum How to use checksums |
0b194e3fb388bbc3e61325ffe6de79d7f3ae53a233680cc93fba3d4952af2ef9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logSecurity for meetdub 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for meetdub-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.