Headphonaut ALPHA

Rattle Lattice an instrument in your browser

Mass-interaction synthesis: objects built from point masses joined by springs, dampers and collisions, every part feeding every other, heard at audio rate.

Play it

Sound: the default patch

Press the keys, type A to P on your keyboard, or play a MIDI keyboard. The sound loads on your first press.

Signal graph

How this instrument is wired in Headphonaut: sound flows left to right along the solid lines into the output, and the dashed lines are modulation. Open it in Studio to change any of it.

Signal graph of Rattle Lattice: 3 modules and the output Mass network Controller Gain Output

Design

Every element has one degree of freedom. A mass integrates the forces on it; an interaction (a spring, a damper, a collision) reads the positions of the two masses it joins and pushes both. Wired into a network, every part feeds every other: strike one end of a plate and the far corner answers, let two objects touch and the struck one sets the other ringing, and the other knocks back. Behaviour emerges from the topology rather than from a formula.

Velocity is the strike speed: louder, and with a bigger swing more contacts engage and the object rattles more.

A pattern to play

The pattern Play runs above, as a grid to enter in Studio, a WAV of it played by this instrument, or a MIDI file.

One bar, sixteen steps a bar, 100 BPM
C4on
A#3onon
G3onon
D#3onon
C3on
Download MIDI