aboutsummaryrefslogtreecommitdiffstats
path: root/maximilian_examples/1.TestTone.cpp
blob: 77783b47e5e1ffd3035f4e56ecfcc8b8a9ff86a7 (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! 
	
}