aboutsummaryrefslogtreecommitdiffstats
path: root/maximilian_examples/5.FM1.cpp
blob: c734dcf5f7c04aa38c22bd223e0f8989a68206aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "maximilian.h"

maxiOsc mySine,myOtherSine;//Two oscillators


void setup() {//some inits
	//nothing to go here this time	
}

void play(double *output) {
	
	*output=mySine.sinewave(myOtherSine.sinewave(1)*440);
	
}