Skip to main content
NewEpisode 3a is out: Carry the conversation onWatch →
Foundations: how a machine speaks · 0b

A frame becomes 16 integers

The encoder squeezes every 1,920 samples into one vector, and the quantizer turns it into 16 integers: each 2,048-row table picks its nearest row, and the next table codes what is left over. Follow frame 5 level by level (67.29 → 36.89 → … → 13.51), read how sglang-omni's vocoder turns codes back into vectors with nothing but lookups and a sum, and hear the real audio decoded with 1, 2, 4, 8 and 16 codebooks. Plus a finding: Mimi's levels 16–31 are all-zero tables in the shipped weights. Vectors and distance, strided convolution, table lookup and the spectrogram are each taught with toy numbers before the real code.

Up next0c · Why code 0 is special→