Text-to-speech in the voices of 1930s–50s black-and-white sci-fi serials: hero, villain and narrator archetypes, seeded voices, and a tunable vintage-film sound.
  • Python 93.5%
  • Shell 5.4%
  • Batchfile 0.6%
  • PowerShell 0.5%
Find a file
jlightner 469e29f45c Internal build: one edition with all 19 voices and both fine-tunes; drop the public/private split
rocketvox is for internal, experimental use at xpltd.co and is not distributed publicly, so the
licensing-driven machinery goes away:
- remove voices/guard.py (similarity guard), the public/private package editions,
  README_private.txt and the personal-use / rights disclaimers in code, configs and docs
- commit the 10 serial-actor voice references beside the 9 stock characters in voices/
  (voices.json: id, group, label); .gitignore exception moves from share/gpu/voices to voices/
- library.resolve, `rocketvox voices list` and the studio's voice menu fall back to the committed
  voices, so the full studio works from a fresh clone without the corpus
- build_gpu_package.sh builds one package with everything; share_voices.py refreshes voices/ from
  the corpus library and the design picks; publish_release.sh targets v1.1
- README, DESIGN, STATE, ACQUIRE, CLAUDE.md rewritten for the internal build; STATE records what
  survived the 2026-10-17 purge and where it lives

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-06 21:29:36 -06:00
configs Internal build: one edition with all 19 voices and both fine-tunes; drop the public/private split 2026-11-06 21:29:36 -06:00
data M0: scaffold rocketvox project 2026-10-05 19:28:04 -05:00
docs Internal build: one edition with all 19 voices and both fine-tunes; drop the public/private split 2026-11-06 21:29:36 -06:00
models M0: scaffold rocketvox project 2026-10-05 19:28:04 -05:00
scripts Internal build: one edition with all 19 voices and both fine-tunes; drop the public/private split 2026-11-06 21:29:36 -06:00
share/gpu Internal build: one edition with all 19 voices and both fine-tunes; drop the public/private split 2026-11-06 21:29:36 -06:00
src/rocketvox Internal build: one edition with all 19 voices and both fine-tunes; drop the public/private split 2026-11-06 21:29:36 -06:00
tests M9: tidy comments/docstrings, drop dead code and superseded scripts/configs; config templates; setup_engines.sh 2026-10-17 18:22:18 -05:00
voices Internal build: one edition with all 19 voices and both fine-tunes; drop the public/private split 2026-11-06 21:29:36 -06:00
.gitignore Internal build: one edition with all 19 voices and both fine-tunes; drop the public/private split 2026-11-06 21:29:36 -06:00
CLAUDE.md Internal build: one edition with all 19 voices and both fine-tunes; drop the public/private split 2026-11-06 21:29:36 -06:00
pyproject.toml voxcpm_ft engine: VoxCPM2 + LoRA checkpoint via worker env; pytest/ruff skip third_party 2026-10-06 20:05:19 -05:00
README.md Internal build: one edition with all 19 voices and both fine-tunes; drop the public/private split 2026-11-06 21:29:36 -06:00
uv.lock M1 step 5: Gradio speaker-labeling page (rocketvox label) 2026-10-05 23:32:46 -05:00

rocketvox

Text-to-speech in the voices of 1930s–50s science-fiction serials and radio. Ray-gun heroes, theatrical villains, newsreel announcers, wide-eyed sidekicks: type a line and hear it delivered like Flash Gordon, Radar Men from the Moon or X Minus One.

rocketvox is a complete pipeline: it turns old films and radio broadcasts into a clean, speaker-labelled voice dataset, fine-tunes a modern TTS model (VoxCPM2) on it, and serves the result in a local web studio with performance controls.

  • Voice Studio: a local web page with 25 serial characters' voices, five engines, and controls for delivery: a SCREAM slider, GLITCH (stammering, confusion, broken-signal effects), free-text style instructions ("whispering", "out of breath"), multiple takes, streaming.
  • Fine-tuned VoxCPM2: LoRA adapters trained on 1,762 minutes of restored dialogue from 210 voices, chosen through nine rounds of blind listening tests.
  • Windows build: a self-installing package with the fine-tunes, all 19 voices (10 serial actors cloned from the films and broadcasts, 9 "stock characters" designed from text descriptions) and voice cloning from your own clips.

rocketvox is an internal, experimental project at xpltd.co. It is not distributed publicly.

Quick start: the Windows package

Needs Windows 10/11 and an NVIDIA GPU with 8 GB+ VRAM.

  1. Download rocketvox-gpu.zip from the latest release and unzip it.
  2. Double-click Setup.bat (one time; downloads Python, PyTorch and the VoxCPM2 weights, ~8 GB, into that folder only).
  3. Double-click Rocketvox Studio.bat. A page opens at http://localhost:7860.

The package's own README.txt covers the controls.

Run from source

Linux or WSL2 with an NVIDIA GPU, uv and ffmpeg.

git clone https://git.xpltd.co/xpltdco/rocketvox.git && cd rocketvox
uv sync                       # the main environment (pipeline, studio, CLI)
scripts/setup_engines.sh      # one venv per TTS engine (they pin different torch versions)
scripts/get_models.sh         # the fine-tuned LoRA adapters from the release
uv run rocketvox doctor       # GPU, torch and ffmpeg check
uv run rocketvox studio       # http://localhost:7862

The 19 studio voices are committed in voices/ and work from a fresh clone. With the corpus (below) the studio also lists every character the library has a reference for (~400 voices). Quick command-line speech: uv run rocketvox say "Text" --voice flash.

Voices

Group Voices Where from
Serial actors (10) Flash Gordon (Buster Crabbe), Ming the Merciless (Charles Middleton), Dr. Zarkov (Frank Shannon), Commando Cody (George Wallace), Retik (Roy Barcroft), Rocky Jones (Richard Crane), Professor Newton (Maurice Cass), Queen Tika (Dorothy Christy), Captain Strong (Edward Bryce), narrator Jackson Beck cloned: ~12 s of the actor's cleanest lines from the corpus, crossfaded (voices/library.py)
Stock characters (9) announcer, hero, heroine, villain, queen, scientist, commander, sidekick, kid VoxCPM2 voice design from a text description (scripts/design_voices.py), picked by ear (scripts/pick_app.py)

Both groups live in voices/<id>.wav with voices/voices.json (id, group, label); the studio, the CLI and the Windows package read the same folder. scripts/share_voices.py refreshes it from the corpus library and the design picks. To add a voice, drop in a 5–15 s WAV and add a line to voices.json.

Models

Model Data Blind test
LoRA v9 (default) 1,762 min, 210 voices, incl. X Minus One beat v7 5–4, tied v8 5–5
LoRA v8 (cleanest) 894 min, 118 voices, no 64 kbps radio beat v6 9–1

Both are VoxCPM2 LoRA adapters (rank 64, LM + DiT attention). They are Forgejo release assets (scripts/get_models.sh fetches and verifies them into models/ft/voxcpm_lora_<v>/best/); the studio offers both, plus base VoxCPM2, Chatterbox and Qwen3-TTS. Training history is in docs/STATE.md.

How it works

films, serials, radio ──► 1 extract   mono 48 kHz (ffmpeg)
                          2 separate  dialogue vs music/effects (BS-RoFormer)
                          3 transcribe  WhisperX large-v3 + word alignment
                          4 diarize   who-spoke-when (pyannote 4)
                          5 label     which character said each line (below)
                          6 filter    2–15 s clean single-speaker clips
                          7 manifest  data/manifest.csv
                                 │
                                 ▼
          fine-tune VoxCPM2 (LoRA) ──► Voice Studio / Windows package

Every stage is a CLI command (rocketvox ingest <stage> <film_id>), writes to data/<stage>/<film_id>/ with a done.json, and skips finished work, so any run can be interrupted and resumed. scripts/run_stages.sh runs stages 1–4 in batch.

Labelling (stage 5) is the hard part: the speaker clusters pyannote finds are only ~75–90% pure, and nobody can name 1930s character actors by ear. So:

  1. Text attribution: read a seed episode's transcript and attribute lines to characters from context (names, addresses, plot); keep only lines where that agrees with the voice cluster.
  2. Propagate / cluster: recognise the same voices in other episodes by speaker embedding (ingest propagate); for anthologies with a rotating cast, cluster recurring voices across episodes (ingest cluster) and name the clusters from the seeds (scripts/name_clusters.py).
  3. Fill: give leftover lines to known voices when the match is clear (scripts/fill_labels.py).

Fine-tuning: scripts/voxcpm_ft_data.py builds the training set (each clip paired with a different clip of the same voice as reference), scripts/train_lora.sh v9 v8 trains with VoxCPM's official LoRA trainer, and renders a blind A/B test against the previous model; scripts/listen_app.py serves the voting page.

Results, numbers and lessons learned are in docs/STATE.md; how it works and why (including the evaluation method) in docs/DESIGN.md; where the source material comes from in docs/ACQUIRE.md.

Repository map

Path What
src/rocketvox/ingest/ pipeline stages 1–7
src/rocketvox/synth/ SynthEngine interface and per-engine worker scripts (each runs in its own venv)
src/rocketvox/server/ the Voice Studio (Gradio), progress estimation, priority mode
src/rocketvox/voices/ reference-clip library (corpus and committed voices)
src/rocketvox/fx/ GLITCH effects; vintage audio FX (experimental)
src/rocketvox/cli.py the rocketvox command
scripts/ batch jobs, labelling helpers, fine-tuning, listening tests, packaging
voices/ the 19 studio voice references + voices.json (committed)
share/gpu/ the Windows package (studio-lite app, installer, README, VoxCPM wheel)
configs/ sources wishlist, film list, per-film labels, LoRA training configs
tests/ uv run pytest

data/ and models/ are not in git (size). LoRA weights are release assets; scripts/get_models.sh fetches them.

Credits

Built on VoxCPM2 (Apache-2.0), Chatterbox (MIT; outputs carry its inaudible watermark), Qwen3-TTS (Apache-2.0), WhisperX, pyannote.audio, audio-separator (BS-RoFormer) and WeSpeaker. Source audio from owned media and public archives (archive.org, the Universal Newsreels collection).