mmmt-tools / Synthesis / membrane
on-device · nothing leaves this page

Mass–spring · finite difference

No modes, no oscillators, no delay lines — just Newton's laws on a grid. A square drum head is a mesh of points, each pulled toward its neighbours; step the wave equation forward one sample at a time and the whole membrane vibrates. Strike it and the inharmonic partials of a real drum emerge from the physics rather than being programmed in. One catch the page makes audible: push the tension (the CFL number) too high and the simulation goes unstable — so it's clamped. Being a drum, its pitch is approximate and tops out. Runs in an AudioWorklet.

+1
waveform
spectrum

Head

0.9994
1.00

Higher decay = a longer, more tom-like ring; lower = a dry, damped hit.

play with your keyboard (a s d f …) or click the keys · it's a drum — each key is a different tension