shithub: leaf

Download patch

ref: 33c1f56e83295114dfb9f7d8fc5fcf7454a35dc0
parent: 25b05633d71f8c240308efc600ae3e364e9acd5f
author: mulshine <mulshine@princeton.edu>
date: Wed Jan 16 12:51:50 EST 2019

Got rid of debug code.

--- a/LEAF/Src/leaf-delay.c
+++ b/LEAF/Src/leaf-delay.c
@@ -463,12 +463,6 @@
     while (diff < 0.f) diff += d->maxDelay;
     
     d->inc = 1.0f + (diff - d->delay) / d->delay * SMOOTH_FACTOR;
-    
-    if (++count >= 5000)
-    {
-        count = 0;
-        DBG(String(d->inc));
-    }
 
     d->idx += d->inc;
     
--- a/LEAF/Src_cpp/leaf-delay.cpp
+++ b/LEAF/Src_cpp/leaf-delay.cpp
@@ -463,12 +463,6 @@
     while (diff < 0.f) diff += d->maxDelay;
     
     d->inc = 1.0f + (diff - d->delay) / d->delay * SMOOTH_FACTOR;
-    
-    if (++count >= 5000)
-    {
-        count = 0;
-        DBG(String(d->inc));
-    }
 
     d->idx += d->inc;
     
--- a/LEAF/leaf.h
+++ b/LEAF/leaf.h
@@ -11,7 +11,7 @@
 #ifndef LEAF_H_INCLUDED
 #define LEAF_H_INCLUDED
 
-#define DEBUG 1
+#define DEBUG 0
 
 #if DEBUG
 #include "../JuceLibraryCode/JuceHeader.h"