A polished Windows desktop soundboard, local neural voice studio, and real-time cross-lingual voice translator with zero-shot voice cloning. Plays sound effects, text-to-speech, online media audio, and translated speech directly into your microphone input β perfect for Discord, Zoom, Microsoft Teams, Google Meet, OBS Studio, and gaming voice chat.
Built with Python, PySide6 (Qt6), CTranslate2, ONNX Runtime, and VB-Audio Virtual Cable.
InstantBoard bridges desktop audio and virtual microphone routing on Windows. It eliminates manual audio device switching by programmatically routing audio through VB-CABLE while managing physical microphone passthrough.
-
ποΈ Live Voice Translator (Zero-Shot Voice Cloning)
- Speak in Urdu and callers hear English, or speak English and callers hear Arabic.
- Clones your voice: Synthesizes the translated output in your own vocal timbre and pitch from a 5-second enrollment sample.
- Automatic Language Detection: Auto-detects input language or lets you manually set source/target pairs.
- Microphone Suppression: While translator mode is active, your raw microphone audio is suppressed from the call so callers hear only the translated speech.
- Emergency Stop & Push-to-Talk: Instant silence button and hold-to-speak mode.
- RTL Transcripts: Live dual transcripts with native Right-to-Left rendering for Urdu and Arabic.
-
π Soundboard & MyInstants Explorer
- Search, browse trending sounds, and trigger clips from MyInstants.
- Overlapping playback: Play multiple sounds simultaneously with automatic soft-limiting to prevent clipping.
- Local disk caching: Sounds are cached locally for offline and instant repeat playback.
-
π£οΈ Local Neural Text-to-Speech (Pocket-TTS)
- 23 natural conversational voices powered by Kyutai Pocket-TTS (~100M parameter model running on CPU).
- Auto-speaks 500ms after you stop typing.
-
π Media Link Audio Extractor (yt-dlp)
- Paste video/audio links from YouTube, TikTok, Instagram Reels, Twitter/X, SoundCloud, or Reddit.
- Extracts and streams audio directly through your virtual microphone.
-
β‘ Global Hotkeys & Independent Volumes
- Bind favorite sounds to global keyboard shortcuts (
F1βF12,Ctrl+Alt+...) triggered from any game or full-screen app. - 3 independent volume sliders: Monitor (your headphones), Microphone, and Soundboard.
- Bind favorite sounds to global keyboard shortcuts (
ββββββββββββββββββββββββββ
β InstantBoard Interface β
βββββββββββββ¬βββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β InstantBoard Audio Engine β
β β
β [Physical Mic] βββΊ (Translator Active?) β
β β β
β βββ YES βββΊ VAD/ASR βββΊ Translation βββΊ Cloned TTS β
β β (Raw mic suppressed from call feed) β β
β β β β
β βββ NO βββΊ Normal Mic Passthrough β β
β β β β
β [Soundboard / TTS / Links] βββββββββββββββββββββββΌββββββββββββββββββββββββ€ β
β βΌ βΌ β
β βββββββββββββββββββ ββββββββββββββ β
β β Monitor Output β β Mix Outputβ β
β β (Headphones) β β (CABLE In)β β
β βββββββββββββββββββ ββββββββ¬ββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββ
βΌ
ββββββββββββββββββββββ
β VB-CABLE Input β
ββββββββββββ¬ββββββββββ
β
βΌ
ββββββββββββββββββββββ
β VB-CABLE Output β
β (Recording Device) β
ββββββββββββ¬ββββββββββ
β
βΌ
ββββββββββββββββββββββ
β Discord / Zoom / β
β Games / OBS β
ββββββββββββββββββββββ
- InstantBoard sends mixed audio to CABLE Input (playback device).
- Discord, Zoom, Microsoft Teams, or OBS records from CABLE Output (recording device).
| Component | Requirement |
|---|---|
| Operating System | Windows 10 / 11 (64-bit) |
| Python | Python 3.10, 3.11, or 3.12 |
| Virtual Cable | VB-Audio Virtual Cable (Free) |
| Hardware | Any modern multi-core CPU, 8 GB+ RAM (Models run on CPU/AVX2) |
- Download and install VB-CABLE Driver from vb-audio.com.
- Restart your PC after installation so Windows registers the virtual audio endpoints:
- CABLE Input appears under Playback devices.
- CABLE Output appears under Recording devices.
# Clone repository
git clone https://github.com/RasikhAli/InstantBoard.git
cd SoundBoard
# Create virtual environment
python -m venv venv
.\venv\Scripts\activate
# Install dependencies
pip install -r requirements.txtpython main.py- Open the Live Translator tab in InstantBoard.
-
Enroll Your Voice (One-time, 5 seconds):
- Click Record Voice (5s) and speak naturally into your microphone, or click Import WAV to use an existing clean sample.
- Select your newly created profile from the dropdown.
-
Select Language Direction:
-
Source:
Auto (Detect)orUrdu (Ψ§Ψ±Ψ―Ω)orEnglish. -
Target:
EnglishorArabic (Ψ§ΩΨΉΨ±Ψ¨ΩΨ©).
-
Source:
-
Start Translation:
- Click Start Live Translation for continuous mode, or hold Push-to-Talk.
- Speak in Urdu
$\to$ callers on Discord or Zoom hear you in English with your cloned voice. - Your physical microphone is automatically suppressed so callers only hear the translated output.
- Hit EMERGENCY STOP at any time to instantly flush queues and silence audio.
- Click the Sounds tab.
- Type in the search bar or browse trending clips from MyInstants.
- Click Play on any card to trigger it into your microphone.
- Click the Heart icon to favorite a sound for hotkey binding.
- Click the TTS tab.
- Select one of the 23 conversational voices.
- Type your text. 500ms after you stop typing, the model synthesizes and plays the speech into your microphone.
- Click the Links tab.
- Paste any media link (YouTube, TikTok, Instagram Reel, Twitter video).
- Click Play β InstantBoard downloads and injects the audio track on the fly.
In the bottom control bar:
- Playback Volume: Adjusts loudness in your local headphones/speakers.
- Microphone Volume: Adjusts physical microphone sensitivity in calls (when translator is off).
- Soundboard Volume: Adjusts media loudness sent to voice calls.
- Soundboard / Normal Mode: Toggle continuous virtual mic routing for streaming.
InstantBoard includes an automated test suite and benchmark harness:
.\venv\Scripts\python.exe -m unittest discover -s tests -p "test_*.py" -vVerifies strict project-local storage, VAD frame buffering, Urdu/English/Arabic translation fidelity, physical mic suppression, and cancellation tokens.
# Benchmark Urdu -> English
.\venv\Scripts\python.exe benchmarks/benchmark_pipeline.py --source-lang ur --target-lang en --iterations 3
# Benchmark English -> Arabic
.\venv\Scripts\python.exe benchmarks/benchmark_pipeline.py --source-lang en --target-lang ar --iterations 3Measures per-stage compute times, Real-Time Factor (RTF), memory consumption, and backlog.
instantboard/
βββ audio/
β βββ decoder.py # Audio decoding (soundfile with ffmpeg fallback)
β βββ devices.py # Device discovery and Windows CoreAudio switching
β βββ mixer.py # Multitrack mixer, soft limiter, mic suppression
β βββ player.py # High-level playback lifecycle
β βββ recorder.py # Mic capture with non-blocking listener fan-out
βββ benchmarks/
β βββ benchmark_pipeline.py # Automated latency and RTF benchmark harness
βββ gui/
β βββ link_player_widget.py # yt-dlp media downloader panel
β βββ main_window.py # Main window, tabs container, hotkey manager
β βββ player_widget.py # Bottom control deck: volume sliders and mode toggles
β βββ search_widget.py # MyInstants search grid and pagination
β βββ settings_dialog.py # Device selector and hotkey manager dialog
β βββ translator_widget.py # Live Translator panel with RTL transcripts
β βββ tts_widget.py # Kyutai Pocket-TTS local synthesis panel
βββ myinstants/
β βββ api.py # MyInstants web crawler
β βββ parser.py # Sound card and metadata parser
βββ resources/
β βββ icons.py # Dynamic SVG icon loader
β βββ theme.py # Dark modern stylesheet (QSS)
βββ tests/
β βββ test_contracts_and_pipeline.py
β βββ test_mixer_routing.py
β βββ test_storage_bootstrap.py
β βββ test_translation_and_asr.py
β βββ test_vad_stream.py
βββ translator/
β βββ asr.py # Faster-Whisper ASR & language detection
β βββ bootstrap.py # Strict project-local storage bootstrap
β βββ contracts.py # Typed stage contracts and data models
β βββ models/ # Manifests, capability registry, atomic installer
β βββ pipeline.py # Multi-threaded streaming translator pipeline
β βββ profiles.py # Voice profile enrollment & reference manager
β βββ translation.py # CTranslate2 NLLB-200 faithful translation
β βββ tts.py # Voice cloning TTS client
β βββ tts_worker.py # Isolated worker process (JSON-lines IPC)
β βββ vad.py # Streaming Silero VAD (ONNX) with recurrent state
βββ utils/
β βββ cache.py # Disk cache with MD5 hashing
β βββ settings.py # JSON settings persistence
βββ main.py # Application bootstrap entry point
βββ requirements.txt # Frozen Python dependencies
- "VB-CABLE not detected":
Ensure VB-CABLE is installed from vb-audio.com and that you have rebooted Windows. In Windows Sound settings, verify that
CABLE Inputappears under Playback devices andCABLE Outputappears under Recording devices. - Callers can't hear the soundboard or translation: In Discord, Zoom, or Teams audio settings, change the Input Device (Microphone) to CABLE Output.
- Translating language: Make sure your microphone is selected in the bottom device bar or settings dialog. Click Record Voice (5s) to capture your voice profile before starting translation for the best cloning quality.
MIT License β see LICENSE for details.