This is an example using Oscil::phMod to produce vibrato using phase modulation.
#include <MozziGuts.h>
#include <Oscil.h>
#include <tables/cos2048_int8.h>
#include <mozzi_midi.h>
#include <mozzi_fixmath.h>
#define CONTROL_RATE 64 // powers of 2 please
const byte intensity = 255;
void setup(){
aCos.setFreq(
mtof(84.f));
aVibrato.setFreq(15.f);
}
}
return aCos.phMod(vibrato);
}
void loop(){
}