From db7fabf9853027d541fe2c9af4b5a9cf540ca3a9 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 30 Mar 2026 02:10:59 -0400 Subject: [PATCH] =?UTF-8?q?Fully=20restore=20original=20ge=5Fbend=20synth?= =?UTF-8?q?=20=E2=80=94=20only=20keep=20dispatch=20override?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- pytheory/play.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pytheory/play.py b/pytheory/play.py index 8afac4c..11b3791 100644 --- a/pytheory/play.py +++ b/pytheory/play.py @@ -3352,9 +3352,7 @@ def _synth_tabla_ge_bend(n_samples): # Gets quieter as pitch rises (palm mutes the head as it presses) freq = 60 + 180 * (1 - numpy.exp(-4 * t)) phase = 2 * numpy.pi * numpy.cumsum(freq) / SAMPLE_RATE - # Slow time-based envelope so the sweep is audible - env = numpy.exp(-0.8 * t) - body = numpy.sin(phase) * env * 0.9 + body = numpy.sin(phase) * _exp_decay(n_samples, 6) * 0.9 # Metal shell resonance metal_len = min(int(SAMPLE_RATE * 0.1), n_samples) metal = numpy.sin(2 * numpy.pi * 150 * t[:metal_len]) * _exp_decay(metal_len, 8) * 0.3