aboutsummaryrefslogtreecommitdiffstats
path: root/maximilian_examples/6.FM2.cpp
blob: 4c6ec8ae12fef3d70e5736ee9716558fab01b57e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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
}

void play(double *output) {
    
    output[0]=mySine.sinewave(myOtherSine.sinewave(myLastSine.sinewave(0.1)*30)*440);//awesome bassline
    output[1]=output[0];

}