From 2a8adc954aeb72babbdc30c3866ccf76961d00ee Mon Sep 17 00:00:00 2001 From: Christopher Herb Date: Thu, 20 Nov 2025 12:01:40 +0100 Subject: [PATCH] default values truthful to og pump --- dynamics/pump.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dynamics/pump.h b/dynamics/pump.h index 036422e..cb5863f 100644 --- a/dynamics/pump.h +++ b/dynamics/pump.h @@ -30,13 +30,14 @@ namespace trnr { struct pump { double samplerate; float threshold_db = 0.f; - float attack_ms = 10.f; - float release_ms = 100.f; + float attack_ms = 0.1f; + float release_ms = 200.f; float hp_filter = 80.f; float ratio = 1000.f; - float filter_frq = 40000.f; - float filter_exp = 0.f; + float filter_frq = 20000.f; + float filter_exp = 1.f; float treble_boost = 0.f; + float makeup = 0.f; float filtered = 0.f; float filtered_l = 0.f; @@ -192,7 +193,7 @@ inline void pump_process_block(pump& p, sample** audio, sample** sidechain, int output_r = p.filtered_r + (p.filtered_r - p.boosted_r) * p.treble_boost; // calculate makeup gain - float makeup_lin = trnr::db_2_lin(-p.threshold_db / 5.f); + float makeup_lin = trnr::db_2_lin(p.makeup); audio[0][i] = input_l * gain_reduction_lin * makeup_lin; audio[1][i] = input_r * gain_reduction_lin * makeup_lin;