inhibit note on if user has edited pattern

issue #82
untested
This commit is contained in:
tildearrow 2022-02-08 13:31:57 -05:00
parent bf537881ce
commit dea79c2adb
2 changed files with 6 additions and 3 deletions

View file

@ -49,7 +49,7 @@ struct DivChannelState {
int vibratoDepth, vibratoRate, vibratoPos, vibratoDir, vibratoFine;
int tremoloDepth, tremoloRate, tremoloPos;
unsigned char arp, arpStage, arpTicks;
bool doNote, legato, portaStop, keyOn, keyOff, nowYouCanStop, stopOnOff, arpYield, delayLocked, inPorta, scheduledSlideReset, shorthandPorta;
bool doNote, legato, portaStop, keyOn, keyOff, nowYouCanStop, stopOnOff, arpYield, delayLocked, inPorta, scheduledSlideReset, shorthandPorta, noteOnInhibit;
DivChannelState():
note(-1),
@ -88,7 +88,8 @@ struct DivChannelState {
delayLocked(false),
inPorta(false),
scheduledSlideReset(false),
shorthandPorta(false) {}
shorthandPorta(false),
noteOnInhibit(false) {}
};
struct DivNoteEvent {