This is an example of how to use the AudioDelay class.
#include <MozziGuts.h>
#include <Oscil.h>
#include <tables/triangle_analogue512_int8.h>
#include <tables/cos2048_int8.h>
#include <AudioDelay.h>
#include <mozzi_midi.h>
#define CONTROL_RATE 256 // powers of 2 please
int del_samps;
void setup(){
aTriangle.setFreq(
mtof(60.f));
kFreq.setFreq(.63f);
}
void loop(){
}
del_samps = 128+kFreq.next();
}
char asig = aDel.
next(aTriangle.next(), del_samps);
return (int) asig;
}