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); }