work/voice-studio
Voice-cloning recording wizard
Voice Studio
A browser wizard that records a voice, scores every 15-second window of the take, and publishes the cleanest reference clip for a local voice-cloning engine.
Live
A voice-cloning engine is only as good as the fifteen seconds you give it. Voice Studio exists to get those fifteen seconds right, and it starts with consent: the first step asks you to confirm the voice is your own or that you have permission.
- Runs on
- Web app on the home server, over HTTPS on the local network
- Built with
- Node 22 with node:sqlite and no dependencies, ffmpeg, an AudioWorklet recorder
- Started
- October 2026
Pipeline
From one take to a tested voice
From one careful take to a tested voice: the raw master stays untouched, you choose the clip, and test lines go through the TTS queue.
Seven steps
- Name the voice and confirm consent.
- Mic and room check, with the browser's echo cancellation, noise suppression and auto gain all switched off: a live meter with the target band, a clipping latch, five seconds of room tone that must sit below -55 dBFS, and a test read with a signal-to-noise verdict.
- Script: original text written to cover every English sound, questions, numbers and calm, warm and excited passages, in 5, 7 or 10-minute sets at an adjustable pace.
- Record with a teleprompter that highlights word by word, with breathe and pause cues, rest screens, pause and "redo this section". Audio streams to the server in chunks and survives reconnects.
- Process: the raw master is kept untouched; a cleaned copy is high-passed, resampled and loudness-normalised, then every 15 and 10-second window is scored for noise, steadiness, pace, density, pauses, mouth clicks and clean cut points.
- Publish the chosen clip, alternates and master to the shared voices folder.
- Test by sending sentences through the TTS queue and playing them back.
The picker keeps it simple: three cards (best overall, warmest or calmest, shortest ten seconds), each with a big play button and "Choose this" or "Re-record this part". An expert view adds the waveform, per-metric bars and A/B comparison. There is also a direct 15-second recorder and a WAV import for quick jobs.
Before recording
Name, consent and the room
The empty voice library. Naming the voice, with the consent checkbox. The mic and room check: level meter, room tone and a test read. Choosing a script length and pace.
Recording
Read along, word by word
Recording with the word-by-word teleprompter. The quick 15-second recorder.
Choosing the take
Three candidates, or every score
Processing the take. The guided picker: three candidate clips. The expert view: candidate windows and per-metric scores. The library with a test voice published.
How it's built
- A research note traces every choice back to what the engine needs: one 15-second, 24 kHz mono reference.
- Browsers only allow the microphone over HTTPS, so the studio has its own small certificate authority, constrained to the home network's names, with an install page for each platform.
- Requests from outside the local network and cross-origin writes are refused. Recordings never leave the server.
- A browser end-to-end test drives the whole wizard with a fake microphone playing a synthetic speaker, which is where these screenshots come from.











