summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2019-01-28 12:18:22 +1100
committerDamien Zammit <damien@zamaudio.com>2019-01-28 12:18:22 +1100
commitd1453f21d13e0285833f4f37b088fb4747584c4a (patch)
tree62201f4fa637e196e8d4b0f96504a78414a6aea9
parent8d6e077d8fb48e83b3c516dfcf67a678cef7feba (diff)
ZamTube: Lower output gain by 5dB (bypassed now roughly the same)
-rw-r--r--plugins/ZamTube/ZamTubePlugin.cpp2
1 files changed, 1 insertions, 1 deletions
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) {