A voice in 32 layers
Every Kyutai voice model – Moshi, Hibiki, their text-to-speech – never touches sound directly. It reads and writes tokens from Mimi, a codec that turns each 80 ms of audio into a stack of up to 32 numbers. I wanted to know what each of those layers holds, so I built a mixing desk for them.
A token is one entry from a dictionary of 2,048 short sound shapes. One column below is 80 ms; one row is one layer.
Things to try
- Pull the fader to 1. One number per 80 ms – and the words are still there.
- Now switch the meaning layer off and keep 31 layers. All the texture, none of the speech.
- Solo layer 1, then layer 20. The first carries what is said, the late ones only grain.
How Mimi packs a voice
Each layer adds one arrow that points at what the layers before it missed. The diagram follows the desk.
- Listen. An encoder hears 80 ms of sound and sums it up as one point in a big space of possible sounds.
- Name it, roughly. Layer 1 picks the closest of its 2,048 shapes. It was trained to agree with a speech model, so it captures what is being said – the meaning layer.
- Fix what is left. Layer 2 names the error layer 1 left behind, layer 3 the error after that, and so on – like a sketch that every pass makes finer. That is why the first layers matter most.
- Unpack. A decoder turns the stack of numbers back into 24,000 samples per second.
What each layer costs
Every layer adds 137.5 bits per second. Moshi talks with 8 of them – about 1.1 kbit/s.
How much each layer adds
Distance from the original, measured on the spectrum (lower is closer). The first few layers do almost all the work.
Built by Michael Kittel, an independent study, not affiliated with Kyutai. Uses Kyutai's Mimi codec (weights CC BY 4.0, code from kyutai-labs/moshi). The poem voices were made with Pocket TTS and are AI-generated.
Every mix here was decoded by Mimi on my laptop. In a local run the desk also records your voice and decodes any layer combination live.