aboutsummaryrefslogtreecommitdiffstats
path: root/maximilian_examples/14.monosynth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'maximilian_examples/14.monosynth.cpp')
-rwxr-xr-xmaximilian_examples/14.monosynth.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/maximilian_examples/14.monosynth.cpp b/maximilian_examples/14.monosynth.cpp
index cd9cd46..5dd4e7e 100755
--- a/maximilian_examples/14.monosynth.cpp
+++ b/maximilian_examples/14.monosynth.cpp
@@ -36,9 +36,9 @@ void play(double *output) {
ADSR.trigger(0, adsrEnv[0]);//trigger the envelope from the start
- cout << "tick\n";//ticking twice for some reason
+ cout << "tick\n";//the clock ticks
- lastCount=currentCount;//set the last count to the current count
+ lastCount=0;//set lastCount to 0
}
//and this is where we build the synth