22 lines
288 B
C++
22 lines
288 B
C++
#include <MozziGuts.h>
|
|
#include <Oscil.h>
|
|
#include <tables/sin2048_int8.h>
|
|
|
|
Oscil <SIN2048_NUM_CELLS, AUDIO_RATE> aSin(SIN2048_DATA);
|
|
|
|
void setup(){
|
|
startMozzi();
|
|
aSin.setFreq(440);
|
|
}
|
|
|
|
void updateControl(){
|
|
|
|
}
|
|
|
|
int updateAudio(){
|
|
return aSin.next();
|
|
}
|
|
|
|
void loop(){
|
|
audioHook();
|
|
} |