Skip to content
Snippets Groups Projects
6.FM2.cpp 381 B
Newer Older
// Nothing much to say about this other than I like it.

Dr-Dan's avatar
Dr-Dan committed
#include "maximilian.h"

maxiOsc mySine,myOtherSine,myLastSine,myPhasor;//Three oscillators


void setup() {//some inits
Dr-Dan's avatar
Dr-Dan committed
}

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

Dr-Dan's avatar
Dr-Dan committed
}