implement arp speed and arp tick

This commit is contained in:
tildearrow 2021-05-18 02:53:59 -05:00
parent c0f7f12c89
commit c766f98719
3 changed files with 25 additions and 13 deletions

View file

@ -11,7 +11,7 @@ struct DivChannelState {
int volume, volSpeed, cut, rowDelay, volMax;
int vibratoDepth, vibratoRate, vibratoPos, vibratoDir;
int tremoloDepth, tremoloRate, tremoloPos;
unsigned char arp, arpStage;
unsigned char arp, arpStage, arpTicks;
bool doNote, legato;
DivChannelState():
@ -32,6 +32,7 @@ struct DivChannelState {
tremoloPos(0),
arp(0),
arpStage(-1),
arpTicks(1),
doNote(false), legato(false) {}
};