ref: dbe66876d1b44b42e844d3ec50b0ce7542042cae
parent: 988a112df40013b5e426c4f5723d6de41114c942
author: mulshine <mulshine@princeton.edu>
date: Wed Jan 16 12:48:35 EST 2019
More changes.
--- a/LEAF/Src_cpp/leaf-delay.cpp
+++ b/LEAF/Src_cpp/leaf-delay.cpp
@@ -463,6 +463,12 @@
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;