Skip to content

About

VoiceStudio (ChiefTechnicalWizard Blackwell Edition) — Open-source voice cloning, voice design, dubbing, CrisperWhisper 2.0 ASR, AuK 1.5B speech healing & Pipeline v3 Pure-Story Audiobook Engine

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
VoiceStudio

VoiceStudio

VoiceStudio ranking on Trendshift

Open-source voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages.

Website · Download · Get started · Docs · Discord · 简体中文 · 日本語

CI Latest release AGPL-3.0 views Donate via PayPal

A tour of the Electron app: voice cloning, voice design, dubbing, and model management

Your voice. Your workflow.

Create Produce Connect
Clone a voice or design your own Dub videos with timed speech Local API & MCP for agents
Dictate with a floating widget Stories, audiobooks & batch jobs Reusable recipes & watch folders

Start with VoiceStudio (default, powered by k2-fsa/OmniVoice), or choose another engine. Features & engine catalog.

Local workflows run on your hardware. Remote services are optional; usage analytics requires consent.

ChiefTechnicalWizard Fork Enhancements & Architectural Rationale

This fork tracks upstream debpalash/VoiceStudio (v0.5.7-beta.2) and adds hardware-level optimizations for NVIDIA Blackwell (sm_120 / sm_121) GPUs, zero-overhead audio I/O under PyTorch 2.12–2.15+cu130, external CrisperWhisper 2.0 Large HTTP ASR integration, and our Pipeline v3 Pure-Story Audiobook Engine (scripts/pipeline_v3/).

Enhancement Files Modified / Added Engineering Reason & Impact
1. Blackwell torch.compile Mode Override (OMNIVOICE_TORCH_COMPILE_MODE) backend/services/model_manager.py Why: Upstream defaults _TORCH_COMPILE_MODE to "reduce-overhead" on sm_80+ GPUs, which records per-shape CUDA Graphs and forces single-thread execution via _install_compile_thread_affinity. During long-form audiobook synthesis with variable-length thoughts (35–280 chars), CUDA Graph shape-bucketing triggers repeated graph captures and blocks multi-worker GPU concurrency. Setting OMNIVOICE_TORCH_COMPILE_MODE=default compiles Triton/Inductor kernels on Blackwell (sm_120 RTX 5070 Ti / sm_121 Grace Blackwell GB10) without CUDA Graph overhead while preserving multi-worker throughput (~1.17s–1.21s per 24-step sentence).
2. Direct soundfile Audio Loading Fast-Path omnivoice/utils/audio.py Why: In torchaudio >= 2.9 (including PyTorch 2.12+cu130 and 2.15+cu130), torchaudio.load(..., backend="soundfile") ignores the backend parameter and routes through TorchCodec, raising ImportError when FFmpeg shared libraries are absent and falling back to spawning a pydub/ffmpeg subprocess on every voice reference load. Reading directly via soundfile.read(audio_path, dtype="float32") first eliminates subprocess overhead and TorchCodec failures while keeping torchaudio and pydub as fallbacks.
3. CrisperWhisper 2.0 Large HTTP ASR Backend (crisper-whisper) backend/services/asr_backend.py, scripts/crisperwhisper_server.py, docs/engines/crisperwhisper-asr.md, tests/test_crisperwhisper_backend.py Why: High-throughput audiobook QA and voice-reference transcription benefit from a dedicated, resident CrisperWhisper 2.0 Large microservice (OMNIVOICE_CRISPERWHISPER_URL, default http://127.0.0.1:8090/transcribe). Includes both the CrisperWhisperBackend client adapter (auto-detected #1 priority when reachable, <1.2s per clip) and the standalone FastAPI server (scripts/crisperwhisper_server.py) supporting verbatim disfluency detection and intended transcription.
4. Pipeline v3 Pure-Story Long-Form Audiobook Engine scripts/pipeline_v3/normalizer.py, epub_parser.py, pure_story_checker.py, dsp.py, qa_gate.py, auk_repair.py, async_engine.py, packager.py Why: Long-form book narration requires strict narrative hygiene and acoustic consistency across thousands of sentences:
• Pure Story OPF Spine Extraction (epub_parser.py, pure_story_checker.py): Traverses true EPUB <itemref> spine order, heals Calibre drop-caps, and strips 100% of non-story frontmatter/backmatter (tests/test_pure_story_integrity.py).
• Quote-Aware Complete-Thought Chunking & Phonetic Normalizer (normalizer.py): Segments prose into complete thoughts (<= 280 chars, median ~142 chars / 25 words), heals mid-sentence quote splits, and expands numbers, ordinals, abbreviations, and Roman numerals prior to synthesis (tests/test_dropcap_and_phonetics.py).
• Contextual Paralinguistic Director (inject_contextual_paralinguistics): Enriches attributed dialogue and contemplative prose with native OmniVoice v0.5.7+ inline markers ([sigh], [laughter], [pause 350ms], and instruct="whisper") on initial pass while stripping non-verbal markers in normalize_qa_tokens() so CrisperWhisper QA scores spoken words fairly.
• Pitch-Floor & Vocal-Tract Timbre Gate (auk_repair.py, qa_gate.py): Combines CrisperWhisper token-level QA scoring + verbatim stutter rejection with librosa.yin F0 pitch-floor checks (med_F0 >= 109–112 Hz, p25_F0 >= 102–104.5 Hz), voiced spectral centroid checks (>= 720–750 Hz), and energy-invariant mfcc[1:] cosine similarity to prevent low-register pitch drops on short dialogue quotes.
• Broadcast DSP & EBU R128 Mastering (dsp.py, packager.py): Applies 5ms raised-cosine micro-fades, dynamic inter-thought (450ms) and paragraph (750ms) breath pacing, and two-pass ffmpeg loudnorm mastering (-18 LUFS, -1.5 dBTP).
5. AuK 1.5B Surgical Speech Healing & Broadcast Soundscape Docs docs/engines/auk-speech-healing.md, docs/broadcast-soundscape-system.md Why: Documents how resident Tencent-Hunyuan AuK 1.5B (:3950) performs in-place word/phoneme replacement and stutter removal without full-chapter re-synthesis, alongside multi-stream broadcast soundscape architecture.

Recommended Blackwell (sm_120 / sm_121) Environment Configuration

export PYTORCH_CUDA_ALLOC_CONF="expandable_segments:True"
export NVIDIA_TF32_OVERRIDE="1"
export OMNIVOICE_DEVICE="cuda"
export OMNIVOICE_TORCH_COMPILE_MODE="default"
export OMNIVOICE_PROMPT_DISK_CACHE="1"
export OMNIVOICE_GPU_WORKERS="4"          # 4 on 128 GB GB10 (sm_121), 2 on 16 GB RTX 5070 Ti (sm_120)
export OMNIVOICE_IDLE_TIMEOUT_S="86400"
export OMNIVOICE_ASR_BACKEND="crisper-whisper"
export OMNIVOICE_CRISPERWHISPER_URL="http://127.0.0.1:8090/transcribe"
Explore the workspaces · Clone, dub, design & models
Electron voice cloning workspace with the bundled demo voice Electron video dubbing workspace
Voice cloningVideo dubbing
Describe a voice in the Electron voice design workspace Install and manage local speech models
Voice designLocal models
VoiceStudio desktop workspace

Get started

One-command install (macOS / Linux)

# Latest Electron release
curl -fsSL https://voicestudio.sh/install | sh

# A specific published Electron release (replace X.Y.Z)
curl -fsSL https://voicestudio.sh/install | sh -s -- --version X.Y.Z

# Build current main and install the desktop app
curl -fsSL https://voicestudio.sh/install | sh -s -- --main

# Uninstall the app, keeping your data
curl -fsSL https://voicestudio.sh/install | sh -s -- --uninstall

On Windows, run irm https://voicestudio.sh/install | iex in PowerShell.

If voicestudio.sh/install is unreachable or returns 404, run the same script straight from the repository, or clone it and run scripts/install.sh:

curl -fsSL https://raw.githubusercontent.com/debpalash/VoiceStudio/main/scripts/install.sh | sh

Release downloads require curl and a SHA-256 tool. --main requires Git, Node.js 22+, Bun, Rust/Cargo, and platform build tools; see installer prerequisites and behavior. The installer preserves your settings, projects, and models. Older versions must contain Electron packages; it never falls back to archived Tauri builds.

Or download from Releases (macOS .dmg, Windows .exe, Linux .AppImage or .deb) and follow your platform guide:

macOS · Windows · Linux · Docker

Hardware Support
NVIDIA GPU (Windows / Linux) CUDA acceleration
Apple Silicon Metal (MPS) acceleration
No dedicated GPU (Intel/AMD integrated graphics, older PCs) Fully usable on the CPU, slower; setup installs the small CPU build of PyTorch (about 5 GB free disk)
Windows on ARM (Snapdragon X etc.) Experimental, validation pending: native ARM64 app, x64 Python backend under emulation, CPU only
Intel Mac App UI only; connect to a remote backend (why)

Open Voice cloning, choose a voice or add a clean reference recording, enter your text, and generate. Install the required model when prompted. Hardware needs vary by engine; see performance.

Install with prompt

Paste into your coding agent (Claude Code, Codex, Cursor, …):

Install the VoiceStudio Electron app on this device and verify it works, following
https://github.com/debpalash/VoiceStudio/blob/main/docs/install/agent.md

The agent guide covers hardware detection, reusing existing data, asking before model downloads, and a test generation. Agents that support skills can also run npx skills add debpalash/VoiceStudio.

Run the Electron preview from source
git clone https://github.com/debpalash/VoiceStudio.git
cd VoiceStudio
bun install
bun run setup:api  # prepare Python dependencies before starting Electron
bun run dev

See Electron setup for prerequisites and backend configuration.

Use bun run smoke-test to build and launch an isolated packaged Electron app. Add -- --install for the networked managed-runtime installation check.

Electron is the only desktop app and web UI. Version 0.5.3 was the final Tauri release. Existing Tauri users must install Electron separately. The retired Tauri shell and legacy UI entry points have been removed.

Documentation

Need Start here
Setup help Troubleshooting · Model downloads
Models & audio quality Engine guides · Benchmarks
Integrations Local API · MCP · Examples
Phone apps (preview, run offline) iOS and Android
Development Contributing (CLA signing guidance for your first PR) · Electron · Changelog

Agent skills: npx skills add debpalash/VoiceStudio — choose voicestudio for audio workflows or voicestudio-maintainer for repository maintenance.

Sponsors & Donations

Sponsorship and donations support Shekinah Shine maintenance, sanctuary groundskeeping, AI broadcast infrastructure, and open-source development.

Donate via PayPal  ·  PayPal Donate (Shekinah Shine)  ·  Cash App  ·  Venmo  ·  GitHub Sponsors  ·  Shekinah Shine Website  ·  Sponsorship Details

License & responsible use

AGPL-3.0 covers the application, including commercial use under its conditions. Model weights, tokenizers, voices and generated-output conditions are separate; a paid app licence does not grant those rights. Clone voices only with permission. Model Manager now shows versioned model-source notices, evidence links and unresolved review gaps from the shared inventory. Its optional reviewed-file preview does not enforce ordinary downloads or certify commercial permission. See license details.

About

VoiceStudio (ChiefTechnicalWizard Blackwell Edition) — Open-source voice cloning, voice design, dubbing, CrisperWhisper 2.0 ASR, AuK 1.5B speech healing & Pipeline v3 Pure-Story Audiobook Engine

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages