diff options
| author | Mick Grierson <mickgrierson@strangebook.lan> | 2011-10-09 22:48:56 +0100 |
|---|---|---|
| committer | Mick Grierson <mickgrierson@strangebook.lan> | 2011-10-09 22:48:56 +0100 |
| commit | 338e5098b77bdf6825a253d469baf0ce2e9bc480 (patch) | |
| tree | 0232dfe97828c1410edcd39d7c29637ef1f50882 /main.cpp | |
| parent | e0b77b9814d80cb5ed7dd7d11c9568f342286d60 (diff) | |
added monosynth example to main.cpp
Diffstat (limited to 'main.cpp')
| -rwxr-xr-x | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
