🎧 LLM-Sonify: hear a small language model think
In brief
- 🎧 LLM-Sonify turns every token of Qwen3-0.6B into sound derived from the model's internals.
- 🧠 Six measurements per token drive the sound, such as confidence, alternatives considered and attention distance.
- 💻 Runs locally in the browser (WebGPU or CPU); according to the author nothing leaves your computer.
- 🎹 Optional MIDI output to a DAW or synth.
🎧 [LLM-Sonify](https://sonify.mattdeeds.com) is a web page by Matt Deeds that lets you listen to a small language model as it writes. The model, Qwen3-0.6B, runs in the browser, continues the text you enter, and every token it produces becomes sound. The sound does not come from a model writing notes but from measurements read directly out of the network. According to the author, everything stays on your own machine. 🧪
The author says the idea comes from bio-sonification, where an organism's body signals are translated into sound or music. Here the "signal" is a small language model thinking: instead of asking a model to compose, probes are placed in its inside, so to speak, and their values make the sound. The only input is the prompt; apart from the sound settings there is no other control.
📊 For each token the model makes one pass through its 28 layers, and the page reads six measurements from it. According to the project page these include the top six candidates and the entropy, the updates of all 28 layers, every head's attention distance and the state after layer 19. Each measurement drives one part of the ambient sound. Because raw values do not share a scale (later layers' updates are about 30 times bigger, and reach grows with context), each is ranked against 2,816 tokens from 22 varied prompts: 0.8 means higher than 80 percent of that reference, so 0.5 is typical.
🎼 There are two modes. The readout mode is meant to let you hear how the model behaves but, the author says, it is not very musical. The ambient mode aims at a more pleasant sound. The model always takes its likeliest next token, so the same text gives the same music. The author notes that prompts that make the model repeat itself work especially well for musical structure. Length can be set to 32, 64, 128 or 256 tokens, and the text view marks tokens as sure, unsure, bold, surprising or looking far back.
🎹 Through Web MIDI the notes can go to a DAW or hardware synth. Channels: 1 melody, 2 other guesses, 3 surprise, 4 recall, 5 pad (4 and 5 only in ambient mode), plus controllers for unsureness, layers, drift and reach. On a Mac the IAC driver has to be enabled for this. Otherwise a synth in the browser plays the sound in 5 millisecond steps.
💻 Requirements: the first start downloads a 622 MB model, according to the author. It runs on the GPU through WebGPU or on the CPU, and the page runs faster in its own tab. It is an experiment to listen to, not a debugging tool: you get an audible impression of model behaviour, not an analysis. For musicians it is an unusual sound source. The page states no price or licence.