diff options
author | Damien Zammit <damien@zamaudio.com> | 2020-11-22 14:13:34 +1100 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2020-11-22 14:14:27 +1100 |
commit | 60145843a00c332409a2d844090e0a404e4ddcdf (patch) | |
tree | 9e517ff08c8b9eb957e1083b7b50fb70ce19b8f5 | |
parent | 37f98c3fd5f3561f6ae85c68d41e1b98238fa81f (diff) |
ZamTube: Remove capacitor on input circuit - not needed, tune volume pot.
-rw-r--r-- | plugins/ZamTube/ZamTubePlugin.cpp | 2 | ||||
-rw-r--r-- | plugins/ZamTube/wdfcircuits.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ZamTube/ZamTubePlugin.cpp b/plugins/ZamTube/ZamTubePlugin.cpp index 316a788..1d7c9a5 100644 --- a/plugins/ZamTube/ZamTubePlugin.cpp +++ b/plugins/ZamTube/ZamTubePlugin.cpp @@ -331,7 +331,7 @@ void ZamTubePlugin::activate() */ int pre = 0; - float volumepot = 1e+6; + 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.warmup_tubes(); diff --git a/plugins/ZamTube/wdfcircuits.h b/plugins/ZamTube/wdfcircuits.h index df959a9..517b99a 100644 --- a/plugins/ZamTube/wdfcircuits.h +++ b/plugins/ZamTube/wdfcircuits.h @@ -111,7 +111,7 @@ public: //S0_1SetA //ViGetB //S0_2SetA - Real S0_3b3 = -(Cib + ViE); + Real S0_3b3 = -(/*Cib*/ + ViE); //P0_1SetA //RiGetB //P0_2SetA @@ -150,7 +150,7 @@ public: //P0_3SetA Real P0_3b1 = S1_3b2 - S0_3b3 - P0_3Gamma1*(-S0_3b3); //S0_3SetA - Real S0_3b1 = Cib - S0_3Gamma1*(Cib + ViE + P0_3b1); + Real S0_3b1 = /*Cib*/ - S0_3Gamma1*(/*Cib*/ + ViE + P0_3b1); Cia = S0_3b1; //RiSetA //printf("Vk=%f Vg=%f Vpk=%f in=%f out=%f\n", Vk,Vg,S2_3b3, ViE,Roa); |