shithub: neindaw

Download patch

ref: b5ce869c17886785ebe2798cc8471fa5a0f1e306
parent: 381cb51b021ee312f0fcb09f2f8ffbe70f5279b2
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Mon Jul 27 21:12:58 EDT 2020

enable autovoicing for piano

--- a/dsp/piano.c
+++ b/dsp/piano.c
@@ -3,7 +3,7 @@
 copyright: "Romain Michon"
 name: "Piano"
 version: "1.0"
-Code generated with Faust 2.23.10 (https://faust.grame.fr)
+Code generated with Faust 2.28.0 (https://faust.grame.fr)
 Compilation options: -lang c -scal -ftz 0
 ------------------------------------------------------------ */
 
@@ -45,82 +45,82 @@
 #endif
 
 typedef struct {
+	FAUSTFLOAT fHslider0;
+	FAUSTFLOAT fHslider1;
+	float fRec10[2];
 	int fSampleRate;
 	float fConst0;
 	float fConst1;
+	FAUSTFLOAT fHslider2;
 	float fConst2;
+	FAUSTFLOAT fHslider3;
 	float fConst3;
+	FAUSTFLOAT fHslider4;
+	FAUSTFLOAT fButton0;
+	float fRec19[2];
+	FAUSTFLOAT fHslider5;
+	int iRec25[2];
+	float fRec27[2];
 	float fConst4;
-	FAUSTFLOAT fHslider0;
+	FAUSTFLOAT fHslider6;
+	float fRec26[2];
 	float fConst5;
 	float fConst6;
 	float fConst7;
+	FAUSTFLOAT fHslider7;
 	float fConst8;
-	float fRec11[2];
-	float fRec10[2];
-	int IOTA;
-	float fVec0[16384];
-	float fConst9;
-	int iConst10;
-	FAUSTFLOAT fHslider1;
-	FAUSTFLOAT fHslider2;
-	float fRec12[2];
-	FAUSTFLOAT fHslider3;
-	float fConst11;
-	FAUSTFLOAT fHslider4;
-	int iRec23[2];
-	FAUSTFLOAT fButton0;
-	float fRec25[2];
-	float fConst12;
-	FAUSTFLOAT fHslider5;
+	float fRec28[2];
 	float fRec24[2];
-	float fConst13;
-	float fConst14;
-	float fConst15;
-	FAUSTFLOAT fHslider6;
-	float fConst16;
-	float fRec26[2];
-	float fVec1[2];
-	float fVec2[2];
+	float fRec23[2];
 	float fRec22[2];
 	float fRec21[2];
 	float fRec20[2];
-	float fRec19[2];
+	float fVec0[2];
 	float fRec18[2];
-	float fConst17;
-	float fRec17[3];
-	float fRec16[3];
-	float fRec15[3];
-	float fRec14[3];
+	float fRec17[2];
+	int IOTA;
+	float fRec16[8192];
+	float fVec1[2];
+	float fRec31[2];
+	float fRec30[2];
+	float fRec29[8192];
+	float fVec2[2];
+	float fRec15[2];
+	float fRec12[2];
 	float fRec13[2];
-	float fConst18;
-	FAUSTFLOAT fHslider7;
-	FAUSTFLOAT fHslider8;
-	float fRec33[2];
-	float fRec38[2];
-	float fRec37[2];
-	float fRec36[2];
-	float fRec35[2];
-	float fRec34[2];
+	float fConst9;
+	float fRec11[3];
+	float fConst10;
 	float fVec3[2];
-	float fRec32[2];
-	float fRec31[2];
-	float fRec30[8192];
 	float fVec4[2];
-	float fRec42[2];
 	float fRec41[2];
-	float fRec40[8192];
-	float fVec5[2];
+	float fRec40[2];
 	float fRec39[2];
-	float fRec27[2];
-	float fRec28[2];
+	float fRec38[2];
+	float fRec37[2];
+	float fRec36[3];
+	float fRec35[3];
+	float fRec34[3];
+	float fRec33[3];
+	float fRec32[2];
+	float fVec5[8192];
+	float fVec6[4096];
+	int iConst11;
+	float fConst12;
+	float fConst13;
+	float fConst14;
+	float fConst15;
+	FAUSTFLOAT fHslider8;
+	float fConst16;
+	float fConst17;
+	float fConst18;
 	float fConst19;
+	float fRec43[2];
+	float fRec42[2];
+	float fVec7[16384];
 	float fConst20;
-	float fRec43[3];
-	float fVec6[8192];
-	float fVec7[4096];
 	int iConst21;
-	float fVec8[2048];
+	float fVec8[4096];
 	int iConst22;
 	float fRec8[2];
 	float fConst23;
@@ -136,18 +136,18 @@
 	int iConst29;
 	float fRec44[2];
 	float fConst30;
+	FAUSTFLOAT fHslider9;
+	float fVec11[4096];
 	float fConst31;
 	float fConst32;
 	float fConst33;
+	float fConst34;
 	float fRec51[2];
 	float fRec50[2];
-	float fVec11[32768];
-	float fConst34;
-	int iConst35;
-	float fConst36;
-	FAUSTFLOAT fHslider9;
-	float fVec12[4096];
-	float fVec13[2048];
+	float fVec12[16384];
+	float fConst35;
+	int iConst36;
+	float fVec13[4096];
 	int iConst37;
 	float fRec48[2];
 	float fConst38;
@@ -156,10 +156,10 @@
 	float fConst41;
 	float fRec55[2];
 	float fRec54[2];
-	float fVec14[32768];
+	float fVec14[16384];
 	float fConst42;
 	int iConst43;
-	float fVec15[4096];
+	float fVec15[2048];
 	int iConst44;
 	float fRec52[2];
 	float fConst45;
@@ -180,10 +180,10 @@
 	float fConst55;
 	float fRec63[2];
 	float fRec62[2];
-	float fVec18[16384];
+	float fVec18[32768];
 	float fConst56;
 	int iConst57;
-	float fVec19[2048];
+	float fVec19[4096];
 	int iConst58;
 	float fRec60[2];
 	float fConst59;
@@ -195,7 +195,7 @@
 	float fVec20[16384];
 	float fConst63;
 	int iConst64;
-	float fVec21[4096];
+	float fVec21[2048];
 	int iConst65;
 	float fRec64[2];
 	float fConst66;
@@ -204,10 +204,10 @@
 	float fConst69;
 	float fRec71[2];
 	float fRec70[2];
-	float fVec22[16384];
+	float fVec22[32768];
 	float fConst70;
 	int iConst71;
-	float fVec23[4096];
+	float fVec23[2048];
 	int iConst72;
 	float fRec68[2];
 	float fRec0[3];
@@ -237,7 +237,7 @@
 	m->declare(m->metaInterface, "copyright", "Romain Michon");
 	m->declare(m->metaInterface, "delays.lib/name", "Faust Delay Library");
 	m->declare(m->metaInterface, "delays.lib/version", "0.1");
-	m->declare(m->metaInterface, "description", "WaveGuide Commuted Piano");
+	m->declare(m->metaInterface, "description", "A commuted WaveGuide piano.");
 	m->declare(m->metaInterface, "filename", "piano.dsp");
 	m->declare(m->metaInterface, "filters.lib/allpass_comb:author", "Julius O. Smith III");
 	m->declare(m->metaInterface, "filters.lib/allpass_comb:copyright", "Copyright (C) 2003-2019 by Julius O. Smith III <jos@ccrma.stanford.edu>");
@@ -330,16 +330,16 @@
 
 void instanceResetUserInterfacePiano(Piano* dsp) {
 	USED(dsp);
-	dsp->fHslider0 = (FAUSTFLOAT)0.71999999999999997f;
-	dsp->fHslider1 = (FAUSTFLOAT)0.59999999999999998f;
-	dsp->fHslider2 = (FAUSTFLOAT)0.13700000000000001f;
-	dsp->fHslider3 = (FAUSTFLOAT)440.0f;
-	dsp->fHslider4 = (FAUSTFLOAT)0.0f;
+	dsp->fHslider0 = (FAUSTFLOAT)0.59999999999999998f;
+	dsp->fHslider1 = (FAUSTFLOAT)0.13700000000000001f;
+	dsp->fHslider2 = (FAUSTFLOAT)440.0f;
+	dsp->fHslider3 = (FAUSTFLOAT)0.28000000000000003f;
+	dsp->fHslider4 = (FAUSTFLOAT)0.10000000000000001f;
 	dsp->fButton0 = (FAUSTFLOAT)0.0f;
-	dsp->fHslider5 = (FAUSTFLOAT)1.0f;
-	dsp->fHslider6 = (FAUSTFLOAT)0.10000000000000001f;
-	dsp->fHslider7 = (FAUSTFLOAT)0.28000000000000003f;
-	dsp->fHslider8 = (FAUSTFLOAT)0.10000000000000001f;
+	dsp->fHslider5 = (FAUSTFLOAT)0.0f;
+	dsp->fHslider6 = (FAUSTFLOAT)1.0f;
+	dsp->fHslider7 = (FAUSTFLOAT)0.10000000000000001f;
+	dsp->fHslider8 = (FAUSTFLOAT)0.71999999999999997f;
 	dsp->fHslider9 = (FAUSTFLOAT)0.5f;
 }
 
@@ -349,7 +349,7 @@
 	{
 		int l0;
 		for (l0 = 0; (l0 < 2); l0 = (l0 + 1)) {
-			dsp->fRec11[l0] = 0.0f;
+			dsp->fRec10[l0] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -356,15 +356,14 @@
 	{
 		int l1;
 		for (l1 = 0; (l1 < 2); l1 = (l1 + 1)) {
-			dsp->fRec10[l1] = 0.0f;
+			dsp->fRec19[l1] = 0.0f;
 		}
 	}
-	dsp->IOTA = 0;
 	/* C99 loop */
 	{
 		int l2;
-		for (l2 = 0; (l2 < 16384); l2 = (l2 + 1)) {
-			dsp->fVec0[l2] = 0.0f;
+		for (l2 = 0; (l2 < 2); l2 = (l2 + 1)) {
+			dsp->iRec25[l2] = 0;
 		}
 	}
 	/* C99 loop */
@@ -371,7 +370,7 @@
 	{
 		int l3;
 		for (l3 = 0; (l3 < 2); l3 = (l3 + 1)) {
-			dsp->fRec12[l3] = 0.0f;
+			dsp->fRec27[l3] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -378,7 +377,7 @@
 	{
 		int l4;
 		for (l4 = 0; (l4 < 2); l4 = (l4 + 1)) {
-			dsp->iRec23[l4] = 0;
+			dsp->fRec26[l4] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -385,7 +384,7 @@
 	{
 		int l5;
 		for (l5 = 0; (l5 < 2); l5 = (l5 + 1)) {
-			dsp->fRec25[l5] = 0.0f;
+			dsp->fRec28[l5] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -399,7 +398,7 @@
 	{
 		int l7;
 		for (l7 = 0; (l7 < 2); l7 = (l7 + 1)) {
-			dsp->fRec26[l7] = 0.0f;
+			dsp->fRec23[l7] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -406,7 +405,7 @@
 	{
 		int l8;
 		for (l8 = 0; (l8 < 2); l8 = (l8 + 1)) {
-			dsp->fVec1[l8] = 0.0f;
+			dsp->fRec22[l8] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -413,7 +412,7 @@
 	{
 		int l9;
 		for (l9 = 0; (l9 < 2); l9 = (l9 + 1)) {
-			dsp->fVec2[l9] = 0.0f;
+			dsp->fRec21[l9] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -420,7 +419,7 @@
 	{
 		int l10;
 		for (l10 = 0; (l10 < 2); l10 = (l10 + 1)) {
-			dsp->fRec22[l10] = 0.0f;
+			dsp->fRec20[l10] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -427,7 +426,7 @@
 	{
 		int l11;
 		for (l11 = 0; (l11 < 2); l11 = (l11 + 1)) {
-			dsp->fRec21[l11] = 0.0f;
+			dsp->fVec0[l11] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -434,7 +433,7 @@
 	{
 		int l12;
 		for (l12 = 0; (l12 < 2); l12 = (l12 + 1)) {
-			dsp->fRec20[l12] = 0.0f;
+			dsp->fRec18[l12] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -441,42 +440,43 @@
 	{
 		int l13;
 		for (l13 = 0; (l13 < 2); l13 = (l13 + 1)) {
-			dsp->fRec19[l13] = 0.0f;
+			dsp->fRec17[l13] = 0.0f;
 		}
 	}
+	dsp->IOTA = 0;
 	/* C99 loop */
 	{
 		int l14;
-		for (l14 = 0; (l14 < 2); l14 = (l14 + 1)) {
-			dsp->fRec18[l14] = 0.0f;
+		for (l14 = 0; (l14 < 8192); l14 = (l14 + 1)) {
+			dsp->fRec16[l14] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l15;
-		for (l15 = 0; (l15 < 3); l15 = (l15 + 1)) {
-			dsp->fRec17[l15] = 0.0f;
+		for (l15 = 0; (l15 < 2); l15 = (l15 + 1)) {
+			dsp->fVec1[l15] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l16;
-		for (l16 = 0; (l16 < 3); l16 = (l16 + 1)) {
-			dsp->fRec16[l16] = 0.0f;
+		for (l16 = 0; (l16 < 2); l16 = (l16 + 1)) {
+			dsp->fRec31[l16] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l17;
-		for (l17 = 0; (l17 < 3); l17 = (l17 + 1)) {
-			dsp->fRec15[l17] = 0.0f;
+		for (l17 = 0; (l17 < 2); l17 = (l17 + 1)) {
+			dsp->fRec30[l17] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l18;
-		for (l18 = 0; (l18 < 3); l18 = (l18 + 1)) {
-			dsp->fRec14[l18] = 0.0f;
+		for (l18 = 0; (l18 < 8192); l18 = (l18 + 1)) {
+			dsp->fRec29[l18] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -483,7 +483,7 @@
 	{
 		int l19;
 		for (l19 = 0; (l19 < 2); l19 = (l19 + 1)) {
-			dsp->fRec13[l19] = 0.0f;
+			dsp->fVec2[l19] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -490,7 +490,7 @@
 	{
 		int l20;
 		for (l20 = 0; (l20 < 2); l20 = (l20 + 1)) {
-			dsp->fRec33[l20] = 0.0f;
+			dsp->fRec15[l20] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -497,7 +497,7 @@
 	{
 		int l21;
 		for (l21 = 0; (l21 < 2); l21 = (l21 + 1)) {
-			dsp->fRec38[l21] = 0.0f;
+			dsp->fRec12[l21] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -504,14 +504,14 @@
 	{
 		int l22;
 		for (l22 = 0; (l22 < 2); l22 = (l22 + 1)) {
-			dsp->fRec37[l22] = 0.0f;
+			dsp->fRec13[l22] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l23;
-		for (l23 = 0; (l23 < 2); l23 = (l23 + 1)) {
-			dsp->fRec36[l23] = 0.0f;
+		for (l23 = 0; (l23 < 3); l23 = (l23 + 1)) {
+			dsp->fRec11[l23] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -518,7 +518,7 @@
 	{
 		int l24;
 		for (l24 = 0; (l24 < 2); l24 = (l24 + 1)) {
-			dsp->fRec35[l24] = 0.0f;
+			dsp->fVec3[l24] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -525,7 +525,7 @@
 	{
 		int l25;
 		for (l25 = 0; (l25 < 2); l25 = (l25 + 1)) {
-			dsp->fRec34[l25] = 0.0f;
+			dsp->fVec4[l25] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -532,7 +532,7 @@
 	{
 		int l26;
 		for (l26 = 0; (l26 < 2); l26 = (l26 + 1)) {
-			dsp->fVec3[l26] = 0.0f;
+			dsp->fRec41[l26] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -539,7 +539,7 @@
 	{
 		int l27;
 		for (l27 = 0; (l27 < 2); l27 = (l27 + 1)) {
-			dsp->fRec32[l27] = 0.0f;
+			dsp->fRec40[l27] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -546,14 +546,14 @@
 	{
 		int l28;
 		for (l28 = 0; (l28 < 2); l28 = (l28 + 1)) {
-			dsp->fRec31[l28] = 0.0f;
+			dsp->fRec39[l28] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l29;
-		for (l29 = 0; (l29 < 8192); l29 = (l29 + 1)) {
-			dsp->fRec30[l29] = 0.0f;
+		for (l29 = 0; (l29 < 2); l29 = (l29 + 1)) {
+			dsp->fRec38[l29] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -560,35 +560,35 @@
 	{
 		int l30;
 		for (l30 = 0; (l30 < 2); l30 = (l30 + 1)) {
-			dsp->fVec4[l30] = 0.0f;
+			dsp->fRec37[l30] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l31;
-		for (l31 = 0; (l31 < 2); l31 = (l31 + 1)) {
-			dsp->fRec42[l31] = 0.0f;
+		for (l31 = 0; (l31 < 3); l31 = (l31 + 1)) {
+			dsp->fRec36[l31] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l32;
-		for (l32 = 0; (l32 < 2); l32 = (l32 + 1)) {
-			dsp->fRec41[l32] = 0.0f;
+		for (l32 = 0; (l32 < 3); l32 = (l32 + 1)) {
+			dsp->fRec35[l32] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l33;
-		for (l33 = 0; (l33 < 8192); l33 = (l33 + 1)) {
-			dsp->fRec40[l33] = 0.0f;
+		for (l33 = 0; (l33 < 3); l33 = (l33 + 1)) {
+			dsp->fRec34[l33] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l34;
-		for (l34 = 0; (l34 < 2); l34 = (l34 + 1)) {
-			dsp->fVec5[l34] = 0.0f;
+		for (l34 = 0; (l34 < 3); l34 = (l34 + 1)) {
+			dsp->fRec33[l34] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -595,27 +595,27 @@
 	{
 		int l35;
 		for (l35 = 0; (l35 < 2); l35 = (l35 + 1)) {
-			dsp->fRec39[l35] = 0.0f;
+			dsp->fRec32[l35] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l36;
-		for (l36 = 0; (l36 < 2); l36 = (l36 + 1)) {
-			dsp->fRec27[l36] = 0.0f;
+		for (l36 = 0; (l36 < 8192); l36 = (l36 + 1)) {
+			dsp->fVec5[l36] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l37;
-		for (l37 = 0; (l37 < 2); l37 = (l37 + 1)) {
-			dsp->fRec28[l37] = 0.0f;
+		for (l37 = 0; (l37 < 4096); l37 = (l37 + 1)) {
+			dsp->fVec6[l37] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l38;
-		for (l38 = 0; (l38 < 3); l38 = (l38 + 1)) {
+		for (l38 = 0; (l38 < 2); l38 = (l38 + 1)) {
 			dsp->fRec43[l38] = 0.0f;
 		}
 	}
@@ -622,14 +622,14 @@
 	/* C99 loop */
 	{
 		int l39;
-		for (l39 = 0; (l39 < 8192); l39 = (l39 + 1)) {
-			dsp->fVec6[l39] = 0.0f;
+		for (l39 = 0; (l39 < 2); l39 = (l39 + 1)) {
+			dsp->fRec42[l39] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l40;
-		for (l40 = 0; (l40 < 4096); l40 = (l40 + 1)) {
+		for (l40 = 0; (l40 < 16384); l40 = (l40 + 1)) {
 			dsp->fVec7[l40] = 0.0f;
 		}
 	}
@@ -636,7 +636,7 @@
 	/* C99 loop */
 	{
 		int l41;
-		for (l41 = 0; (l41 < 2048); l41 = (l41 + 1)) {
+		for (l41 = 0; (l41 < 4096); l41 = (l41 + 1)) {
 			dsp->fVec8[l41] = 0.0f;
 		}
 	}
@@ -685,8 +685,8 @@
 	/* C99 loop */
 	{
 		int l48;
-		for (l48 = 0; (l48 < 2); l48 = (l48 + 1)) {
-			dsp->fRec51[l48] = 0.0f;
+		for (l48 = 0; (l48 < 4096); l48 = (l48 + 1)) {
+			dsp->fVec11[l48] = 0.0f;
 		}
 	}
 	/* C99 loop */
@@ -693,20 +693,20 @@
 	{
 		int l49;
 		for (l49 = 0; (l49 < 2); l49 = (l49 + 1)) {
-			dsp->fRec50[l49] = 0.0f;
+			dsp->fRec51[l49] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l50;
-		for (l50 = 0; (l50 < 32768); l50 = (l50 + 1)) {
-			dsp->fVec11[l50] = 0.0f;
+		for (l50 = 0; (l50 < 2); l50 = (l50 + 1)) {
+			dsp->fRec50[l50] = 0.0f;
 		}
 	}
 	/* C99 loop */
 	{
 		int l51;
-		for (l51 = 0; (l51 < 4096); l51 = (l51 + 1)) {
+		for (l51 = 0; (l51 < 16384); l51 = (l51 + 1)) {
 			dsp->fVec12[l51] = 0.0f;
 		}
 	}
@@ -713,7 +713,7 @@
 	/* C99 loop */
 	{
 		int l52;
-		for (l52 = 0; (l52 < 2048); l52 = (l52 + 1)) {
+		for (l52 = 0; (l52 < 4096); l52 = (l52 + 1)) {
 			dsp->fVec13[l52] = 0.0f;
 		}
 	}
@@ -741,7 +741,7 @@
 	/* C99 loop */
 	{
 		int l56;
-		for (l56 = 0; (l56 < 32768); l56 = (l56 + 1)) {
+		for (l56 = 0; (l56 < 16384); l56 = (l56 + 1)) {
 			dsp->fVec14[l56] = 0.0f;
 		}
 	}
@@ -748,7 +748,7 @@
 	/* C99 loop */
 	{
 		int l57;
-		for (l57 = 0; (l57 < 4096); l57 = (l57 + 1)) {
+		for (l57 = 0; (l57 < 2048); l57 = (l57 + 1)) {
 			dsp->fVec15[l57] = 0.0f;
 		}
 	}
@@ -811,7 +811,7 @@
 	/* C99 loop */
 	{
 		int l66;
-		for (l66 = 0; (l66 < 16384); l66 = (l66 + 1)) {
+		for (l66 = 0; (l66 < 32768); l66 = (l66 + 1)) {
 			dsp->fVec18[l66] = 0.0f;
 		}
 	}
@@ -818,7 +818,7 @@
 	/* C99 loop */
 	{
 		int l67;
-		for (l67 = 0; (l67 < 2048); l67 = (l67 + 1)) {
+		for (l67 = 0; (l67 < 4096); l67 = (l67 + 1)) {
 			dsp->fVec19[l67] = 0.0f;
 		}
 	}
@@ -853,7 +853,7 @@
 	/* C99 loop */
 	{
 		int l72;
-		for (l72 = 0; (l72 < 4096); l72 = (l72 + 1)) {
+		for (l72 = 0; (l72 < 2048); l72 = (l72 + 1)) {
 			dsp->fVec21[l72] = 0.0f;
 		}
 	}
@@ -881,7 +881,7 @@
 	/* C99 loop */
 	{
 		int l76;
-		for (l76 = 0; (l76 < 16384); l76 = (l76 + 1)) {
+		for (l76 = 0; (l76 < 32768); l76 = (l76 + 1)) {
 			dsp->fVec22[l76] = 0.0f;
 		}
 	}
@@ -888,7 +888,7 @@
 	/* C99 loop */
 	{
 		int l77;
-		for (l77 = 0; (l77 < 4096); l77 = (l77 + 1)) {
+		for (l77 = 0; (l77 < 2048); l77 = (l77 + 1)) {
 			dsp->fVec23[l77] = 0.0f;
 		}
 	}
@@ -962,50 +962,50 @@
 	USED(dsp);
 	dsp->fSampleRate = sample_rate;
 	dsp->fConst0 = fminf(192000.0f, fmaxf(1.0f, (float)dsp->fSampleRate));
-	dsp->fConst1 = cosf((37699.1133f / dsp->fConst0));
-	dsp->fConst2 = floorf(((0.125f * dsp->fConst0) + 0.5f));
-	dsp->fConst3 = ((0.0f - (6.90775537f * dsp->fConst2)) / dsp->fConst0);
-	dsp->fConst4 = (0.5f * dsp->fConst3);
-	dsp->fConst5 = (0.333333343f * dsp->fConst3);
-	dsp->fConst6 = (1.0f / tanf((628.318542f / dsp->fConst0)));
-	dsp->fConst7 = (1.0f / (dsp->fConst6 + 1.0f));
-	dsp->fConst8 = (1.0f - dsp->fConst6);
-	dsp->fConst9 = floorf(((0.0134579996f * dsp->fConst0) + 0.5f));
-	dsp->iConst10 = (int)fminf(8192.0f, fmaxf(0.0f, (dsp->fConst2 - dsp->fConst9)));
-	dsp->fConst11 = (0.0500000007f / dsp->fConst0);
-	dsp->fConst12 = (7.0f / dsp->fConst0);
-	dsp->fConst13 = expf((0.0f - (5.0f / dsp->fConst0)));
-	dsp->fConst14 = expf((0.0f - (0.5f / dsp->fConst0)));
-	dsp->fConst15 = (0.100000001f * dsp->fConst0);
-	dsp->fConst16 = (10.0f / dsp->fConst0);
-	dsp->fConst17 = (6.28318548f / dsp->fConst0);
-	dsp->fConst18 = (0.159154937f * dsp->fConst0);
-	dsp->fConst19 = (1.0f / Piano_faustpower2_f(dsp->fConst0));
-	dsp->fConst20 = (2.0f / dsp->fConst0);
-	dsp->iConst21 = (int)fminf(8192.0f, fmaxf(0.0f, (0.0199999996f * dsp->fConst0)));
-	dsp->iConst22 = (int)fminf(1024.0f, fmaxf(0.0f, (dsp->fConst9 + -1.0f)));
-	dsp->fConst23 = floorf(((0.174713001f * dsp->fConst0) + 0.5f));
+	dsp->fConst1 = (1.0f / Piano_faustpower2_f(dsp->fConst0));
+	dsp->fConst2 = (0.159154937f * dsp->fConst0);
+	dsp->fConst3 = (6.28318548f / dsp->fConst0);
+	dsp->fConst4 = (7.0f / dsp->fConst0);
+	dsp->fConst5 = expf((0.0f - (5.0f / dsp->fConst0)));
+	dsp->fConst6 = expf((0.0f - (0.5f / dsp->fConst0)));
+	dsp->fConst7 = (0.100000001f * dsp->fConst0);
+	dsp->fConst8 = (10.0f / dsp->fConst0);
+	dsp->fConst9 = (2.0f / dsp->fConst0);
+	dsp->fConst10 = (0.0500000007f / dsp->fConst0);
+	dsp->iConst11 = (int)fminf(8192.0f, fmaxf(0.0f, (0.0199999996f * dsp->fConst0)));
+	dsp->fConst12 = cosf((37699.1133f / dsp->fConst0));
+	dsp->fConst13 = floorf(((0.174713001f * dsp->fConst0) + 0.5f));
+	dsp->fConst14 = ((0.0f - (6.90775537f * dsp->fConst13)) / dsp->fConst0);
+	dsp->fConst15 = (0.5f * dsp->fConst14);
+	dsp->fConst16 = (0.333333343f * dsp->fConst14);
+	dsp->fConst17 = (1.0f / tanf((628.318542f / dsp->fConst0)));
+	dsp->fConst18 = (1.0f / (dsp->fConst17 + 1.0f));
+	dsp->fConst19 = (1.0f - dsp->fConst17);
+	dsp->fConst20 = floorf(((0.0229039993f * dsp->fConst0) + 0.5f));
+	dsp->iConst21 = (int)fminf(8192.0f, fmaxf(0.0f, (dsp->fConst13 - dsp->fConst20)));
+	dsp->iConst22 = (int)fminf(2048.0f, fmaxf(0.0f, (dsp->fConst20 + -1.0f)));
+	dsp->fConst23 = floorf(((0.127837002f * dsp->fConst0) + 0.5f));
 	dsp->fConst24 = ((0.0f - (6.90775537f * dsp->fConst23)) / dsp->fConst0);
 	dsp->fConst25 = (0.5f * dsp->fConst24);
 	dsp->fConst26 = (0.333333343f * dsp->fConst24);
-	dsp->fConst27 = floorf(((0.0229039993f * dsp->fConst0) + 0.5f));
+	dsp->fConst27 = floorf(((0.0316039994f * dsp->fConst0) + 0.5f));
 	dsp->iConst28 = (int)fminf(8192.0f, fmaxf(0.0f, (dsp->fConst23 - dsp->fConst27)));
 	dsp->iConst29 = (int)fminf(2048.0f, fmaxf(0.0f, (dsp->fConst27 + -1.0f)));
-	dsp->fConst30 = floorf(((0.219990999f * dsp->fConst0) + 0.5f));
-	dsp->fConst31 = ((0.0f - (6.90775537f * dsp->fConst30)) / dsp->fConst0);
-	dsp->fConst32 = (0.5f * dsp->fConst31);
-	dsp->fConst33 = (0.333333343f * dsp->fConst31);
-	dsp->fConst34 = floorf(((0.0191229992f * dsp->fConst0) + 0.5f));
-	dsp->iConst35 = (int)fminf(16384.0f, fmaxf(0.0f, (dsp->fConst30 - dsp->fConst34)));
-	dsp->fConst36 = (0.5f * dsp->fConst0);
-	dsp->iConst37 = (int)fminf(1024.0f, fmaxf(0.0f, (dsp->fConst34 + -1.0f)));
-	dsp->fConst38 = floorf(((0.256891012f * dsp->fConst0) + 0.5f));
+	dsp->fConst30 = (0.5f * dsp->fConst0);
+	dsp->fConst31 = floorf(((0.192303002f * dsp->fConst0) + 0.5f));
+	dsp->fConst32 = ((0.0f - (6.90775537f * dsp->fConst31)) / dsp->fConst0);
+	dsp->fConst33 = (0.5f * dsp->fConst32);
+	dsp->fConst34 = (0.333333343f * dsp->fConst32);
+	dsp->fConst35 = floorf(((0.0292910002f * dsp->fConst0) + 0.5f));
+	dsp->iConst36 = (int)fminf(8192.0f, fmaxf(0.0f, (dsp->fConst31 - dsp->fConst35)));
+	dsp->iConst37 = (int)fminf(2048.0f, fmaxf(0.0f, (dsp->fConst35 + -1.0f)));
+	dsp->fConst38 = floorf(((0.125f * dsp->fConst0) + 0.5f));
 	dsp->fConst39 = ((0.0f - (6.90775537f * dsp->fConst38)) / dsp->fConst0);
 	dsp->fConst40 = (0.5f * dsp->fConst39);
 	dsp->fConst41 = (0.333333343f * dsp->fConst39);
-	dsp->fConst42 = floorf(((0.0273330007f * dsp->fConst0) + 0.5f));
-	dsp->iConst43 = (int)fminf(16384.0f, fmaxf(0.0f, (dsp->fConst38 - dsp->fConst42)));
-	dsp->iConst44 = (int)fminf(2048.0f, fmaxf(0.0f, (dsp->fConst42 + -1.0f)));
+	dsp->fConst42 = floorf(((0.0134579996f * dsp->fConst0) + 0.5f));
+	dsp->iConst43 = (int)fminf(8192.0f, fmaxf(0.0f, (dsp->fConst38 - dsp->fConst42)));
+	dsp->iConst44 = (int)fminf(1024.0f, fmaxf(0.0f, (dsp->fConst42 + -1.0f)));
 	dsp->fConst45 = floorf(((0.210389003f * dsp->fConst0) + 0.5f));
 	dsp->fConst46 = ((0.0f - (6.90775537f * dsp->fConst45)) / dsp->fConst0);
 	dsp->fConst47 = (0.5f * dsp->fConst46);
@@ -1013,27 +1013,27 @@
 	dsp->fConst49 = floorf(((0.0244210009f * dsp->fConst0) + 0.5f));
 	dsp->iConst50 = (int)fminf(16384.0f, fmaxf(0.0f, (dsp->fConst45 - dsp->fConst49)));
 	dsp->iConst51 = (int)fminf(2048.0f, fmaxf(0.0f, (dsp->fConst49 + -1.0f)));
-	dsp->fConst52 = floorf(((0.153128996f * dsp->fConst0) + 0.5f));
+	dsp->fConst52 = floorf(((0.256891012f * dsp->fConst0) + 0.5f));
 	dsp->fConst53 = ((0.0f - (6.90775537f * dsp->fConst52)) / dsp->fConst0);
 	dsp->fConst54 = (0.5f * dsp->fConst53);
 	dsp->fConst55 = (0.333333343f * dsp->fConst53);
-	dsp->fConst56 = floorf(((0.0203460008f * dsp->fConst0) + 0.5f));
-	dsp->iConst57 = (int)fminf(8192.0f, fmaxf(0.0f, (dsp->fConst52 - dsp->fConst56)));
-	dsp->iConst58 = (int)fminf(1024.0f, fmaxf(0.0f, (dsp->fConst56 + -1.0f)));
-	dsp->fConst59 = floorf(((0.127837002f * dsp->fConst0) + 0.5f));
+	dsp->fConst56 = floorf(((0.0273330007f * dsp->fConst0) + 0.5f));
+	dsp->iConst57 = (int)fminf(16384.0f, fmaxf(0.0f, (dsp->fConst52 - dsp->fConst56)));
+	dsp->iConst58 = (int)fminf(2048.0f, fmaxf(0.0f, (dsp->fConst56 + -1.0f)));
+	dsp->fConst59 = floorf(((0.153128996f * dsp->fConst0) + 0.5f));
 	dsp->fConst60 = ((0.0f - (6.90775537f * dsp->fConst59)) / dsp->fConst0);
 	dsp->fConst61 = (0.5f * dsp->fConst60);
 	dsp->fConst62 = (0.333333343f * dsp->fConst60);
-	dsp->fConst63 = floorf(((0.0316039994f * dsp->fConst0) + 0.5f));
+	dsp->fConst63 = floorf(((0.0203460008f * dsp->fConst0) + 0.5f));
 	dsp->iConst64 = (int)fminf(8192.0f, fmaxf(0.0f, (dsp->fConst59 - dsp->fConst63)));
-	dsp->iConst65 = (int)fminf(2048.0f, fmaxf(0.0f, (dsp->fConst63 + -1.0f)));
-	dsp->fConst66 = floorf(((0.192303002f * dsp->fConst0) + 0.5f));
+	dsp->iConst65 = (int)fminf(1024.0f, fmaxf(0.0f, (dsp->fConst63 + -1.0f)));
+	dsp->fConst66 = floorf(((0.219990999f * dsp->fConst0) + 0.5f));
 	dsp->fConst67 = ((0.0f - (6.90775537f * dsp->fConst66)) / dsp->fConst0);
 	dsp->fConst68 = (0.5f * dsp->fConst67);
 	dsp->fConst69 = (0.333333343f * dsp->fConst67);
-	dsp->fConst70 = floorf(((0.0292910002f * dsp->fConst0) + 0.5f));
-	dsp->iConst71 = (int)fminf(8192.0f, fmaxf(0.0f, (dsp->fConst66 - dsp->fConst70)));
-	dsp->iConst72 = (int)fminf(2048.0f, fmaxf(0.0f, (dsp->fConst70 + -1.0f)));
+	dsp->fConst70 = floorf(((0.0191229992f * dsp->fConst0) + 0.5f));
+	dsp->iConst71 = (int)fminf(16384.0f, fmaxf(0.0f, (dsp->fConst66 - dsp->fConst70)));
+	dsp->iConst72 = (int)fminf(1024.0f, fmaxf(0.0f, (dsp->fConst70 + -1.0f)));
 }
 
 void instanceInitPiano(Piano* dsp, int sample_rate) {
@@ -1055,37 +1055,38 @@
 	USED(dsp);
 	ui_interface->openVerticalBox(ui_interface->uiInterface, "Piano");
 	ui_interface->openHorizontalBox(ui_interface->uiInterface, "Basic");
-	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider3, "1", "");
-	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider3, "tooltip", "Tone frequency");
-	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider3, "unit", "Hz");
-	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "Freq", &dsp->fHslider3, 440.0f, 20.0f, 20000.0f, 1.0f);
-	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider5, "1", "");
-	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider5, "tooltip", "Gain (value between 0 and 1)");
-	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "Gain", &dsp->fHslider5, 1.0f, 0.0f, 1.0f, 0.00999999978f);
+	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider2, "1", "");
+	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider2, "tooltip", "Tone frequency");
+	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider2, "unit", "Hz");
+	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "Freq", &dsp->fHslider2, 440.0f, 20.0f, 20000.0f, 1.0f);
+	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider6, "1", "");
+	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider6, "tooltip", "Gain (value between 0 and 1)");
+	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "Gain", &dsp->fHslider6, 1.0f, 0.0f, 1.0f, 0.00999999978f);
 	ui_interface->declare(ui_interface->uiInterface, &dsp->fButton0, "1", "");
+	ui_interface->declare(ui_interface->uiInterface, &dsp->fButton0, "autovoice", "");
 	ui_interface->declare(ui_interface->uiInterface, &dsp->fButton0, "tooltip", "noteOn = 1, noteOff = 0");
 	ui_interface->addButton(ui_interface->uiInterface, "Gate", &dsp->fButton0);
 	ui_interface->closeBox(ui_interface->uiInterface);
 	ui_interface->openVerticalBox(ui_interface->uiInterface, "Physical");
+	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider5, "2", "");
+	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider5, "tooltip", "A value between 0 and 1");
+	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "Brightness Factor", &dsp->fHslider5, 0.0f, 0.0f, 1.0f, 0.00999999978f);
 	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider4, "2", "");
 	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider4, "tooltip", "A value between 0 and 1");
-	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "Brightness Factor", &dsp->fHslider4, 0.0f, 0.0f, 1.0f, 0.00999999978f);
-	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider8, "2", "");
-	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider8, "tooltip", "A value between 0 and 1");
-	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "Detuning Factor", &dsp->fHslider8, 0.100000001f, 0.0f, 1.0f, 0.00999999978f);
-	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider6, "2", "");
-	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider6, "tooltip", "A value between 0 and 1");
-	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "Hammer Hardness", &dsp->fHslider6, 0.100000001f, 0.0f, 1.0f, 0.00999999978f);
+	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "Detuning Factor", &dsp->fHslider4, 0.100000001f, 0.0f, 1.0f, 0.00999999978f);
 	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider7, "2", "");
 	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider7, "tooltip", "A value between 0 and 1");
-	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "Stiffness Factor", &dsp->fHslider7, 0.280000001f, 0.0f, 1.0f, 0.00999999978f);
+	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "Hammer Hardness", &dsp->fHslider7, 0.100000001f, 0.0f, 1.0f, 0.00999999978f);
+	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider3, "2", "");
+	ui_interface->declare(ui_interface->uiInterface, &dsp->fHslider3, "tooltip", "A value between 0 and 1");
+	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "Stiffness Factor", &dsp->fHslider3, 0.280000001f, 0.0f, 1.0f, 0.00999999978f);
 	ui_interface->closeBox(ui_interface->uiInterface);
 	ui_interface->openVerticalBox(ui_interface->uiInterface, "Reverb");
-	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "reverbGain", &dsp->fHslider2, 0.136999995f, 0.0f, 1.0f, 0.00999999978f);
-	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "roomSize", &dsp->fHslider0, 0.720000029f, 0.00999999978f, 2.0f, 0.00999999978f);
+	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "reverbGain", &dsp->fHslider1, 0.136999995f, 0.0f, 1.0f, 0.00999999978f);
+	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "roomSize", &dsp->fHslider8, 0.720000029f, 0.00999999978f, 2.0f, 0.00999999978f);
 	ui_interface->closeBox(ui_interface->uiInterface);
 	ui_interface->openVerticalBox(ui_interface->uiInterface, "Spat");
-	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "pan angle", &dsp->fHslider1, 0.600000024f, 0.0f, 1.0f, 0.00999999978f);
+	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "pan angle", &dsp->fHslider0, 0.600000024f, 0.0f, 1.0f, 0.00999999978f);
 	ui_interface->addHorizontalSlider(ui_interface->uiInterface, "spatial width", &dsp->fHslider9, 0.5f, 0.0f, 1.0f, 0.00999999978f);
 	ui_interface->closeBox(ui_interface->uiInterface);
 	ui_interface->closeBox(ui_interface->uiInterface);
@@ -1097,369 +1098,365 @@
 	FAUSTFLOAT* output0 = outputs[0];
 	FAUSTFLOAT* output1 = outputs[1];
 	float fSlow0 = (float)dsp->fHslider0;
-	float fSlow1 = expf((dsp->fConst4 / fSlow0));
-	float fSlow2 = Piano_faustpower2_f(fSlow1);
-	float fSlow3 = (1.0f - (dsp->fConst1 * fSlow2));
-	float fSlow4 = (1.0f - fSlow2);
-	float fSlow5 = (fSlow3 / fSlow4);
-	float fSlow6 = sqrtf(fmaxf(0.0f, ((Piano_faustpower2_f(fSlow3) / Piano_faustpower2_f(fSlow4)) + -1.0f)));
-	float fSlow7 = (fSlow5 - fSlow6);
-	float fSlow8 = (fSlow1 * (fSlow6 + (1.0f - fSlow5)));
-	float fSlow9 = ((expf((dsp->fConst5 / fSlow0)) / fSlow1) + -1.0f);
-	float fSlow10 = (float)dsp->fHslider1;
-	float fSlow11 = (12.0f * (1.0f - fSlow10));
-	float fSlow12 = (0.00100000005f * (float)dsp->fHslider2);
-	float fSlow13 = (float)dsp->fHslider3;
-	int iSlow14 = (int)((17.3123398f * (logf(fSlow13) + -6.08677483f)) + 69.5f);
-	float fSlow15 = (float)getValueDCBa1((float)iSlow14);
-	float fSlow16 = (1.0f - fSlow15);
-	float fSlow17 = powf(10.0f, (0.0500000007f * (float)getValueSecondStageAmpRatio((float)iSlow14)));
-	float fSlow18 = powf(10.0f, (dsp->fConst11 * (float)getValuer1_1db((float)iSlow14)));
-	float fSlow19 = Piano_faustpower2_f(fSlow18);
-	float fSlow20 = powf(10.0f, (dsp->fConst11 * (float)getValuer1_2db((float)iSlow14)));
-	float fSlow21 = Piano_faustpower2_f(fSlow20);
-	float fSlow22 = (1.0f - fSlow17);
-	float fSlow23 = ((fSlow17 * fSlow19) + (fSlow21 * fSlow22));
-	float fSlow24 = (2.0f * (float)getValueBq4_gEarBalled((float)iSlow14));
-	float fSlow25 = (0.25f * (float)dsp->fHslider4);
-	float fSlow26 = (float)getValueLoudPole((float)iSlow14);
-	float fSlow27 = ((fSlow25 + (0.980000019f - fSlow26)) * (float)getValueLoudGain((float)iSlow14));
-	float fSlow28 = (0.5f * fSlow16);
-	float fSlow29 = (float)(iSlow14 >= 88);
-	float fSlow30 = (2.32830644e-10f * fSlow29);
-	float fSlow31 = (float)dsp->fButton0;
-	int iSlow32 = (fSlow31 > 0.0f);
-	float fSlow33 = expf((0.0f - (dsp->fConst12 / ((float)dsp->fHslider5 * (float)getValueDryTapAmpT60((float)iSlow14)))));
-	int iSlow34 = (fSlow31 < 1.0f);
-	float fSlow35 = (0.0f - (fSlow31 + -1.0f));
-	float fSlow36 = (dsp->fConst13 * fSlow35);
-	float fSlow37 = (float)dsp->fHslider6;
-	float fSlow38 = (dsp->fConst15 * fSlow37);
-	float fSlow39 = expf((0.0f - (dsp->fConst16 / fSlow37)));
-	float fSlow40 = (0.200000003f * (float)getValueSustainPedalLevel((float)iSlow14));
-	float fSlow41 = (1.16415322e-10f * fSlow29);
-	float fSlow42 = (0.0f - fSlow28);
-	float fSlow43 = (fSlow26 + (0.0199999996f - fSlow25));
-	float fSlow44 = powf(10.0f, (dsp->fConst11 * (float)getValuer3db((float)iSlow14)));
-	float fSlow45 = (cosf((dsp->fConst17 * (fSlow13 * (float)getValueThirdPartialFactor((float)iSlow14)))) * (0.0f - (2.0f * fSlow44)));
-	float fSlow46 = Piano_faustpower2_f(fSlow44);
-	float fSlow47 = powf(10.0f, (dsp->fConst11 * (float)getValuer2db((float)iSlow14)));
-	float fSlow48 = (cosf((dsp->fConst17 * (fSlow13 * (float)getValueSecondPartialFactor((float)iSlow14)))) * (0.0f - (2.0f * fSlow47)));
-	float fSlow49 = Piano_faustpower2_f(fSlow47);
-	float fSlow50 = cosf((dsp->fConst17 * fSlow13));
-	float fSlow51 = (fSlow50 * (0.0f - (2.0f * fSlow18)));
-	float fSlow52 = (0.0f - (2.0f * ((fSlow17 * fSlow18) + (fSlow20 * fSlow22))));
-	float fSlow53 = (0.0f - (2.0f * fSlow20));
-	float fSlow54 = (float)dsp->fHslider7;
-	float fSlow55 = (float)getValueStiffnessCoefficient((float)iSlow14);
-	float fSlow56 = (13.6899996f * (Piano_faustpower2_f(fSlow54) * Piano_faustpower2_f(fSlow55)));
-	float fSlow57 = (fSlow56 + -1.0f);
-	float fSlow58 = (5.0f * ((float)dsp->fHslider8 * (float)getValueDetuningHz((float)iSlow14)));
-	float fSlow59 = (fSlow13 + fSlow58);
-	float fSlow60 = (dsp->fConst17 * fSlow59);
-	float fSlow61 = sinf(fSlow60);
-	float fSlow62 = (fSlow54 * fSlow55);
-	float fSlow63 = (7.4000001f * fSlow62);
-	float fSlow64 = (fSlow56 + 1.0f);
-	float fSlow65 = cosf(fSlow60);
-	float fSlow66 = (3.0f * atan2f((fSlow57 * fSlow61), (fSlow63 + (fSlow64 * fSlow65))));
-	float fSlow67 = powf(10.0f, (0.0500000007f * ((float)getValueSingleStringDecayRate((float)iSlow14) / fSlow13)));
-	float fSlow68 = (float)getValueSingleStringZero((float)iSlow14);
-	float fSlow69 = (float)getValueSingleStringPole((float)iSlow14);
-	float fSlow70 = (1.0f - fSlow69);
-	float fSlow71 = ((fSlow67 * fSlow68) * fSlow70);
-	float fSlow72 = (1.0f - fSlow68);
-	float fSlow73 = (fSlow69 * fSlow72);
-	float fSlow74 = (3.0f * fSlow73);
-	float fSlow75 = (fSlow71 - fSlow74);
-	float fSlow76 = (fSlow73 - fSlow71);
-	float fSlow77 = (4.0f * fSlow76);
-	float fSlow78 = (fSlow75 + fSlow77);
-	float fSlow79 = (fSlow67 * fSlow70);
-	float fSlow80 = ((3.0f * fSlow72) - fSlow79);
-	float fSlow81 = (((fSlow65 * fSlow75) / fSlow80) + 1.0f);
-	float fSlow82 = ((fSlow68 + fSlow79) + -1.0f);
-	float fSlow83 = (4.0f * fSlow82);
-	float fSlow84 = (((fSlow83 + (fSlow65 * fSlow78)) / fSlow80) + 1.0f);
-	float fSlow85 = (Piano_faustpower2_f(fSlow61) * fSlow75);
-	float fSlow86 = Piano_faustpower2_f(fSlow80);
-	float fSlow87 = (dsp->fConst18 * (((fSlow66 + atan2f((((0.0f - ((fSlow61 * fSlow78) / fSlow80)) * fSlow81) + (((fSlow61 * fSlow75) * fSlow84) / fSlow80)), ((fSlow81 * fSlow84) + ((fSlow85 * fSlow78) / fSlow86)))) + 6.28318548f) / fSlow59));
-	float fSlow88 = floorf(fSlow87);
-	float fSlow89 = (fSlow88 + (1.0f - fSlow87));
-	float fSlow90 = (0.00100000005f * ((0.999599993f * fSlow31) + (0.899999976f * (fSlow35 * (float)getValueReleaseLoopGain((float)iSlow14)))));
-	float fSlow91 = (1.39698386e-09f * (fSlow27 * (float)(iSlow14 < 88)));
-	float fSlow92 = (3.70000005f * fSlow62);
-	float fSlow93 = ((fSlow71 + fSlow77) - fSlow74);
-	float fSlow94 = (((fSlow83 + (fSlow65 * fSlow93)) / fSlow80) + 1.0f);
-	int iSlow95 = (int)(dsp->fConst18 * (((fSlow66 + atan2f(((fSlow61 * ((fSlow75 * fSlow94) - (fSlow93 * fSlow81))) / fSlow80), ((fSlow81 * fSlow94) + ((fSlow85 * fSlow93) / fSlow86)))) + 6.28318548f) / fSlow59));
-	int iSlow96 = min(4097, max(0, iSlow95));
-	float fSlow97 = (1.0f / fSlow80);
-	float fSlow98 = (fSlow13 - fSlow58);
-	float fSlow99 = (dsp->fConst17 * fSlow98);
-	float fSlow100 = sinf(fSlow99);
-	float fSlow101 = cosf(fSlow99);
-	float fSlow102 = (3.0f * atan2f((fSlow57 * fSlow100), (fSlow63 + (fSlow64 * fSlow101))));
-	float fSlow103 = (((fSlow101 * fSlow75) / fSlow80) + 1.0f);
-	float fSlow104 = ((((fSlow101 * fSlow78) + fSlow83) / fSlow80) + 1.0f);
-	float fSlow105 = (Piano_faustpower2_f(fSlow100) * fSlow75);
-	float fSlow106 = (dsp->fConst18 * (((fSlow102 + atan2f((((0.0f - ((fSlow100 * fSlow78) / fSlow80)) * fSlow103) + (((fSlow100 * fSlow75) * fSlow104) / fSlow80)), ((fSlow103 * fSlow104) + ((fSlow105 * fSlow78) / fSlow86)))) + 6.28318548f) / fSlow98));
-	float fSlow107 = floorf(fSlow106);
-	float fSlow108 = (fSlow107 + (1.0f - fSlow106));
-	float fSlow109 = (((fSlow83 + (fSlow101 * fSlow93)) / fSlow80) + 1.0f);
-	int iSlow110 = (int)(dsp->fConst18 * (((fSlow102 + atan2f((0.0f - ((fSlow100 * ((fSlow103 * fSlow93) - (fSlow75 * fSlow109))) / fSlow80)), ((fSlow103 * fSlow109) + ((fSlow105 * fSlow93) / fSlow86)))) + 6.28318548f) / fSlow98));
-	int iSlow111 = min(4097, max(0, iSlow110));
-	float fSlow112 = (fSlow106 - fSlow107);
-	int iSlow113 = min(4097, max(0, (iSlow110 + 1)));
-	float fSlow114 = (fSlow87 - fSlow88);
-	int iSlow115 = min(4097, max(0, (iSlow95 + 1)));
-	float fSlow116 = (float)getValueEQBandWidthFactor((float)iSlow14);
-	float fSlow117 = (dsp->fConst19 * (Piano_faustpower2_f(fSlow13) * Piano_faustpower2_f(fSlow116)));
-	float fSlow118 = (0.0f - (0.5f * (fSlow117 + -1.0f)));
-	float fSlow119 = (float)getValueEQGain((float)iSlow14);
-	float fSlow120 = ((0.0f - (dsp->fConst20 * (fSlow13 * fSlow116))) * cosf((dsp->fConst17 * (fSlow13 / (float)getValueStrikePosition((float)iSlow14)))));
-	float fSlow121 = expf((dsp->fConst25 / fSlow0));
+	float fSlow1 = (12.0f * (1.0f - fSlow0));
+	float fSlow2 = (0.00100000005f * (float)dsp->fHslider1);
+	float fSlow3 = (float)dsp->fHslider2;
+	int iSlow4 = (int)((17.3123398f * (logf(fSlow3) + -6.08677483f)) + 69.5f);
+	float fSlow5 = (float)getValueEQBandWidthFactor((float)iSlow4);
+	float fSlow6 = (dsp->fConst1 * (Piano_faustpower2_f(fSlow3) * Piano_faustpower2_f(fSlow5)));
+	float fSlow7 = (0.5f * (1.0f - fSlow6));
+	float fSlow8 = (float)getValueEQGain((float)iSlow4);
+	float fSlow9 = (float)getValueSingleStringZero((float)iSlow4);
+	float fSlow10 = (1.0f - fSlow9);
+	float fSlow11 = powf(10.0f, (0.0500000007f * ((float)getValueSingleStringDecayRate((float)iSlow4) / fSlow3)));
+	float fSlow12 = (float)getValueSingleStringPole((float)iSlow4);
+	float fSlow13 = (1.0f - fSlow12);
+	float fSlow14 = (fSlow11 * fSlow13);
+	float fSlow15 = ((3.0f * fSlow10) - fSlow14);
+	float fSlow16 = (1.0f / fSlow15);
+	float fSlow17 = (fSlow12 * fSlow10);
+	float fSlow18 = ((fSlow11 * fSlow9) * fSlow13);
+	float fSlow19 = (fSlow17 - fSlow18);
+	float fSlow20 = (float)dsp->fHslider3;
+	float fSlow21 = (float)getValueStiffnessCoefficient((float)iSlow4);
+	float fSlow22 = (13.6899996f * (Piano_faustpower2_f(fSlow20) * Piano_faustpower2_f(fSlow21)));
+	float fSlow23 = (fSlow22 + -1.0f);
+	float fSlow24 = (5.0f * ((float)dsp->fHslider4 * (float)getValueDetuningHz((float)iSlow4)));
+	float fSlow25 = (fSlow3 + fSlow24);
+	float fSlow26 = (dsp->fConst3 * fSlow25);
+	float fSlow27 = sinf(fSlow26);
+	float fSlow28 = (fSlow20 * fSlow21);
+	float fSlow29 = (7.4000001f * fSlow28);
+	float fSlow30 = (fSlow22 + 1.0f);
+	float fSlow31 = cosf(fSlow26);
+	float fSlow32 = (3.0f * atan2f((fSlow23 * fSlow27), (fSlow29 + (fSlow30 * fSlow31))));
+	float fSlow33 = (3.0f * fSlow17);
+	float fSlow34 = (fSlow18 - fSlow33);
+	float fSlow35 = (4.0f * fSlow19);
+	float fSlow36 = (fSlow34 + fSlow35);
+	float fSlow37 = (((fSlow31 * fSlow34) / fSlow15) + 1.0f);
+	float fSlow38 = ((fSlow9 + fSlow14) + -1.0f);
+	float fSlow39 = (4.0f * fSlow38);
+	float fSlow40 = (((fSlow39 + (fSlow31 * fSlow36)) / fSlow15) + 1.0f);
+	float fSlow41 = (Piano_faustpower2_f(fSlow27) * fSlow34);
+	float fSlow42 = Piano_faustpower2_f(fSlow15);
+	float fSlow43 = (dsp->fConst2 * (((fSlow32 + atan2f((((0.0f - ((fSlow27 * fSlow36) / fSlow15)) * fSlow37) + (((fSlow27 * fSlow34) * fSlow40) / fSlow15)), ((fSlow37 * fSlow40) + ((fSlow41 * fSlow36) / fSlow42)))) + 6.28318548f) / fSlow25));
+	float fSlow44 = floorf(fSlow43);
+	float fSlow45 = (fSlow44 + (1.0f - fSlow43));
+	float fSlow46 = (float)dsp->fButton0;
+	float fSlow47 = (0.0f - (fSlow46 + -1.0f));
+	float fSlow48 = (0.00100000005f * ((0.999599993f * fSlow46) + (0.899999976f * (fSlow47 * (float)getValueReleaseLoopGain((float)iSlow4)))));
+	float fSlow49 = (float)getValueDCBa1((float)iSlow4);
+	float fSlow50 = (1.0f - fSlow49);
+	float fSlow51 = (0.5f * fSlow50);
+	float fSlow52 = (0.25f * (float)dsp->fHslider5);
+	float fSlow53 = (float)getValueLoudPole((float)iSlow4);
+	float fSlow54 = ((fSlow52 + (0.980000019f - fSlow53)) * (float)getValueLoudGain((float)iSlow4));
+	float fSlow55 = (1.39698386e-09f * (fSlow54 * (float)(iSlow4 < 88)));
+	int iSlow56 = (fSlow46 > 0.0f);
+	float fSlow57 = expf((0.0f - (dsp->fConst4 / ((float)dsp->fHslider6 * (float)getValueDryTapAmpT60((float)iSlow4)))));
+	int iSlow58 = (fSlow46 < 1.0f);
+	float fSlow59 = (dsp->fConst5 * fSlow47);
+	float fSlow60 = (float)dsp->fHslider7;
+	float fSlow61 = (dsp->fConst7 * fSlow60);
+	float fSlow62 = expf((0.0f - (dsp->fConst8 / fSlow60)));
+	float fSlow63 = (0.200000003f * (float)getValueSustainPedalLevel((float)iSlow4));
+	float fSlow64 = (fSlow53 + (0.0199999996f - fSlow52));
+	float fSlow65 = (0.0f - fSlow51);
+	float fSlow66 = (3.70000005f * fSlow28);
+	float fSlow67 = ((fSlow18 + fSlow35) - fSlow33);
+	float fSlow68 = (((fSlow39 + (fSlow31 * fSlow67)) / fSlow15) + 1.0f);
+	int iSlow69 = (int)(dsp->fConst2 * (((fSlow32 + atan2f((0.0f - ((fSlow27 * ((fSlow67 * fSlow37) - (fSlow34 * fSlow68))) / fSlow15)), ((fSlow37 * fSlow68) + ((fSlow41 * fSlow67) / fSlow42)))) + 6.28318548f) / fSlow25));
+	int iSlow70 = min(4097, max(0, iSlow69));
+	float fSlow71 = (fSlow3 - fSlow24);
+	float fSlow72 = (dsp->fConst3 * fSlow71);
+	float fSlow73 = sinf(fSlow72);
+	float fSlow74 = cosf(fSlow72);
+	float fSlow75 = (3.0f * atan2f((fSlow23 * fSlow73), (fSlow29 + (fSlow30 * fSlow74))));
+	float fSlow76 = (((fSlow74 * fSlow34) / fSlow15) + 1.0f);
+	float fSlow77 = ((((fSlow74 * fSlow36) + fSlow39) / fSlow15) + 1.0f);
+	float fSlow78 = (Piano_faustpower2_f(fSlow73) * fSlow34);
+	float fSlow79 = (dsp->fConst2 * (((fSlow75 + atan2f((((0.0f - ((fSlow73 * fSlow36) / fSlow15)) * fSlow76) + (((fSlow73 * fSlow34) * fSlow77) / fSlow15)), ((fSlow76 * fSlow77) + ((fSlow78 * fSlow36) / fSlow42)))) + 6.28318548f) / fSlow71));
+	float fSlow80 = floorf(fSlow79);
+	float fSlow81 = (fSlow80 + (1.0f - fSlow79));
+	float fSlow82 = (((fSlow39 + (fSlow74 * fSlow67)) / fSlow15) + 1.0f);
+	int iSlow83 = (int)(dsp->fConst2 * (((fSlow75 + atan2f(((fSlow73 * ((fSlow34 * fSlow82) - (fSlow76 * fSlow67))) / fSlow15), ((fSlow76 * fSlow82) + ((fSlow78 * fSlow67) / fSlow42)))) + 6.28318548f) / fSlow71));
+	int iSlow84 = min(4097, max(0, iSlow83));
+	float fSlow85 = (fSlow79 - fSlow80);
+	int iSlow86 = min(4097, max(0, (iSlow83 + 1)));
+	float fSlow87 = (fSlow43 - fSlow44);
+	int iSlow88 = min(4097, max(0, (iSlow69 + 1)));
+	float fSlow89 = ((0.0f - (dsp->fConst9 * (fSlow3 * fSlow5))) * cosf((dsp->fConst3 * (fSlow3 / (float)getValueStrikePosition((float)iSlow4)))));
+	float fSlow90 = powf(10.0f, (0.0500000007f * (float)getValueSecondStageAmpRatio((float)iSlow4)));
+	float fSlow91 = powf(10.0f, (dsp->fConst10 * (float)getValuer1_1db((float)iSlow4)));
+	float fSlow92 = Piano_faustpower2_f(fSlow91);
+	float fSlow93 = powf(10.0f, (dsp->fConst10 * (float)getValuer1_2db((float)iSlow4)));
+	float fSlow94 = Piano_faustpower2_f(fSlow93);
+	float fSlow95 = (1.0f - fSlow90);
+	float fSlow96 = ((fSlow90 * fSlow92) + (fSlow94 * fSlow95));
+	float fSlow97 = (2.0f * (float)getValueBq4_gEarBalled((float)iSlow4));
+	float fSlow98 = (float)(iSlow4 >= 88);
+	float fSlow99 = (2.32830644e-10f * fSlow98);
+	float fSlow100 = (1.16415322e-10f * fSlow98);
+	float fSlow101 = powf(10.0f, (dsp->fConst10 * (float)getValuer3db((float)iSlow4)));
+	float fSlow102 = (cosf((dsp->fConst3 * (fSlow3 * (float)getValueThirdPartialFactor((float)iSlow4)))) * (0.0f - (2.0f * fSlow101)));
+	float fSlow103 = Piano_faustpower2_f(fSlow101);
+	float fSlow104 = powf(10.0f, (dsp->fConst10 * (float)getValuer2db((float)iSlow4)));
+	float fSlow105 = (cosf((dsp->fConst3 * (fSlow3 * (float)getValueSecondPartialFactor((float)iSlow4)))) * (0.0f - (2.0f * fSlow104)));
+	float fSlow106 = Piano_faustpower2_f(fSlow104);
+	float fSlow107 = cosf((dsp->fConst3 * fSlow3));
+	float fSlow108 = (fSlow107 * (0.0f - (2.0f * fSlow91)));
+	float fSlow109 = (0.0f - (2.0f * ((fSlow90 * fSlow91) + (fSlow93 * fSlow95))));
+	float fSlow110 = (0.0f - (2.0f * fSlow93));
+	float fSlow111 = (float)dsp->fHslider8;
+	float fSlow112 = expf((dsp->fConst15 / fSlow111));
+	float fSlow113 = Piano_faustpower2_f(fSlow112);
+	float fSlow114 = (1.0f - (dsp->fConst12 * fSlow113));
+	float fSlow115 = (1.0f - fSlow113);
+	float fSlow116 = (fSlow114 / fSlow115);
+	float fSlow117 = sqrtf(fmaxf(0.0f, ((Piano_faustpower2_f(fSlow114) / Piano_faustpower2_f(fSlow115)) + -1.0f)));
+	float fSlow118 = (fSlow116 - fSlow117);
+	float fSlow119 = (fSlow112 * (fSlow117 + (1.0f - fSlow116)));
+	float fSlow120 = ((expf((dsp->fConst16 / fSlow111)) / fSlow112) + -1.0f);
+	float fSlow121 = expf((dsp->fConst25 / fSlow111));
 	float fSlow122 = Piano_faustpower2_f(fSlow121);
-	float fSlow123 = (1.0f - (dsp->fConst1 * fSlow122));
+	float fSlow123 = (1.0f - (dsp->fConst12 * fSlow122));
 	float fSlow124 = (1.0f - fSlow122);
 	float fSlow125 = (fSlow123 / fSlow124);
 	float fSlow126 = sqrtf(fmaxf(0.0f, ((Piano_faustpower2_f(fSlow123) / Piano_faustpower2_f(fSlow124)) + -1.0f)));
 	float fSlow127 = (fSlow125 - fSlow126);
 	float fSlow128 = (fSlow121 * (fSlow126 + (1.0f - fSlow125)));
-	float fSlow129 = ((expf((dsp->fConst26 / fSlow0)) / fSlow121) + -1.0f);
-	float fSlow130 = expf((dsp->fConst32 / fSlow0));
-	float fSlow131 = Piano_faustpower2_f(fSlow130);
-	float fSlow132 = (1.0f - (dsp->fConst1 * fSlow131));
-	float fSlow133 = (1.0f - fSlow131);
-	float fSlow134 = (fSlow132 / fSlow133);
-	float fSlow135 = sqrtf(fmaxf(0.0f, ((Piano_faustpower2_f(fSlow132) / Piano_faustpower2_f(fSlow133)) + -1.0f)));
-	float fSlow136 = (fSlow134 - fSlow135);
-	float fSlow137 = (fSlow130 * (fSlow135 + (1.0f - fSlow134)));
-	float fSlow138 = ((expf((dsp->fConst33 / fSlow0)) / fSlow130) + -1.0f);
-	float fSlow139 = (12.0f * fSlow10);
-	int iSlow140 = (int)fminf(4096.0f, fmaxf(0.0f, (dsp->fConst36 * ((float)dsp->fHslider9 / fSlow13))));
-	float fSlow141 = expf((dsp->fConst40 / fSlow0));
+	float fSlow129 = ((expf((dsp->fConst26 / fSlow111)) / fSlow121) + -1.0f);
+	float fSlow130 = (12.0f * fSlow0);
+	int iSlow131 = (int)fminf(4096.0f, fmaxf(0.0f, (dsp->fConst30 * ((float)dsp->fHslider9 / fSlow3))));
+	float fSlow132 = expf((dsp->fConst33 / fSlow111));
+	float fSlow133 = Piano_faustpower2_f(fSlow132);
+	float fSlow134 = (1.0f - (dsp->fConst12 * fSlow133));
+	float fSlow135 = (1.0f - fSlow133);
+	float fSlow136 = (fSlow134 / fSlow135);
+	float fSlow137 = sqrtf(fmaxf(0.0f, ((Piano_faustpower2_f(fSlow134) / Piano_faustpower2_f(fSlow135)) + -1.0f)));
+	float fSlow138 = (fSlow136 - fSlow137);
+	float fSlow139 = (fSlow132 * (fSlow137 + (1.0f - fSlow136)));
+	float fSlow140 = ((expf((dsp->fConst34 / fSlow111)) / fSlow132) + -1.0f);
+	float fSlow141 = expf((dsp->fConst40 / fSlow111));
 	float fSlow142 = Piano_faustpower2_f(fSlow141);
-	float fSlow143 = (1.0f - (dsp->fConst1 * fSlow142));
+	float fSlow143 = (1.0f - (dsp->fConst12 * fSlow142));
 	float fSlow144 = (1.0f - fSlow142);
 	float fSlow145 = (fSlow143 / fSlow144);
 	float fSlow146 = sqrtf(fmaxf(0.0f, ((Piano_faustpower2_f(fSlow143) / Piano_faustpower2_f(fSlow144)) + -1.0f)));
 	float fSlow147 = (fSlow145 - fSlow146);
 	float fSlow148 = (fSlow141 * (fSlow146 + (1.0f - fSlow145)));
-	float fSlow149 = ((expf((dsp->fConst41 / fSlow0)) / fSlow141) + -1.0f);
-	float fSlow150 = expf((dsp->fConst47 / fSlow0));
+	float fSlow149 = ((expf((dsp->fConst41 / fSlow111)) / fSlow141) + -1.0f);
+	float fSlow150 = expf((dsp->fConst47 / fSlow111));
 	float fSlow151 = Piano_faustpower2_f(fSlow150);
-	float fSlow152 = (1.0f - (dsp->fConst1 * fSlow151));
+	float fSlow152 = (1.0f - (dsp->fConst12 * fSlow151));
 	float fSlow153 = (1.0f - fSlow151);
 	float fSlow154 = (fSlow152 / fSlow153);
 	float fSlow155 = sqrtf(fmaxf(0.0f, ((Piano_faustpower2_f(fSlow152) / Piano_faustpower2_f(fSlow153)) + -1.0f)));
 	float fSlow156 = (fSlow154 - fSlow155);
 	float fSlow157 = (fSlow150 * (fSlow155 + (1.0f - fSlow154)));
-	float fSlow158 = ((expf((dsp->fConst48 / fSlow0)) / fSlow150) + -1.0f);
-	float fSlow159 = expf((dsp->fConst54 / fSlow0));
+	float fSlow158 = ((expf((dsp->fConst48 / fSlow111)) / fSlow150) + -1.0f);
+	float fSlow159 = expf((dsp->fConst54 / fSlow111));
 	float fSlow160 = Piano_faustpower2_f(fSlow159);
-	float fSlow161 = (1.0f - (dsp->fConst1 * fSlow160));
+	float fSlow161 = (1.0f - (dsp->fConst12 * fSlow160));
 	float fSlow162 = (1.0f - fSlow160);
 	float fSlow163 = (fSlow161 / fSlow162);
 	float fSlow164 = sqrtf(fmaxf(0.0f, ((Piano_faustpower2_f(fSlow161) / Piano_faustpower2_f(fSlow162)) + -1.0f)));
 	float fSlow165 = (fSlow163 - fSlow164);
 	float fSlow166 = (fSlow159 * (fSlow164 + (1.0f - fSlow163)));
-	float fSlow167 = ((expf((dsp->fConst55 / fSlow0)) / fSlow159) + -1.0f);
-	float fSlow168 = expf((dsp->fConst61 / fSlow0));
+	float fSlow167 = ((expf((dsp->fConst55 / fSlow111)) / fSlow159) + -1.0f);
+	float fSlow168 = expf((dsp->fConst61 / fSlow111));
 	float fSlow169 = Piano_faustpower2_f(fSlow168);
-	float fSlow170 = (1.0f - (dsp->fConst1 * fSlow169));
+	float fSlow170 = (1.0f - (dsp->fConst12 * fSlow169));
 	float fSlow171 = (1.0f - fSlow169);
 	float fSlow172 = (fSlow170 / fSlow171);
 	float fSlow173 = sqrtf(fmaxf(0.0f, ((Piano_faustpower2_f(fSlow170) / Piano_faustpower2_f(fSlow171)) + -1.0f)));
 	float fSlow174 = (fSlow172 - fSlow173);
 	float fSlow175 = (fSlow168 * (fSlow173 + (1.0f - fSlow172)));
-	float fSlow176 = ((expf((dsp->fConst62 / fSlow0)) / fSlow168) + -1.0f);
-	float fSlow177 = expf((dsp->fConst68 / fSlow0));
+	float fSlow176 = ((expf((dsp->fConst62 / fSlow111)) / fSlow168) + -1.0f);
+	float fSlow177 = expf((dsp->fConst68 / fSlow111));
 	float fSlow178 = Piano_faustpower2_f(fSlow177);
-	float fSlow179 = (1.0f - (dsp->fConst1 * fSlow178));
+	float fSlow179 = (1.0f - (dsp->fConst12 * fSlow178));
 	float fSlow180 = (1.0f - fSlow178);
 	float fSlow181 = (fSlow179 / fSlow180);
 	float fSlow182 = sqrtf(fmaxf(0.0f, ((Piano_faustpower2_f(fSlow179) / Piano_faustpower2_f(fSlow180)) + -1.0f)));
 	float fSlow183 = (fSlow181 - fSlow182);
 	float fSlow184 = (fSlow177 * (fSlow182 + (1.0f - fSlow181)));
-	float fSlow185 = ((expf((dsp->fConst69 / fSlow0)) / fSlow177) + -1.0f);
+	float fSlow185 = ((expf((dsp->fConst69 / fSlow111)) / fSlow177) + -1.0f);
 	/* C99 loop */
 	{
 		int i;
 		for (i = 0; (i < count); i = (i + 1)) {
-			dsp->fRec11[0] = (0.0f - (dsp->fConst7 * ((dsp->fConst8 * dsp->fRec11[1]) - (dsp->fRec6[1] + dsp->fRec6[2]))));
-			dsp->fRec10[0] = ((fSlow7 * dsp->fRec10[1]) + (fSlow8 * (dsp->fRec6[1] + (fSlow9 * dsp->fRec11[0]))));
-			dsp->fVec0[(dsp->IOTA & 16383)] = ((0.353553385f * dsp->fRec10[0]) + 9.99999968e-21f);
-			dsp->fRec12[0] = (fSlow12 + (0.999000013f * dsp->fRec12[1]));
-			dsp->iRec23[0] = ((1103515245 * dsp->iRec23[1]) + 12345);
-			dsp->fRec25[0] = ((fSlow31 * dsp->fRec25[1]) + 1.0f);
-			float fTemp0 = (dsp->fRec25[0] + -1.0f);
-			float fTemp1 = (float)((fTemp0 < 2.0f) & iSlow32);
-			float fTemp2 = ((0.0301973838f * fTemp1) + (fSlow33 * (float)((fTemp0 >= 2.0f) | iSlow34)));
-			dsp->fRec24[0] = ((dsp->fRec24[1] * fTemp2) + (0.150000006f * (fTemp1 * (1.0f - fTemp2))));
-			int iTemp3 = (fTemp0 < fSlow38);
-			float fTemp4 = (fSlow31 * ((dsp->fConst14 * (float)(fTemp0 >= fSlow38)) + (fSlow39 * (float)iTemp3)));
-			dsp->fRec26[0] = ((dsp->fRec26[1] * (fSlow36 + fTemp4)) + (fSlow40 * (((1.0f - fTemp4) - fSlow36) * (float)(iTemp3 & iSlow32))));
-			float fTemp5 = ((float)dsp->iRec23[0] * (dsp->fRec24[0] + dsp->fRec26[0]));
-			dsp->fVec1[0] = (fSlow30 * fTemp5);
-			float fTemp6 = (0.0f - ((0.5f * dsp->fVec1[1]) + (fSlow41 * fTemp5)));
-			dsp->fVec2[0] = fTemp6;
-			dsp->fRec22[0] = (((fSlow28 * fTemp6) + (fSlow42 * dsp->fVec2[1])) - (fSlow15 * dsp->fRec22[1]));
-			dsp->fRec21[0] = ((fSlow27 * dsp->fRec22[0]) + (fSlow43 * dsp->fRec21[1]));
-			dsp->fRec20[0] = ((fSlow27 * dsp->fRec21[0]) + (fSlow43 * dsp->fRec20[1]));
-			dsp->fRec19[0] = ((fSlow27 * dsp->fRec20[0]) + (fSlow43 * dsp->fRec19[1]));
-			dsp->fRec18[0] = ((fSlow27 * dsp->fRec19[0]) + (fSlow43 * dsp->fRec18[1]));
-			dsp->fRec17[0] = ((fSlow24 * (0.0f - (0.5f * (dsp->fRec18[1] - dsp->fRec18[0])))) - ((fSlow45 * dsp->fRec17[1]) + (fSlow46 * dsp->fRec17[2])));
-			dsp->fRec16[0] = ((fSlow24 * dsp->fRec17[0]) - ((fSlow48 * dsp->fRec16[1]) + (fSlow49 * dsp->fRec16[2])));
-			dsp->fRec15[0] = (dsp->fRec16[0] - ((fSlow51 * dsp->fRec15[1]) + (fSlow19 * dsp->fRec15[2])));
-			dsp->fRec14[0] = (((fSlow23 * dsp->fRec15[2]) + (dsp->fRec15[0] + (fSlow50 * ((fSlow52 * dsp->fRec15[1]) - (fSlow53 * dsp->fRec14[1]))))) - (fSlow21 * dsp->fRec14[2]));
-			dsp->fRec13[0] = ((fSlow16 * dsp->fRec14[0]) - (fSlow15 * dsp->fRec13[1]));
-			dsp->fRec33[0] = (fSlow90 + (0.999000013f * dsp->fRec33[1]));
-			dsp->fRec38[0] = ((fSlow91 * fTemp5) + (fSlow43 * dsp->fRec38[1]));
-			dsp->fRec37[0] = ((fSlow27 * dsp->fRec38[0]) + (fSlow43 * dsp->fRec37[1]));
-			dsp->fRec36[0] = ((fSlow27 * dsp->fRec37[0]) + (fSlow43 * dsp->fRec36[1]));
-			dsp->fRec35[0] = ((fSlow27 * dsp->fRec36[0]) + (fSlow43 * dsp->fRec35[1]));
-			dsp->fRec34[0] = (((fSlow28 * dsp->fRec35[0]) + (fSlow42 * dsp->fRec35[1])) - (fSlow15 * dsp->fRec34[1]));
-			float fTemp7 = (dsp->fRec33[0] * (dsp->fRec34[0] + dsp->fRec27[1]));
-			dsp->fVec3[0] = fTemp7;
-			dsp->fRec32[0] = (dsp->fVec3[1] - (fSlow92 * (dsp->fRec32[1] - fTemp7)));
-			dsp->fRec31[0] = (dsp->fRec32[1] + (fSlow92 * (dsp->fRec32[0] - dsp->fRec31[1])));
-			dsp->fRec30[(dsp->IOTA & 8191)] = (dsp->fRec31[1] + (fSlow92 * (dsp->fRec31[0] - dsp->fRec30[((dsp->IOTA - 1) & 8191)])));
-			float fTemp8 = (fSlow89 * dsp->fRec30[((dsp->IOTA - iSlow96) & 8191)]);
-			float fTemp9 = (dsp->fRec34[0] + (dsp->fRec33[0] * dsp->fRec28[1]));
-			dsp->fVec4[0] = fTemp9;
-			dsp->fRec42[0] = (dsp->fVec4[1] + (fSlow92 * (fTemp9 - dsp->fRec42[1])));
-			dsp->fRec41[0] = (dsp->fRec42[1] + (fSlow92 * (dsp->fRec42[0] - dsp->fRec41[1])));
-			dsp->fRec40[(dsp->IOTA & 8191)] = (dsp->fRec41[1] + (fSlow92 * (dsp->fRec41[0] - dsp->fRec40[((dsp->IOTA - 1) & 8191)])));
-			float fTemp10 = ((fSlow108 * dsp->fRec40[((dsp->IOTA - iSlow111) & 8191)]) + (fSlow112 * dsp->fRec40[((dsp->IOTA - iSlow113) & 8191)]));
-			float fTemp11 = (fSlow114 * dsp->fRec30[((dsp->IOTA - iSlow115) & 8191)]);
-			float fTemp12 = (fTemp8 + (fTemp10 + fTemp11));
-			dsp->fVec5[0] = fTemp12;
-			dsp->fRec39[0] = (fSlow97 * ((2.0f * ((fSlow76 * dsp->fVec5[1]) + (fSlow82 * fTemp12))) - (fSlow75 * dsp->fRec39[1])));
-			dsp->fRec27[0] = (fTemp8 + (dsp->fRec39[0] + fTemp11));
-			dsp->fRec28[0] = (dsp->fRec39[0] + fTemp10);
-			float fRec29 = fTemp12;
-			dsp->fRec43[0] = ((fSlow119 * fRec29) - ((fSlow120 * dsp->fRec43[1]) + (fSlow117 * dsp->fRec43[2])));
-			float fTemp13 = (dsp->fRec13[0] + (fRec29 + (fSlow118 * (dsp->fRec43[0] - dsp->fRec43[2]))));
-			dsp->fVec6[(dsp->IOTA & 8191)] = fTemp13;
-			dsp->fVec7[(dsp->IOTA & 4095)] = (fSlow11 * (dsp->fRec12[0] * fTemp13));
-			float fTemp14 = (0.300000012f * dsp->fVec7[((dsp->IOTA - dsp->iConst21) & 4095)]);
-			float fTemp15 = (dsp->fVec0[((dsp->IOTA - dsp->iConst10) & 16383)] - (fTemp14 + (0.600000024f * dsp->fRec8[1])));
-			dsp->fVec8[(dsp->IOTA & 2047)] = fTemp15;
-			dsp->fRec8[0] = dsp->fVec8[((dsp->IOTA - dsp->iConst22) & 2047)];
+			dsp->fRec10[0] = (fSlow2 + (0.999000013f * dsp->fRec10[1]));
+			dsp->fRec19[0] = (fSlow48 + (0.999000013f * dsp->fRec19[1]));
+			dsp->iRec25[0] = ((1103515245 * dsp->iRec25[1]) + 12345);
+			dsp->fRec27[0] = ((fSlow46 * dsp->fRec27[1]) + 1.0f);
+			float fTemp0 = (dsp->fRec27[0] + -1.0f);
+			float fTemp1 = (float)((fTemp0 < 2.0f) & iSlow56);
+			float fTemp2 = ((0.0301973838f * fTemp1) + (fSlow57 * (float)((fTemp0 >= 2.0f) | iSlow58)));
+			dsp->fRec26[0] = ((dsp->fRec26[1] * fTemp2) + (0.150000006f * (fTemp1 * (1.0f - fTemp2))));
+			int iTemp3 = (fTemp0 < fSlow61);
+			float fTemp4 = (fSlow46 * ((dsp->fConst6 * (float)(fTemp0 >= fSlow61)) + (fSlow62 * (float)iTemp3)));
+			dsp->fRec28[0] = ((dsp->fRec28[1] * (fSlow59 + fTemp4)) + (fSlow63 * (((1.0f - fTemp4) - fSlow59) * (float)(iTemp3 & iSlow56))));
+			float fTemp5 = ((float)dsp->iRec25[0] * (dsp->fRec26[0] + dsp->fRec28[0]));
+			dsp->fRec24[0] = ((fSlow55 * fTemp5) + (fSlow64 * dsp->fRec24[1]));
+			dsp->fRec23[0] = ((fSlow54 * dsp->fRec24[0]) + (fSlow64 * dsp->fRec23[1]));
+			dsp->fRec22[0] = ((fSlow54 * dsp->fRec23[0]) + (fSlow64 * dsp->fRec22[1]));
+			dsp->fRec21[0] = ((fSlow54 * dsp->fRec22[0]) + (fSlow64 * dsp->fRec21[1]));
+			dsp->fRec20[0] = (((fSlow51 * dsp->fRec21[0]) + (fSlow65 * dsp->fRec21[1])) - (fSlow49 * dsp->fRec20[1]));
+			float fTemp6 = (dsp->fRec19[0] * (dsp->fRec20[0] + dsp->fRec12[1]));
+			dsp->fVec0[0] = fTemp6;
+			dsp->fRec18[0] = (dsp->fVec0[1] + (fSlow66 * (fTemp6 - dsp->fRec18[1])));
+			dsp->fRec17[0] = (dsp->fRec18[1] + (fSlow66 * (dsp->fRec18[0] - dsp->fRec17[1])));
+			dsp->fRec16[(dsp->IOTA & 8191)] = (dsp->fRec17[1] + (fSlow66 * (dsp->fRec17[0] - dsp->fRec16[((dsp->IOTA - 1) & 8191)])));
+			float fTemp7 = (fSlow45 * dsp->fRec16[((dsp->IOTA - iSlow70) & 8191)]);
+			float fTemp8 = (dsp->fRec20[0] + (dsp->fRec19[0] * dsp->fRec13[1]));
+			dsp->fVec1[0] = fTemp8;
+			dsp->fRec31[0] = (dsp->fVec1[1] - (fSlow66 * (dsp->fRec31[1] - fTemp8)));
+			dsp->fRec30[0] = (dsp->fRec31[1] - (fSlow66 * (dsp->fRec30[1] - dsp->fRec31[0])));
+			dsp->fRec29[(dsp->IOTA & 8191)] = (dsp->fRec30[1] + (fSlow66 * (dsp->fRec30[0] - dsp->fRec29[((dsp->IOTA - 1) & 8191)])));
+			float fTemp9 = ((fSlow81 * dsp->fRec29[((dsp->IOTA - iSlow84) & 8191)]) + (fSlow85 * dsp->fRec29[((dsp->IOTA - iSlow86) & 8191)]));
+			float fTemp10 = (fSlow87 * dsp->fRec16[((dsp->IOTA - iSlow88) & 8191)]);
+			float fTemp11 = (fTemp7 + (fTemp9 + fTemp10));
+			dsp->fVec2[0] = fTemp11;
+			dsp->fRec15[0] = (fSlow16 * ((2.0f * ((fSlow19 * dsp->fVec2[1]) + (fSlow38 * fTemp11))) - (fSlow34 * dsp->fRec15[1])));
+			dsp->fRec12[0] = (dsp->fRec15[0] + (fTemp7 + fTemp10));
+			dsp->fRec13[0] = (dsp->fRec15[0] + fTemp9);
+			float fRec14 = fTemp11;
+			dsp->fRec11[0] = ((fSlow8 * fRec14) - ((fSlow89 * dsp->fRec11[1]) + (fSlow6 * dsp->fRec11[2])));
+			dsp->fVec3[0] = (fSlow99 * fTemp5);
+			float fTemp12 = (0.0f - ((0.5f * dsp->fVec3[1]) + (fSlow100 * fTemp5)));
+			dsp->fVec4[0] = fTemp12;
+			dsp->fRec41[0] = (((fSlow51 * fTemp12) + (fSlow65 * dsp->fVec4[1])) - (fSlow49 * dsp->fRec41[1]));
+			dsp->fRec40[0] = ((fSlow54 * dsp->fRec41[0]) + (fSlow64 * dsp->fRec40[1]));
+			dsp->fRec39[0] = ((fSlow54 * dsp->fRec40[0]) + (fSlow64 * dsp->fRec39[1]));
+			dsp->fRec38[0] = ((fSlow54 * dsp->fRec39[0]) + (fSlow64 * dsp->fRec38[1]));
+			dsp->fRec37[0] = ((fSlow54 * dsp->fRec38[0]) + (fSlow64 * dsp->fRec37[1]));
+			dsp->fRec36[0] = ((fSlow97 * (0.0f - (0.5f * (dsp->fRec37[1] - dsp->fRec37[0])))) - ((fSlow102 * dsp->fRec36[1]) + (fSlow103 * dsp->fRec36[2])));
+			dsp->fRec35[0] = ((fSlow97 * dsp->fRec36[0]) - ((fSlow105 * dsp->fRec35[1]) + (fSlow106 * dsp->fRec35[2])));
+			dsp->fRec34[0] = (dsp->fRec35[0] - ((fSlow108 * dsp->fRec34[1]) + (fSlow92 * dsp->fRec34[2])));
+			dsp->fRec33[0] = (((fSlow96 * dsp->fRec34[2]) + (dsp->fRec34[0] + (fSlow107 * ((fSlow109 * dsp->fRec34[1]) - (fSlow110 * dsp->fRec33[1]))))) - (fSlow94 * dsp->fRec33[2]));
+			dsp->fRec32[0] = ((fSlow50 * dsp->fRec33[0]) - (fSlow49 * dsp->fRec32[1]));
+			float fTemp13 = ((fSlow7 * (dsp->fRec11[0] - dsp->fRec11[2])) + (fRec14 + dsp->fRec32[0]));
+			dsp->fVec5[(dsp->IOTA & 8191)] = fTemp13;
+			dsp->fVec6[(dsp->IOTA & 4095)] = (fSlow1 * (dsp->fRec10[0] * fTemp13));
+			float fTemp14 = (0.300000012f * dsp->fVec6[((dsp->IOTA - dsp->iConst11) & 4095)]);
+			dsp->fRec43[0] = (dsp->fConst18 * ((dsp->fRec4[1] + dsp->fRec4[2]) - (dsp->fConst19 * dsp->fRec43[1])));
+			dsp->fRec42[0] = ((fSlow118 * dsp->fRec42[1]) + (fSlow119 * (dsp->fRec4[1] + (fSlow120 * dsp->fRec43[0]))));
+			dsp->fVec7[(dsp->IOTA & 16383)] = ((0.353553385f * dsp->fRec42[0]) + 9.99999968e-21f);
+			float fTemp15 = ((fTemp14 + dsp->fVec7[((dsp->IOTA - dsp->iConst21) & 16383)]) - (0.600000024f * dsp->fRec8[1]));
+			dsp->fVec8[(dsp->IOTA & 4095)] = fTemp15;
+			dsp->fRec8[0] = dsp->fVec8[((dsp->IOTA - dsp->iConst22) & 4095)];
 			float fRec9 = (0.600000024f * fTemp15);
-			dsp->fRec47[0] = (dsp->fConst7 * ((dsp->fRec4[1] + dsp->fRec4[2]) - (dsp->fConst8 * dsp->fRec47[1])));
-			dsp->fRec46[0] = ((fSlow127 * dsp->fRec46[1]) + (fSlow128 * (dsp->fRec4[1] + (fSlow129 * dsp->fRec47[0]))));
+			dsp->fRec47[0] = (dsp->fConst18 * ((dsp->fRec2[1] + dsp->fRec2[2]) - (dsp->fConst19 * dsp->fRec47[1])));
+			dsp->fRec46[0] = ((fSlow127 * dsp->fRec46[1]) + (fSlow128 * (dsp->fRec2[1] + (fSlow129 * dsp->fRec47[0]))));
 			dsp->fVec9[(dsp->IOTA & 16383)] = ((0.353553385f * dsp->fRec46[0]) + 9.99999968e-21f);
-			float fTemp16 = ((fTemp14 + dsp->fVec9[((dsp->IOTA - dsp->iConst28) & 16383)]) - (0.600000024f * dsp->fRec44[1]));
+			float fTemp16 = (dsp->fVec9[((dsp->IOTA - dsp->iConst28) & 16383)] - (fTemp14 + (0.600000024f * dsp->fRec44[1])));
 			dsp->fVec10[(dsp->IOTA & 4095)] = fTemp16;
 			dsp->fRec44[0] = dsp->fVec10[((dsp->IOTA - dsp->iConst29) & 4095)];
 			float fRec45 = (0.600000024f * fTemp16);
-			dsp->fRec51[0] = (dsp->fConst7 * ((dsp->fRec7[1] + dsp->fRec7[2]) - (dsp->fConst8 * dsp->fRec51[1])));
-			dsp->fRec50[0] = ((fSlow136 * dsp->fRec50[1]) + (fSlow137 * (dsp->fRec7[1] + (fSlow138 * dsp->fRec51[0]))));
-			dsp->fVec11[(dsp->IOTA & 32767)] = ((0.353553385f * dsp->fRec50[0]) + 9.99999968e-21f);
-			float fTemp17 = dsp->fVec6[((dsp->IOTA - iSlow140) & 8191)];
-			dsp->fVec12[(dsp->IOTA & 4095)] = (fSlow139 * (dsp->fRec12[0] * fTemp17));
-			float fTemp18 = (0.300000012f * dsp->fVec12[((dsp->IOTA - dsp->iConst21) & 4095)]);
-			float fTemp19 = (((0.600000024f * dsp->fRec48[1]) + dsp->fVec11[((dsp->IOTA - dsp->iConst35) & 32767)]) - fTemp18);
-			dsp->fVec13[(dsp->IOTA & 2047)] = fTemp19;
-			dsp->fRec48[0] = dsp->fVec13[((dsp->IOTA - dsp->iConst37) & 2047)];
+			float fTemp17 = dsp->fVec5[((dsp->IOTA - iSlow131) & 8191)];
+			dsp->fVec11[(dsp->IOTA & 4095)] = (fSlow130 * (dsp->fRec10[0] * fTemp17));
+			float fTemp18 = (0.300000012f * dsp->fVec11[((dsp->IOTA - dsp->iConst11) & 4095)]);
+			dsp->fRec51[0] = (0.0f - (dsp->fConst18 * ((dsp->fConst19 * dsp->fRec51[1]) - (dsp->fRec5[1] + dsp->fRec5[2]))));
+			dsp->fRec50[0] = ((fSlow138 * dsp->fRec50[1]) + (fSlow139 * (dsp->fRec5[1] + (fSlow140 * dsp->fRec51[0]))));
+			dsp->fVec12[(dsp->IOTA & 16383)] = ((0.353553385f * dsp->fRec50[0]) + 9.99999968e-21f);
+			float fTemp19 = ((0.600000024f * dsp->fRec48[1]) + (fTemp18 + dsp->fVec12[((dsp->IOTA - dsp->iConst36) & 16383)]));
+			dsp->fVec13[(dsp->IOTA & 4095)] = fTemp19;
+			dsp->fRec48[0] = dsp->fVec13[((dsp->IOTA - dsp->iConst37) & 4095)];
 			float fRec49 = (0.0f - (0.600000024f * fTemp19));
-			dsp->fRec55[0] = (0.0f - (dsp->fConst7 * ((dsp->fConst8 * dsp->fRec55[1]) - (dsp->fRec3[1] + dsp->fRec3[2]))));
-			dsp->fRec54[0] = ((fSlow147 * dsp->fRec54[1]) + (fSlow148 * (dsp->fRec3[1] + (fSlow149 * dsp->fRec55[0]))));
-			dsp->fVec14[(dsp->IOTA & 32767)] = ((0.353553385f * dsp->fRec54[0]) + 9.99999968e-21f);
-			float fTemp20 = (((0.600000024f * dsp->fRec52[1]) + dsp->fVec14[((dsp->IOTA - dsp->iConst43) & 32767)]) - fTemp18);
-			dsp->fVec15[(dsp->IOTA & 4095)] = fTemp20;
-			dsp->fRec52[0] = dsp->fVec15[((dsp->IOTA - dsp->iConst44) & 4095)];
-			float fRec53 = (0.0f - (0.600000024f * fTemp20));
-			dsp->fRec59[0] = (0.0f - (dsp->fConst7 * ((dsp->fConst8 * dsp->fRec59[1]) - (dsp->fRec1[1] + dsp->fRec1[2]))));
+			dsp->fRec55[0] = (dsp->fConst18 * ((dsp->fRec6[1] + dsp->fRec6[2]) - (dsp->fConst19 * dsp->fRec55[1])));
+			dsp->fRec54[0] = ((fSlow147 * dsp->fRec54[1]) + (fSlow148 * (dsp->fRec6[1] + (fSlow149 * dsp->fRec55[0]))));
+			dsp->fVec14[(dsp->IOTA & 16383)] = ((0.353553385f * dsp->fRec54[0]) + 9.99999968e-21f);
+			float fTemp20 = (dsp->fVec14[((dsp->IOTA - dsp->iConst43) & 16383)] - (fTemp14 + (0.600000024f * dsp->fRec52[1])));
+			dsp->fVec15[(dsp->IOTA & 2047)] = fTemp20;
+			dsp->fRec52[0] = dsp->fVec15[((dsp->IOTA - dsp->iConst44) & 2047)];
+			float fRec53 = (0.600000024f * fTemp20);
+			dsp->fRec59[0] = (0.0f - (dsp->fConst18 * ((dsp->fConst19 * dsp->fRec59[1]) - (dsp->fRec1[1] + dsp->fRec1[2]))));
 			dsp->fRec58[0] = ((fSlow156 * dsp->fRec58[1]) + (fSlow157 * (dsp->fRec1[1] + (fSlow158 * dsp->fRec59[0]))));
 			dsp->fVec16[(dsp->IOTA & 32767)] = ((0.353553385f * dsp->fRec58[0]) + 9.99999968e-21f);
-			float fTemp21 = ((0.600000024f * dsp->fRec56[1]) + (dsp->fVec16[((dsp->IOTA - dsp->iConst50) & 32767)] + fTemp18));
+			float fTemp21 = (dsp->fVec16[((dsp->IOTA - dsp->iConst50) & 32767)] + ((0.600000024f * dsp->fRec56[1]) + fTemp18));
 			dsp->fVec17[(dsp->IOTA & 4095)] = fTemp21;
 			dsp->fRec56[0] = dsp->fVec17[((dsp->IOTA - dsp->iConst51) & 4095)];
 			float fRec57 = (0.0f - (0.600000024f * fTemp21));
-			dsp->fRec63[0] = (0.0f - (dsp->fConst7 * ((dsp->fConst8 * dsp->fRec63[1]) - (dsp->fRec0[1] + dsp->fRec0[2]))));
-			dsp->fRec62[0] = ((fSlow165 * dsp->fRec62[1]) + (fSlow166 * (dsp->fRec0[1] + (fSlow167 * dsp->fRec63[0]))));
-			dsp->fVec18[(dsp->IOTA & 16383)] = ((0.353553385f * dsp->fRec62[0]) + 9.99999968e-21f);
-			float fTemp22 = ((dsp->fVec18[((dsp->IOTA - dsp->iConst57) & 16383)] + fTemp14) - (0.600000024f * dsp->fRec60[1]));
-			dsp->fVec19[(dsp->IOTA & 2047)] = fTemp22;
-			dsp->fRec60[0] = dsp->fVec19[((dsp->IOTA - dsp->iConst58) & 2047)];
-			float fRec61 = (0.600000024f * fTemp22);
-			dsp->fRec67[0] = (0.0f - (dsp->fConst7 * ((dsp->fConst8 * dsp->fRec67[1]) - (dsp->fRec2[1] + dsp->fRec2[2]))));
-			dsp->fRec66[0] = ((fSlow174 * dsp->fRec66[1]) + (fSlow175 * (dsp->fRec2[1] + (fSlow176 * dsp->fRec67[0]))));
+			dsp->fRec63[0] = (0.0f - (dsp->fConst18 * ((dsp->fConst19 * dsp->fRec63[1]) - (dsp->fRec3[1] + dsp->fRec3[2]))));
+			dsp->fRec62[0] = ((fSlow165 * dsp->fRec62[1]) + (fSlow166 * (dsp->fRec3[1] + (fSlow167 * dsp->fRec63[0]))));
+			dsp->fVec18[(dsp->IOTA & 32767)] = ((0.353553385f * dsp->fRec62[0]) + 9.99999968e-21f);
+			float fTemp22 = (((0.600000024f * dsp->fRec60[1]) + dsp->fVec18[((dsp->IOTA - dsp->iConst57) & 32767)]) - fTemp18);
+			dsp->fVec19[(dsp->IOTA & 4095)] = fTemp22;
+			dsp->fRec60[0] = dsp->fVec19[((dsp->IOTA - dsp->iConst58) & 4095)];
+			float fRec61 = (0.0f - (0.600000024f * fTemp22));
+			dsp->fRec67[0] = (dsp->fConst18 * ((dsp->fRec0[1] + dsp->fRec0[2]) - (dsp->fConst19 * dsp->fRec67[1])));
+			dsp->fRec66[0] = ((fSlow174 * dsp->fRec66[1]) + (fSlow175 * (dsp->fRec0[1] + (fSlow176 * dsp->fRec67[0]))));
 			dsp->fVec20[(dsp->IOTA & 16383)] = ((0.353553385f * dsp->fRec66[0]) + 9.99999968e-21f);
-			float fTemp23 = (dsp->fVec20[((dsp->IOTA - dsp->iConst64) & 16383)] - (fTemp14 + (0.600000024f * dsp->fRec64[1])));
-			dsp->fVec21[(dsp->IOTA & 4095)] = fTemp23;
-			dsp->fRec64[0] = dsp->fVec21[((dsp->IOTA - dsp->iConst65) & 4095)];
+			float fTemp23 = ((dsp->fVec20[((dsp->IOTA - dsp->iConst64) & 16383)] + fTemp14) - (0.600000024f * dsp->fRec64[1]));
+			dsp->fVec21[(dsp->IOTA & 2047)] = fTemp23;
+			dsp->fRec64[0] = dsp->fVec21[((dsp->IOTA - dsp->iConst65) & 2047)];
 			float fRec65 = (0.600000024f * fTemp23);
-			dsp->fRec71[0] = (dsp->fConst7 * ((dsp->fRec5[1] + dsp->fRec5[2]) - (dsp->fConst8 * dsp->fRec71[1])));
-			dsp->fRec70[0] = ((fSlow183 * dsp->fRec70[1]) + (fSlow184 * (dsp->fRec5[1] + (fSlow185 * dsp->fRec71[0]))));
-			dsp->fVec22[(dsp->IOTA & 16383)] = ((0.353553385f * dsp->fRec70[0]) + 9.99999968e-21f);
-			float fTemp24 = (dsp->fVec22[((dsp->IOTA - dsp->iConst71) & 16383)] + (fTemp18 + (0.600000024f * dsp->fRec68[1])));
-			dsp->fVec23[(dsp->IOTA & 4095)] = fTemp24;
-			dsp->fRec68[0] = dsp->fVec23[((dsp->IOTA - dsp->iConst72) & 4095)];
+			dsp->fRec71[0] = (0.0f - (dsp->fConst18 * ((dsp->fConst19 * dsp->fRec71[1]) - (dsp->fRec7[1] + dsp->fRec7[2]))));
+			dsp->fRec70[0] = ((fSlow183 * dsp->fRec70[1]) + (fSlow184 * (dsp->fRec7[1] + (fSlow185 * dsp->fRec71[0]))));
+			dsp->fVec22[(dsp->IOTA & 32767)] = ((0.353553385f * dsp->fRec70[0]) + 9.99999968e-21f);
+			float fTemp24 = (((0.600000024f * dsp->fRec68[1]) + dsp->fVec22[((dsp->IOTA - dsp->iConst71) & 32767)]) - fTemp18);
+			dsp->fVec23[(dsp->IOTA & 2047)] = fTemp24;
+			dsp->fRec68[0] = dsp->fVec23[((dsp->IOTA - dsp->iConst72) & 2047)];
 			float fRec69 = (0.0f - (0.600000024f * fTemp24));
-			float fTemp25 = (fRec65 + dsp->fRec8[1]);
-			float fTemp26 = (dsp->fRec64[1] + (dsp->fRec68[1] + (fRec57 + (fRec69 + fTemp25))));
-			dsp->fRec0[0] = (fRec9 + (fRec45 + (fRec49 + (dsp->fRec52[1] + (dsp->fRec56[1] + (fRec61 + (dsp->fRec60[1] + (fRec53 + (dsp->fRec48[1] + (dsp->fRec44[1] + fTemp26))))))))));
-			float fTemp27 = (dsp->fRec64[1] + fTemp25);
-			float fTemp28 = (dsp->fRec68[1] + (fRec57 + fRec69));
-			dsp->fRec1[0] = ((fRec9 + (fRec45 + (fRec61 + (dsp->fRec60[1] + (dsp->fRec44[1] + fTemp27))))) - (fRec49 + (dsp->fRec52[1] + (dsp->fRec56[1] + (fRec53 + (fTemp28 + dsp->fRec48[1]))))));
-			dsp->fRec2[0] = ((fRec45 + (dsp->fRec56[1] + (fRec61 + (dsp->fRec60[1] + (dsp->fRec44[1] + fTemp28))))) - (fRec9 + (fRec49 + (dsp->fRec52[1] + (fRec53 + (fTemp27 + dsp->fRec48[1]))))));
-			dsp->fRec3[0] = ((fRec45 + (fRec49 + (dsp->fRec52[1] + (fRec61 + (dsp->fRec60[1] + (fRec53 + (dsp->fRec44[1] + dsp->fRec48[1]))))))) - (fRec9 + (dsp->fRec56[1] + fTemp26)));
-			float fTemp29 = (dsp->fRec64[1] + (fRec65 + fRec57));
-			float fTemp30 = (dsp->fRec68[1] + (fRec69 + dsp->fRec8[1]));
-			dsp->fRec4[0] = ((dsp->fRec52[1] + (dsp->fRec56[1] + (fRec61 + (dsp->fRec60[1] + (fRec53 + fTemp29))))) - (fRec9 + (fRec45 + (fRec49 + (dsp->fRec48[1] + (dsp->fRec44[1] + fTemp30))))));
-			float fTemp31 = (dsp->fRec64[1] + (dsp->fRec68[1] + (fRec65 + fRec69)));
-			float fTemp32 = (fRec57 + dsp->fRec8[1]);
-			dsp->fRec5[0] = ((fRec49 + (fRec61 + (dsp->fRec60[1] + (dsp->fRec48[1] + fTemp31)))) - (fRec9 + (fRec45 + (dsp->fRec52[1] + (dsp->fRec56[1] + (fRec53 + (dsp->fRec44[1] + fTemp32)))))));
-			dsp->fRec6[0] = ((fRec9 + (fRec49 + (dsp->fRec56[1] + (fRec61 + (dsp->fRec60[1] + (dsp->fRec48[1] + fTemp32)))))) - (fRec45 + (dsp->fRec52[1] + (fRec53 + (dsp->fRec44[1] + fTemp31)))));
-			dsp->fRec7[0] = ((fRec9 + (dsp->fRec52[1] + (fRec61 + (dsp->fRec60[1] + (fRec53 + fTemp30))))) - (fRec45 + (fRec49 + (dsp->fRec56[1] + (dsp->fRec48[1] + (dsp->fRec44[1] + fTemp29))))));
-			float fTemp33 = (1.0f - dsp->fRec12[0]);
-			output0[i] = (FAUSTFLOAT)((0.370000005f * (dsp->fRec1[0] + dsp->fRec2[0])) + (fSlow11 * (fTemp33 * fTemp13)));
-			output1[i] = (FAUSTFLOAT)((0.370000005f * (dsp->fRec1[0] - dsp->fRec2[0])) + (fSlow139 * (fTemp33 * fTemp17)));
-			dsp->fRec11[1] = dsp->fRec11[0];
+			float fTemp25 = (dsp->fRec64[1] + dsp->fRec52[1]);
+			float fTemp26 = (fRec49 + fTemp25);
+			dsp->fRec0[0] = (dsp->fRec8[1] + (fRec45 + (dsp->fRec44[1] + (dsp->fRec48[1] + (fRec53 + (dsp->fRec56[1] + (fRec61 + (fRec65 + (fRec9 + (fRec57 + (dsp->fRec68[1] + (dsp->fRec60[1] + (fRec69 + fTemp26)))))))))))));
+			dsp->fRec1[0] = ((dsp->fRec8[1] + (fRec45 + (dsp->fRec44[1] + (fRec53 + (fRec65 + (fRec9 + fTemp25)))))) - (dsp->fRec48[1] + (dsp->fRec56[1] + (fRec61 + (fRec57 + (dsp->fRec68[1] + (dsp->fRec60[1] + (fRec49 + fRec69))))))));
+			float fTemp27 = (fRec49 + dsp->fRec64[1]);
+			dsp->fRec2[0] = ((dsp->fRec8[1] + (dsp->fRec48[1] + (dsp->fRec56[1] + (fRec65 + (fRec9 + (fRec57 + fTemp27)))))) - (fRec45 + (dsp->fRec44[1] + (fRec53 + (fRec61 + (dsp->fRec68[1] + (dsp->fRec60[1] + (fRec69 + dsp->fRec52[1]))))))));
+			float fTemp28 = (fRec49 + dsp->fRec52[1]);
+			dsp->fRec3[0] = ((dsp->fRec8[1] + (fRec61 + (fRec65 + (fRec9 + (dsp->fRec68[1] + (dsp->fRec60[1] + (fRec69 + dsp->fRec64[1]))))))) - (fRec45 + (dsp->fRec44[1] + (dsp->fRec48[1] + (fRec53 + (dsp->fRec56[1] + (fRec57 + fTemp28)))))));
+			dsp->fRec4[0] = ((fRec45 + (dsp->fRec44[1] + (dsp->fRec56[1] + (fRec61 + (fRec65 + (fRec57 + (dsp->fRec64[1] + dsp->fRec60[1]))))))) - (dsp->fRec8[1] + (dsp->fRec48[1] + (fRec53 + (fRec9 + (dsp->fRec68[1] + (fRec69 + fTemp28)))))));
+			dsp->fRec5[0] = ((fRec45 + (dsp->fRec44[1] + (dsp->fRec48[1] + (fRec65 + (dsp->fRec68[1] + (fRec69 + fTemp27)))))) - (dsp->fRec8[1] + (fRec53 + (dsp->fRec56[1] + (fRec61 + (fRec9 + (fRec57 + (dsp->fRec52[1] + dsp->fRec60[1]))))))));
+			dsp->fRec6[0] = ((fRec53 + (dsp->fRec56[1] + (fRec65 + (fRec57 + (dsp->fRec68[1] + (fRec69 + fTemp25)))))) - (dsp->fRec8[1] + (fRec45 + (dsp->fRec44[1] + (dsp->fRec48[1] + (fRec61 + (fRec9 + (fRec49 + dsp->fRec60[1]))))))));
+			dsp->fRec7[0] = ((dsp->fRec48[1] + (fRec53 + (fRec61 + (fRec65 + (dsp->fRec60[1] + fTemp26))))) - (dsp->fRec8[1] + (fRec45 + (dsp->fRec44[1] + (dsp->fRec56[1] + (fRec9 + (fRec57 + (fRec69 + dsp->fRec68[1]))))))));
+			float fTemp29 = (1.0f - dsp->fRec10[0]);
+			output0[i] = (FAUSTFLOAT)((0.370000005f * (dsp->fRec1[0] + dsp->fRec2[0])) + (fSlow1 * (fTemp29 * fTemp13)));
+			output1[i] = (FAUSTFLOAT)((0.370000005f * (dsp->fRec1[0] - dsp->fRec2[0])) + (fSlow130 * (fTemp29 * fTemp17)));
 			dsp->fRec10[1] = dsp->fRec10[0];
-			dsp->IOTA = (dsp->IOTA + 1);
-			dsp->fRec12[1] = dsp->fRec12[0];
-			dsp->iRec23[1] = dsp->iRec23[0];
-			dsp->fRec25[1] = dsp->fRec25[0];
-			dsp->fRec24[1] = dsp->fRec24[0];
+			dsp->fRec19[1] = dsp->fRec19[0];
+			dsp->iRec25[1] = dsp->iRec25[0];
+			dsp->fRec27[1] = dsp->fRec27[0];
 			dsp->fRec26[1] = dsp->fRec26[0];
-			dsp->fVec1[1] = dsp->fVec1[0];
-			dsp->fVec2[1] = dsp->fVec2[0];
+			dsp->fRec28[1] = dsp->fRec28[0];
+			dsp->fRec24[1] = dsp->fRec24[0];
+			dsp->fRec23[1] = dsp->fRec23[0];
 			dsp->fRec22[1] = dsp->fRec22[0];
 			dsp->fRec21[1] = dsp->fRec21[0];
 			dsp->fRec20[1] = dsp->fRec20[0];
-			dsp->fRec19[1] = dsp->fRec19[0];
+			dsp->fVec0[1] = dsp->fVec0[0];
 			dsp->fRec18[1] = dsp->fRec18[0];
-			dsp->fRec17[2] = dsp->fRec17[1];
 			dsp->fRec17[1] = dsp->fRec17[0];
-			dsp->fRec16[2] = dsp->fRec16[1];
-			dsp->fRec16[1] = dsp->fRec16[0];
-			dsp->fRec15[2] = dsp->fRec15[1];
+			dsp->IOTA = (dsp->IOTA + 1);
+			dsp->fVec1[1] = dsp->fVec1[0];
+			dsp->fRec31[1] = dsp->fRec31[0];
+			dsp->fRec30[1] = dsp->fRec30[0];
+			dsp->fVec2[1] = dsp->fVec2[0];
 			dsp->fRec15[1] = dsp->fRec15[0];
-			dsp->fRec14[2] = dsp->fRec14[1];
-			dsp->fRec14[1] = dsp->fRec14[0];
+			dsp->fRec12[1] = dsp->fRec12[0];
 			dsp->fRec13[1] = dsp->fRec13[0];
-			dsp->fRec33[1] = dsp->fRec33[0];
+			dsp->fRec11[2] = dsp->fRec11[1];
+			dsp->fRec11[1] = dsp->fRec11[0];
+			dsp->fVec3[1] = dsp->fVec3[0];
+			dsp->fVec4[1] = dsp->fVec4[0];
+			dsp->fRec41[1] = dsp->fRec41[0];
+			dsp->fRec40[1] = dsp->fRec40[0];
+			dsp->fRec39[1] = dsp->fRec39[0];
 			dsp->fRec38[1] = dsp->fRec38[0];
 			dsp->fRec37[1] = dsp->fRec37[0];
+			dsp->fRec36[2] = dsp->fRec36[1];
 			dsp->fRec36[1] = dsp->fRec36[0];
+			dsp->fRec35[2] = dsp->fRec35[1];
 			dsp->fRec35[1] = dsp->fRec35[0];
+			dsp->fRec34[2] = dsp->fRec34[1];
 			dsp->fRec34[1] = dsp->fRec34[0];
-			dsp->fVec3[1] = dsp->fVec3[0];
+			dsp->fRec33[2] = dsp->fRec33[1];
+			dsp->fRec33[1] = dsp->fRec33[0];
 			dsp->fRec32[1] = dsp->fRec32[0];
-			dsp->fRec31[1] = dsp->fRec31[0];
-			dsp->fVec4[1] = dsp->fVec4[0];
-			dsp->fRec42[1] = dsp->fRec42[0];
-			dsp->fRec41[1] = dsp->fRec41[0];
-			dsp->fVec5[1] = dsp->fVec5[0];
-			dsp->fRec39[1] = dsp->fRec39[0];
-			dsp->fRec27[1] = dsp->fRec27[0];
-			dsp->fRec28[1] = dsp->fRec28[0];
-			dsp->fRec43[2] = dsp->fRec43[1];
 			dsp->fRec43[1] = dsp->fRec43[0];
+			dsp->fRec42[1] = dsp->fRec42[0];
 			dsp->fRec8[1] = dsp->fRec8[0];
 			dsp->fRec47[1] = dsp->fRec47[0];
 			dsp->fRec46[1] = dsp->fRec46[0];
--- a/dsp/piano.dsp
+++ b/dsp/piano.dsp
@@ -13,7 +13,7 @@
 
 freq = hslider("h:Basic/Freq [1][unit:Hz] [tooltip:Tone frequency]",440,20,20000,1);
 gain = hslider("h:Basic/Gain [1][tooltip:Gain (value between 0 and 1)]",1,0,1,0.01); 
-gate = button("h:Basic/Gate [1][tooltip:noteOn = 1, noteOff = 0]");
+gate = button("h:Basic/Gate [1][autovoice] [tooltip:noteOn = 1, noteOff = 0]");
 
 brightnessFactor = hslider("v:Physical/Brightness Factor
 [2][tooltip:A value between 0 and 1]",0,0,1,0.01);