Eigendrum - draw a shape, hear the sound it would actually make
Skip to the controls
An interactive drumhead. Press Enter or Space to strike it at the marked point, and use<br>the arrow keys to move that point. While drawing is switched on, drag with a pointer to<br>trace a new outline.
tap the drum
building the mesh
where the overtones fall
pushed one way
nodal line, never moves
pushed the other way
Every mode is a standing wave this outline permits, and no other. Tap anywhere: the<br>modes with a nodal line under the mallet stay silent, which is why the same drum sounds<br>different depending on where you hit it.
forms
draw your own
from an equation
from an equation
polar<br>parametric
r(t) =
x(t) =
y(t) =
t sweeps one full turn, in radians. Size does not matter: every drum is scaled to<br>the same area, so only the shape is audible.
hear it
Everything below still describes the previous drum.
can one hear the shape of a drum?
hear the other one
modes
press any row to hear that mode by itself
the numbers
what the shape does not decide
Pitch is size and tension; fade is material and air. Neither is in the outline, so both<br>are yours. Every overtone ratio is computed and fixed.
lowest mode
130 hz
ring-out
balanced
mallet
medium
show the mesh
copy link
sound
image
how it works
A drumhead clamped at its rim can only vibrate in certain shapes, at certain frequencies.<br>Those shapes and frequencies are the solutions of
−∇²u = λu inside the shape, u = 0 on the edge
Each solution u is a mode, a standing wave, and each λ gives a frequency<br>proportional to √λ. This is an eigenvalue problem, and for almost every shape it has no<br>formula. So Eigendrum solves it numerically: it covers your shape with a mesh of<br>triangles, builds the finite element stiffness and mass matrices, and finds the smallest<br>eigenvalues of Kφ = λMφ.
why you can trust the numbers
A few shapes have spectra that can be written down exactly, and the solver is tested<br>against them on every change. A circle's frequencies are the zeros of Bessel functions; a<br>rectangle's are π²(m²/a² + n²/b²). The solver reproduces both to<br>better than a tenth of a percent, and because a conforming finite element method minimises<br>energy over a restricted space, its answers are guaranteed slight<br>overestimates, never under. The measured error is in “the numbers”.
where you strike it matters
Striking a spot drives each mode in proportion to how much that mode moves there. Hit a<br>line where a mode stands still and you cannot excite it at all. That was not programmed<br>in; it falls out of projecting the mallet onto the modes.
So a strike is never one mode: it is every mode at once, in a mixture set by where your<br>mallet landed. The rules along the mode list are that mixture, and the modes marked with a<br>square were the ones your mallet could not reach. Pressing a row instead plays that single<br>mode alone - something no mallet can do, and the only way to hear what one<br>frequency of a shape actually sounds like.
drums from equations
Besides tracing an outline you can write one. r(t) gives the<br>radius as t sweeps one full turn, so<br>1 + 0.3cos(5t) is a five-lobed flower; a parametric<br>x(t), y(t) pair reaches the closed curves polar cannot, like a<br>nephroid or an egg. This is not a shortcut for drawing. It reaches shapes no hand traces<br>accurately - eleven even lobes, a superellipse partway between a circle and a square - and<br>it makes a shape something you vary: change one number and hear what moved.
A written shape travels as its own text. The link for a formula holds the formula, so it<br>is something you can read and retype rather than a few hundred characters of encoded<br>outline, and editing it in the address bar works. Anything too thin to mesh honestly is<br>refused rather than answered, because a sliver would still return numbers and they would<br>be wrong.
can one hear the shape of a drum?
Mark Kac asked exactly that in 1966. In 1992 Carolyn Gordon, David Webb and Scott Wolpert<br>answered no , by building two different shapes with identical spectra.<br>Both are in the form list as Kac drum I and II. Each is made from the same seven<br>triangles, rearranged. They enclose the same area and the same perimeter, and every<br>frequency matches. Switch between them and listen: the outlines are plainly different and<br>the sound is not.
what is a modelling choice
The frequency ratios and the mode shapes are physics, fixed entirely by the outline. The<br>absolute pitch depends on size and tension, and how fast each overtone fades depends on<br>the material and the air, so those are sliders rather than silent assumptions. Every shape<br>is scaled to the same area before solving, so what you hear is shape and not size.
The mallet is modelled too. Its width is a slider; its contact time is fixed at a few<br>milliseconds, because no real beater is instantaneous and one that was would drive every<br>mode equally hard. Both decide how much of a mode a strike can reach, and neither can move<br>a mode's...