blob: d9eddf571e0288a45abb937344016af877474e15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Nothing much to say about this other than I like it.
#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[0]=mySine.sinewave(myOtherSine.sinewave(myLastSine.sinewave(0.1)*30)*440);//awesome bassline
}
|