aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
blob: bedbbae0e413380e9800a4cdf3471fd92106fb61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "maximilian.h"

const int NUM = 200;

maxiOsc sineBank[NUM];//let's create an oscillator and give it a name.
maxiOsc modu;
void setup() {//some inits
	//nothing to go here this time
}




void play(double *output) {//this is where the magic happens. Very slow magic.
    double  wave = modu.saw(100);
    *output = wave;//simple as that!
	
    
}