Strike an object with a recording and hear the object. Pick a string, bar, drumhead, plate, pipe, bell or a set of sympathetic strings, tune it, and set how long and how bright it rings.
Modes
Every solid body vibrates at a set of frequencies fixed by its shape and material, its modes. Strike it anywhere and those are the only pitches that ring. A modal resonator is that set written down as a bank of resonators: one two-pole filter per mode, each at its frequency and with its own decay.
The tables here come from the physics of each shape:
| Object | Mode frequencies, as ratios of the pitch |
|---|---|
| String | 1, 2, 3, 4…, stretched sharp by stiffness |
| Bar | 1, 2.78, 5.44, 9.0, 13.4…, the free bar’s (n + ½)² series |
| Drumhead | 1, 1.59, 2.14, 2.30, 2.65, 2.92…, from the Bessel zeros |
| Plate | 1, 2.08, 3.41, 3.89, 5.00… |
| Pipe | 1, 3, 5, 7…, a pipe closed at one end |
| Bell | 0.5, 1, 1.18, 1.51, 2, 2.51…, hum, prime, tierce, quint, nominal |
The bell’s hum partial sits an octave below its prime, which is why a bell seems to have two pitches. The drumhead’s modes are packed close and inharmonic, which is why a drum has a pitch you can almost name.
Pitch, decay, brightness
Pitch is the frequency of the lowest mode, from 40 Hz to 2 kHz. Modes that would land above the file’s Nyquist frequency are left out.
Decay sets how long the lowest mode takes to fall 60 dB, from 80 ms to 8 seconds. Upper modes decay faster than the fundamental, more so the darker the object.
Brightness sets how loud the upper modes are and how quickly they die relative to the lowest. At 0 the object is thick and dull, with the fundamental carrying almost everything. At 100 every mode starts at the same level and the result is glassy.
Structure
Structure stretches or compresses the table about the fundamental. For the string it is stiffness: at 0 an ideal string with exact harmonics, at 100 a short thick one whose partials run sharp like a piano’s lowest strings. For every other object it scales the spread of the modes, so 50 is the textbook table, lower pulls the modes toward the fundamental, and higher pushes them apart into something more metallic.
Sympathetic strings
The last object is not a struck body. Five damped strings tuned a unison, a fifth, an octave, a twelfth and a double octave above the pitch ring along with the input, the way the drone strings under a sitar or a hardanger fiddle answer the melody. Decay sets how long they ring, Brightness how much top end each lap of the string keeps, and Structure detunes the chord.
Level
A resonator with a long decay rings quietly and one with a short decay rings loud, for the same strike, because the energy is spread over more time. The wet path is matched to the input’s level over about 0.8 s so the controls change the sound rather than the volume, and a peak catcher holds a sustained tone that lands squarely on a long mode. Without it, a held note at exactly 220 Hz into a string tuned to 220 Hz would build by tens of decibels.
The comb filter is the one-line version of this idea and is cheaper when the harmonic series is what you want.