From d1453f21d13e0285833f4f37b088fb4747584c4a Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Mon, 28 Jan 2019 12:18:22 +1100 Subject: ZamTube: Lower output gain by 5dB (bypassed now roughly the same) --- plugins/ZamTube/ZamTubePlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ZamTube/ZamTubePlugin.cpp b/plugins/ZamTube/ZamTubePlugin.cpp index fa1ce99..66eb7b6 100644 --- a/plugins/ZamTube/ZamTubePlugin.cpp +++ b/plugins/ZamTube/ZamTubePlugin.cpp @@ -356,7 +356,7 @@ void ZamTubePlugin::run(const float** inputs, float** outputs, uint32_t frames) float cut = insane ? 0. : 15.; float pregain = from_dB(tubedrive*3.6364 - cut); - float postgain = from_dB(mastergain + cut + adjustdb + 5. + 42. * (1. - log1p(tubedrive/11.))); + float postgain = from_dB(mastergain + cut + adjustdb + 42. * (1. - log1p(tubedrive/11.))); for (uint32_t i = 0; i < frames; ++i) { -- cgit v1.2.3