use case · practical · multi-line dialogue & audiobook batch renderer · 24 kHz WAV + SRT + CSV

Multi-Line Dialogue & Audiobook Batch Renderer

Assign Kitten TTS 2 Pico's 4 voices line-by-line (Eleanor [1.00x]: …), render sequentially off the main thread with true Pause / Resume / Cancel controls mid-batch, audition individual takes or the unified 24 kHz master timeline, and export .WAV, .SRT, and OWASP-safe .CSV locally.

1 · Dialogue script & batch queue controls

Script presets

Initialise Kitten TTS 2 Pico (13.46 MB int8 CPU WASM) above to render multi-line scripts locally.

Queue progress0 / 0
Master length–
Total compute–
Average RTF–
Sample rate24,000 Hz
NaN check–

2 · Stitched 24 kHz master timeline & exports

Rendered line takes

Click Render dialogue batch above to synthesize each line off the main thread.

3 · Inspect timeline stitching & OWASP CSV escaping

Show the code · pico-core.mjs — stitchDialogueTakes() (24 kHz mixdown & SRT timing)
Show the code · pico-core.mjs — escapeCsvCell() (OWASP formula-injection defense)