diff options
author | Damien Zammit <damien@zamaudio.com> | 2020-11-23 18:21:54 +1100 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2020-11-23 20:03:45 +1100 |
commit | 77da69c220dbb7cdccf3b316e567e6ae69a0579d (patch) | |
tree | 4f54f1a1f4ae4e04033d824da0799019ebe5ad44 /plugins/ZamTube/ZamTubePlugin.cpp | |
parent | b4bdad4689de151e7223b75a49d450a0c865854a (diff) |
ZamTube: Simplify circuit with no Ci capacitor - no sound quality loss
Diffstat (limited to 'plugins/ZamTube/ZamTubePlugin.cpp')
-rw-r--r-- | plugins/ZamTube/ZamTubePlugin.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/ZamTube/ZamTubePlugin.cpp b/plugins/ZamTube/ZamTubePlugin.cpp index 4d7c453..7783700 100644 --- a/plugins/ZamTube/ZamTubePlugin.cpp +++ b/plugins/ZamTube/ZamTubePlugin.cpp @@ -299,7 +299,6 @@ void ZamTubePlugin::activate() // Passive components /* Original WDF preamp - ci[0] = 100e-9; rg[0] = 20e+3; rk[0] = 1e+3; ck[0] = 10e-6; @@ -310,7 +309,6 @@ void ZamTubePlugin::activate() */ /* Matt's preamp */ - ci[0] = 100e-9; rg[0] = 1e-3; rk[0] = 1200.; // 820 originally ck[0] = 50e-6; @@ -320,7 +318,6 @@ void ZamTubePlugin::activate() ro[0] = 470e+3; /* CLA's preamp - ci[0] = 1.0e-7; rg[0] = 5.6e+3; rk[0] = 1.5e+3; ck[0] = 4.7e-6; @@ -333,7 +330,7 @@ void ZamTubePlugin::activate() int pre = 0; float volumepot = 800e+3; // 100 good at low gain, 1000 good at high gain ckt.on = false; - ckt.updateRValues(ci[pre], ck[pre], co[pre], e[pre], er[pre], rg[pre], volumepot, rk[pre], 1e+3, ro[pre], Fs); + ckt.updateRValues(ck[pre], co[pre], e[pre], er[pre], rg[pre], volumepot, rk[pre], 1e+3, ro[pre], Fs); ckt.warmup_tubes(); fSamplingFreq = Fs; |