aboutsummaryrefslogtreecommitdiffstats
path: root/maximilian_examples/6.FM2.cpp
blob: d9acd72860a0d547ce18fbc5128391b6b96d0f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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=mySine.sinewave(myOtherSine.sinewave(myLastSine.sinewave(0.1)*30)*440);//awesome bassline
	
}