Realtime AI voice changer for browser and Android — change your voice live for Discord, games, streams, or calls.
Local by default: mic → DSP / RVC / ONNX → speakers or WAV. Your audio stays on your machine.
Quick start · Why · Features · Android · Discord / VAC · Contribute
Simple mode (default): Start → pick a voice → talk. Pro mode unlocks the full studio.
| You want… | BadloVoice |
|---|---|
| Fast fun on phone | Simple mode — presets + pitch, no studio clutter |
| Serious conversion | Pro studio — RVC / ONNX models, slots, DSP rack |
| Discord / games | VAC routing guide built into the docs |
| Privacy | Processing stays local (no cloud voice upload) |
| Open source | MIT — fork, ship, contribute |
Built by studying and merging patterns from OpenVoiceChanger, w-okada/voice-changer, Vonovox, and echidna. See ATTRIBUTION.md.
Keywords: realtime voice changer, RVC, AI voice conversion, Discord voice, Android voice changer, ONNX, local DSP.
| Area | What you get |
|---|---|
| Simple mode | Phone-first Start / voice presets / pitch / record (default UI) |
| Pro studio | Devices, VU + spectrum, latency modes, full effects rack |
| Models | Drag-drop .pth / .pt / .onnx + companion .index |
| Model slots | Hot-swap slots (w-okada style) |
| DSP rack | Gate, robot, whisper, telephone, distortion, bitcrush, chorus, echo, reverb, EQ, compressor |
| DSP-only | Pitch + formant + effects with no checkpoint |
| RVC controls | Pitch, formant, F0 (PM / Harvest / Crepe / RMVPE / FCPE), index, RMS, protect |
| Recorder | Capture converted audio → download WAV |
| Offline convert | Upload wav/mp3/flac/ogg/m4a → processed WAV |
| Android | Capacitor debug APK (npm run apk in frontend/) |
- Python 3.11+ recommended
- Node.js 20+
- Windows, macOS, or Linux
- Optional: NVIDIA GPU + CUDA for faster RVC/ONNX
git clone https://github.com/abuzar310/badlovoice.git
cd badlovoice
python -m venv .venv
.\.venv\Scripts\Activate.ps1 # macOS/Linux: source .venv/bin/activate
pip install -r backend/requirements.txtTerminal A — backend:
python -m uvicorn backend.main:app --host 127.0.0.1 --port 8000Terminal B — UI:
cd frontend
npm install
npm run devOpen http://127.0.0.1:5173 → allow mic → Start → pick a voice → talk (headphones help).
Pitch / DSP presets work without an RVC model. For full RVC, add HuBERT + a
.pth(see docs/MODELS.md).
pip install --no-deps git+https://github.com/RVC-Project/Retrieval-based-Voice-ConversionPlace HuBERT at:
models/assets/hubert_base.pt
cd frontend
npm install
npm run build
cd ..
python -m uvicorn backend.main:app --host 127.0.0.1 --port 8000- Allow mic access.
- Simple: Start → pick a voice → talk.
- Pro: load an RVC/ONNX model under Models, or stay DSP-only.
- Record WAV, or use Converter for whole files.
Build a debug APK (Android SDK + Gradle required):
cd frontend
npm run apkOutput: frontend/android/app/build/outputs/apk/debug/
iOS needs a Mac + Xcode (npm run mobile:sync:ios).
Browser / Capacitor WebView (React + AudioWorklet)
│ binary PCM frames + JSON settings
▼
FastAPI /ws/audio
│ gate → model (RVC/ONNX) or pitch DSP → effect rack
▼
Playback + optional WAV recorder
| Path | Role |
|---|---|
backend/ |
FastAPI, WebSocket pipeline, models/slots/presets, DSP |
frontend/ |
BadloVoice UI + Capacitor Android |
models/ |
Your checkpoints + assets/ (HuBERT, RMVPE, …) |
data/ |
Runtime presets/slots/profiles (gitignored) |
docs/ |
Models guide + screenshots |
For Discord, games, or OBS:
- Install VAC (often stabler than VB-Cable).
- Set mic + virtual line to 48000 Hz, 1 ch, 16-bit when possible.
- BadloVoice input = real mic · output = Line 1 (VAC).
- In Discord/games, set microphone to Line 1.
Remote GPU box: run the backend on the GPU machine; open the UI from your gaming PC.
Environment prefix: SHIFTBOOTH_ (legacy name; still used in code).
| Variable | Default | Notes |
|---|---|---|
SHIFTBOOTH_HOST |
0.0.0.0 |
Bind address |
SHIFTBOOTH_PORT |
8000 |
HTTP + WS port |
SHIFTBOOTH_MODELS_DIR |
models |
Checkpoint directory |
SHIFTBOOTH_SAMPLE_RATE |
40000 |
Stream default |
SHIFTBOOTH_CHUNK_SIZE |
4096 |
Overridden by latency modes in the UI |
SHIFTBOOTH_HUBERT_PATH |
models/assets/hubert_base.pt |
RVC content encoder |
SHIFTBOOTH_DEFAULT_LATENCY_MODE |
balanced |
ultra / balanced / quality |
See backend/config.py for the full list.
npm run dev # frontend Vite
npm run build # frontend production build
npm run server # uvicorn backend.main:appDrive upload helper (optional, needs your own OAuth client — never commit secrets):
.\.venv\Scripts\python.exe scripts\upload_apk_to_drive.py path\to\app.apkIf BadloVoice helps you, star the repo — it helps others find a local, open voice changer.
MIT — see LICENSE.
Upstream OpenVoiceChanger is MIT (Sioaeko). Other projects contributed design patterns; see ATTRIBUTION.md.
| Project | Contribution |
|---|---|
| OpenVoiceChanger | Primary web stack: FastAPI, binary WS, AudioWorklet, DSP rack, RVC/ONNX |
| w-okada/voice-changer | Model slots, crossfade/buffer, remote client idea |
| Vonovox | VAD/noise-gate assist, VAC guidance |
| echidna | Latency modes, settings profiles |
Issues and PRs welcome — see CONTRIBUTING.md.
Good first areas: Simple UI polish, DSP presets, docs, Android packaging, Windows install scripts.
