SPB Git

Repository Public

percussion.md 2.7 KB 58 lines markdown

1<!--2ORIX Sonata3File: Documentation/acoustics/percussion.md4Author: Simon-Pierre Boucher5Contact: contact@spboucher.ai6-->7# Percussion89## `modal_percussion`1011A struck body is a sum of modes, each a damped sinusoid:1213    y(t) = sum_k a_k exp(-6.908 t / T_k) sin(2 pi r_k f0 t)1415The frequency ratios `r_k` are those of the body:1617| Body | Ratios | Source |18|---|---|---|19| glockenspiel | 1, 2.756, 5.404, 8.933, 13.34 | free uniform bar (Euler-Bernoulli): (3.011^2, 5^2, 7^2, 9^2, 11^2) / 3.011^2 |20| marimba | 1, 4, 9.9, 17.6 | bar undercut so that mode 2 is the double octave |21| vibraphone | 1, 4, 10, 18.6 | same tuning, long decay |22| kalimba | 1, 6.27, 17.55 | clamped-free bar |23| bell | 0.5, 1, 1.2, 1.5, 2, 2.6, 3, 4, 5.2, 6.6 | hum, prime, tierce, quint, nominal... of a tuned church bell |24| tubular | 1, 2, 3.01, 4.03, 5.08, 6.15 | the strike tone is the missing fundamental of modes near 2 : 3 : 4 |25| glass, woodblock | plausible sets | not derived from a specific object |2627Amplitudes and relative decays are plausible values, not measurements of an instrument. The28mallet multiplies each amplitude by `1 / (1 + (f / f_c)^2)` with29`f_c = 300 + 14000 hardness^2 (0.3 + 0.7 v) + 1.5 f0` Hz: a soft mallet stays in contact30longer and excites fewer modes. `T_k = t60(body) * decay * (261.6 / f0)^0.6 * d_k`.31`partials [..]` replaces the ratios by custom ones (amplitudes `1/k`, decays `1/sqrt(r)`).3233The marimba and vibraphone tube resonators are not modelled; the vibraphone motor is an34amplitude tremolo. The modes are computed by coupled-form rotation, so the first mode is exact35(error below 0.01 cent).3637## `kick`3839    f(t) = tune * 2^(sweep exp(-t / tau) / 12),   y = tanh(k sin(phase)) * exp(-6.9 t / decay) + click4041A sine whose pitch falls exponentially from `sweep` semitones above `tune`, the standard42analogue bass-drum circuit behaviour. It is not a membrane model: a real drum head has43inharmonic modes (1, 1.59, 2.14, 2.30...) and its pitch glide comes from tension modulation.4445## `snare`4647Two sinusoids at `tune` and `1.78 tune` (an inharmonic pair in the range of a snare head's48lowest modes; the ratio is a design choice, not a measurement) with a 5-semitone drop over 12 ms, plus white49noise through a band-pass at `noise.color` and a 700 Hz high-pass for the wires. The coupling50of wires and head is not modelled: the noise has its own envelope.5152## `hihat`5354Six polyBLEP square oscillators at 205.3, 304.4, 369.6, 522.7, 540 and 800 Hz times 6.5 times55`tune` (the ratios of a well-known drum machine's cymbal circuit, moved into the cymbal range),56through band-passes at 3.44 and 7.1 kHz and a high-pass. This is a dense inharmonic cluster,57not a plate model; a cymbal has thousands of modes and nonlinear mode coupling.58
Files main
Menu

Theme