aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mdaShepard.cpp4
-rw-r--r--src/mdaThruZero.cpp4
-rw-r--r--src/mdaVocoder.cpp6
3 files changed, 7 insertions, 7 deletions
diff --git a/src/mdaShepard.cpp b/src/mdaShepard.cpp
index 349a082..971afe1 100644
--- a/src/mdaShepard.cpp
+++ b/src/mdaShepard.cpp
@@ -179,7 +179,7 @@ void mdaShepard::process(float **inputs, float **outputs, LvzInt32 sampleFrames)
float *in2 = inputs[1];
float *out1 = outputs[0];
float *out2 = outputs[1];
- float a, b, c, d;
+ float a, b, c;//, d;
float r=rate, dr=drate, o=out, p=pos, di;
LvzInt32 x=max, m=mode, i1, i2;
@@ -192,7 +192,7 @@ void mdaShepard::process(float **inputs, float **outputs, LvzInt32 sampleFrames)
{
a = *++in1 + *++in2;
c = out1[1];
- d = out2[1];
+ //d = out2[1];
r *= dr;
if(r>2.f)
diff --git a/src/mdaThruZero.cpp b/src/mdaThruZero.cpp
index df2fff5..a35685f 100644
--- a/src/mdaThruZero.cpp
+++ b/src/mdaThruZero.cpp
@@ -219,7 +219,7 @@ void mdaThruZero::processReplacing(float **inputs, float **outputs, LvzInt32 sam
float a, b, f=fb, f1=fb1, f2=fb2, ph=phi;
float ra=rat, de=dep, we=wet, dr=dry, ds=deps, dm=dem;
LvzInt32 tmp, tmpi, bp=bufpos;
- float tmpf, dpt;
+ float tmpf;
--in1;
--in2;
@@ -238,7 +238,7 @@ void mdaThruZero::processReplacing(float **inputs, float **outputs, LvzInt32 sam
*(buffer2 + bp) = b + f * f2;
//ds = 0.995f * (ds - de) + de; //smoothed depth change ...try inc not mult
- dpt = tmpf = dm + de * (1.0f - ph * ph); //delay mod shape
+ tmpf = dm + de * (1.0f - ph * ph); //delay mod shape
tmp = int(tmpf);
tmpf -= tmp;
tmp = (tmp + bp) & 0x7FF;
diff --git a/src/mdaVocoder.cpp b/src/mdaVocoder.cpp
index fd5402a..7f9f01b 100644
--- a/src/mdaVocoder.cpp
+++ b/src/mdaVocoder.cpp
@@ -79,7 +79,7 @@ void mdaVocoder::resume() ///update internal parameters...
{
float * param = programs[curProgram].param;
double tpofs = 6.2831853/getSampleRate();
- double rr, th, re;
+ double rr, th; //, re;
float sh;
LvzInt32 i;
@@ -93,7 +93,7 @@ void mdaVocoder::resume() ///update internal parameters...
if(param[7]<0.5f)
{
nbnd=8;
- re=0.003f;
+ //re=0.003f;
f[1][2] = 3000.0f;
f[2][2] = 2200.0f;
f[3][2] = 1500.0f;
@@ -105,7 +105,7 @@ void mdaVocoder::resume() ///update internal parameters...
else
{
nbnd=16;
- re=0.0015f;
+ //re=0.0015f;
f[ 1][2] = 5000.0f; //+1000
f[ 2][2] = 4000.0f; //+750
f[ 3][2] = 3250.0f; //+500