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

maxiOsc mySine;//let's create an oscillator and give it a name.

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

void play(double *output) {//this is where the magic happens. Very slow magic.
	
	*output=mySine.sinewave(440);//simple as that!
	
}