This page runs WorldNet in your browser as WebAssembly. Nothing is uploaded. Harvest, CheapTrick and D4C analyze a voice once into an F0 contour, a spectral envelope and an aperiodicity. Synthesis then builds a waveform from those three, and the controls below change them before it does.
1. Voice
“His nature must have been kindly.”
Voice: Linda Johnson, recorded for LibriVox, from the LJ Speech Dataset by Keith Ito. The dataset is in the public domain.
Your file stays in your browser. The browser decodes it to mono, at 22.05 kHz where it allows that, and only the first 10 seconds are used.
2. Voice changer
- Robot gives every voiced frame the same F0, the median of the voiced frames. Whisper makes no frame voiced.
- Pitch multiplies the F0. Speed resamples the frames in time and leaves the pitch alone.
- Formant stretches the spectral envelope along the frequency axis. Breathiness multiplies the aperiodicity.
3. Spectral envelope codec
Codec.CodeSpectralEnvelope reduces the envelope of every frame to the number of values you choose, and Codec.DecodeSpectralEnvelope restores it. The audio below is synthesized from the restored envelope.
4. F0 estimators
Harvest ran during the analysis. Press the button to run Dio, and Dio refined by StoneMask, on the same audio and to compare the three contours and their times.
Notes
- The first visit downloads about 2.4 MB, mostly the .NET runtime, and the page starts doing so as soon as it opens. The code is compiled ahead of time, so nothing is compiled while you wait. The next visit reuses what the browser has kept.
- The work runs in a Web Worker, so the page stays responsive while it analyzes.
- Inside, the double-precision values can differ from a native build in the last digits, because WebAssembly carries its own math library. The native builds are the ones verified against the original.