use case · basics · full-clip pooling vs 2.0 s sliding-window affect timeline · WASM q4 · 89.9 MB

Basics: Sliding-Window Emotion Timeline

SUPERB ER mean-pools 50 Hz Wav2Vec2 hidden states across an entire utterance into one verdict — smoothing out shifts between calm openings and emphatic peaks. Compare full-clip pooling against 2.0 s overlapping windows below to trace how neu, hap, ang, and sad evolve turn by turn.

1 · Wav2Vec2-Base SUPERB ER worker (89.86 MB q4 WASM)

2 · Full-clip pooling vs overlapping 2.0 s window timeline

Initialise Wav2Vec2-Base SUPERB ER above to run full-clip pooling and overlapping 2.0 s speech-turn windows.

Loading clip…
Full-clip pooled–
Dominant window–
Window agreement–
Affect transitions–
Mean window ms · NaN–
Per-window Wav2Vec2-Base SUPERB ER probabilities compared against full-clip pooling
Window Span Top affect neu hap ang sad vs Full clip Latency Audition
Run the timeline above to inspect full-clip pooling vs 2.0 s overlapping speech windows.

3 · Inspect classification worker & sliding-window slicer

Show the code · worker.js — classify() (top_k: 4 IEMOCAP pipeline + NaN audit)
Show the code · er-core.mjs — buildSlidingWindows() (overlapping 2.0 s window partitioner)