ref: 1a8d5375b811315a2c3878035a27fd7852a8b168
parent: a53b433420d35a54180c76421b082031a8b35204
author: Matthew Wang <Matthew@nat-oitwireless-inside-vapornet100-10-8-1-203.princeton.edu>
date: Mon Dec 2 11:26:26 EST 2019
minor
binary files a/LEAF/Externals/.DS_Store b/LEAF/Externals/.DS_Store differ
--- a/LEAF/Inc/leaf-sampling.h
+++ b/LEAF/Inc/leaf-sampling.h
@@ -60,7 +60,7 @@
void tBuffer_clear (tBuffer* const);
- uint32_t tBuffe_getLength(tBuffer* const);
+ uint32_t tBuffer_getLength(tBuffer* const);
//==============================================================================
--- a/LEAF/Src/leaf-dynamics.c
+++ b/LEAF/Src/leaf-dynamics.c
@@ -63,7 +63,6 @@
leaf_free(c);
}
-int ccount = 0;
float tCompressor_tick(tCompressor* const comp, float in)
{
_tCompressor* c = *comp;
@@ -110,16 +109,6 @@
float attenuation = powf(10.0f, ((c->M - c->y_T[0])/20.0f));
- /*
- if (++ccount > 5000)
- {
-
- ccount = 0;
- DBG(".5width: " + String(c->W * 0.5f));
- DBG("slope: " + String(slope) + " overshoot: " + String(overshoot));
- DBG("attenuation: " + String(attenuation));
- }
- */
return attenuation * in;
}
--- a/LEAF/Src/leaf-sampling.c
+++ b/LEAF/Src/leaf-sampling.c
@@ -114,7 +114,7 @@
}
}
-uint32_t tBuffe_getLength(tBuffer* const sb)
+uint32_t tBuffer_getLength(tBuffer* const sb)
{
_tBuffer* s = *sb;
return s->length;