dev182 - add a different macro release strat

active release makes the macro jump to release pos instead of waiting
This commit is contained in:
tildearrow 2023-10-11 03:36:21 -05:00
parent 8235f6ee66
commit 219665ed60
7 changed files with 46 additions and 9 deletions

View file

@ -27,7 +27,7 @@ class DivEngine;
struct DivMacroStruct {
int pos, lastPos, lfoPos, delay;
int val;
bool has, had, actualHad, finished, will, linger, began, masked;
bool has, had, actualHad, finished, will, linger, began, masked, activeRelease;
unsigned int mode, type;
unsigned char macroType;
void doMacro(DivInstrumentMacro& source, bool released, bool tick);
@ -54,6 +54,7 @@ struct DivMacroStruct {
linger(false),
began(true),
masked(false),
activeRelease(false),
mode(0),
type(0),
macroType(mType) {}