From 5b37d13616c303538a61b520e6930b322e4ff378 Mon Sep 17 00:00:00 2001 From: mick grierson Date: Thu, 27 Aug 2015 13:33:41 +0100 Subject: redoing tutorials a bit --- maximilian_examples/6.FM2.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'maximilian_examples/6.FM2.cpp') 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 + } -- cgit v1.3