implement E4 effect

This commit is contained in:
tildearrow 2021-05-18 03:02:47 -05:00
parent c766f98719
commit d9c02531e8
2 changed files with 11 additions and 7 deletions

View file

@ -9,7 +9,7 @@ struct DivChannelState {
std::vector<DivDelayedCommand> delayed;
int note, pitch, portaSpeed, portaNote;
int volume, volSpeed, cut, rowDelay, volMax;
int vibratoDepth, vibratoRate, vibratoPos, vibratoDir;
int vibratoDepth, vibratoRate, vibratoPos, vibratoDir, vibratoFine;
int tremoloDepth, tremoloRate, tremoloPos;
unsigned char arp, arpStage, arpTicks;
bool doNote, legato;
@ -27,6 +27,7 @@ struct DivChannelState {
vibratoRate(0),
vibratoPos(0),
vibratoDir(0),
vibratoFine(15),
tremoloDepth(0),
tremoloRate(0),
tremoloPos(0),