From 338e5098b77bdf6825a253d469baf0ce2e9bc480 Mon Sep 17 00:00:00 2001 From: Mick Grierson Date: Sun, 9 Oct 2011 22:48:56 +0100 Subject: added monosynth example to main.cpp --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index dd4dbf2..cd9cd46 100755 --- a/main.cpp +++ b/main.cpp @@ -2,7 +2,7 @@ //This shows how to use maximilian to build a monophonic synth -//This is the synthesiser bits +//These are the synthesiser bits maxiOsc VCO1,VCO2,LFO1,LFO2; maxiFilter VCF; maxiEnvelope ADSR; @@ -11,7 +11,7 @@ maxiEnvelope ADSR; double adsrEnv[8]={1,5,0.125,250,0.125,125,0,500}; -//This is a bunch of control signals so that we can here something +//This is a bunch of control signals so that we can hear something maxiOsc timer;//this is the metronome int currentCount,lastCount;//these values are used to check if we have a new beat this sample -- cgit v1.3