Timpani: even longer fundamental sustain (0.35/s decay)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-29 16:27:59 -04:00
parent 7f2aeb2395
commit 383802a1e1
2 changed files with 1 additions and 1 deletions
Binary file not shown.
+1 -1
View File
@@ -915,7 +915,7 @@ def timpani_wave(hz, peak=SAMPLE_PEAK, n_samples=SAMPLE_RATE):
# This is what makes the "oooh" — the fundamental rings and rings,
# so rapid hits in a roll stack into a singing resonance
thump_decay = numpy.exp(-6 * t) # upper modes die fast
fund_decay = numpy.exp(-0.6 * t) # fundamental sustains much longer
fund_decay = numpy.exp(-0.35 * t) # fundamental sustains very long
# Apply different decays: fundamental gets long sustain
fund = numpy.sin(2 * numpy.pi * hz * t) * 0.8 * fund_decay