diff options
| author | mick grierson <mickgrierson@gmail.com> | 2015-08-27 13:33:41 +0100 |
|---|---|---|
| committer | mick grierson <mickgrierson@gmail.com> | 2015-08-27 13:33:41 +0100 |
| commit | 5b37d13616c303538a61b520e6930b322e4ff378 (patch) | |
| tree | a616325e9bdd71ba22fd22ad419963035322e8a0 /maximilian_examples/6.FM2.cpp | |
| parent | b155008277cbdba3534ca392d67e2db199d9c458 (diff) | |
redoing tutorials a bit
Diffstat (limited to 'maximilian_examples/6.FM2.cpp')
| -rwxr-xr-x | maximilian_examples/6.FM2.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/maximilian_examples/6.FM2.cpp b/maximilian_examples/6.FM2.cpp index d9acd72..d9eddf5 100755 --- a/maximilian_examples/6.FM2.cpp +++ b/maximilian_examples/6.FM2.cpp @@ -1,14 +1,16 @@ +// Nothing much to say about this other than I like it. + #include "maximilian.h" maxiOsc mySine,myOtherSine,myLastSine,myPhasor;//Three oscillators void setup() {//some inits - //nothing to go here this time + //nothing to go here this time } void play(double *output) { - - *output=mySine.sinewave(myOtherSine.sinewave(myLastSine.sinewave(0.1)*30)*440);//awesome bassline - + + output[0]=mySine.sinewave(myOtherSine.sinewave(myLastSine.sinewave(0.1)*30)*440);//awesome bassline + } |
