possibly implement envelope release points

no way to set them yet tho other than the MML string
This commit is contained in:
tildearrow 2022-02-08 13:11:04 -05:00
parent 480ae960e4
commit bf537881ce
13 changed files with 80 additions and 0 deletions

View file

@ -127,6 +127,10 @@ int DivPlatformSMS::dispatch(DivCommand c) {
rWrite(0x9f|c.chan<<5);
chan[c.chan].std.init(NULL);
break;
case DIV_CMD_NOTE_OFF_ENV:
case DIV_CMD_ENV_RELEASE:
chan[c.chan].std.release();
break;
case DIV_CMD_INSTRUMENT:
chan[c.chan].ins=c.value;
//chan[c.chan].std.init(parent->getIns(chan[c.chan].ins));