From f031cab18f10cb7778187418cf617e4a27804eb7 Mon Sep 17 00:00:00 2001 From: Mick Grierson Date: Mon, 10 Oct 2011 00:34:25 +0100 Subject: added polysynth example and fixed ticking error --- maximilian_examples/14.monosynth.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'maximilian_examples/14.monosynth.cpp') 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 -- cgit v1.3