game boy progress, part 5

now with almost accurate arpeggios.
This commit is contained in:
tildearrow 2021-05-28 00:36:25 -05:00
parent c6e42739fc
commit 83ce4f0ebe
7 changed files with 54 additions and 10 deletions

View file

@ -18,7 +18,7 @@ struct DivChannelState {
int vibratoDepth, vibratoRate, vibratoPos, vibratoDir, vibratoFine;
int tremoloDepth, tremoloRate, tremoloPos;
unsigned char arp, arpStage, arpTicks;
bool doNote, legato, portaStop, keyOn, nowYouCanStop, stopOnOff;
bool doNote, legato, portaStop, keyOn, nowYouCanStop, stopOnOff, arpYield;
DivChannelState():
note(-1),
@ -40,7 +40,7 @@ struct DivChannelState {
arp(0),
arpStage(-1),
arpTicks(1),
doNote(false), legato(false), portaStop(false), keyOn(false), nowYouCanStop(true), stopOnOff(false) {}
doNote(false), legato(false), portaStop(false), keyOn(false), nowYouCanStop(true), stopOnOff(false), arpYield(false) {}
};
class DivEngine {