1) Inputs
Model URL (int→wav ONNX)
Codes URL (flattened JSON)
idle
2) Decode options
Execution Provider
Streaming mode
Hop (L2 frames)
Crossfade (ms)
Keep center (L2 frames)
Window (L2 frames)
Sample rate 24,000 Hz
3) Flattened SNAC JSON
4) Output
Player
Metrics
5) Logs & Info
WebGPU runs operations on your GPU (fast when supported). WASM runs on CPU; SIMD is automatic; multithreading needs cross-origin isolation (COOP/COEP). Without COI, WASM uses 1 thread.
Streaming: 48-frame windows, hop 40, keep center 40. Equal-power crossfade removes seams. “Sequential” forces no overlap and starts each chunk only after the previous ended (sets crossfade to 0).