force insChanged on note input

partially solves issue #8
This commit is contained in:
tildearrow 2022-01-17 18:01:40 -05:00
parent 84e9d52d7f
commit ce027d99f6
15 changed files with 15 additions and 15 deletions

View file

@ -755,7 +755,7 @@ bool DivEngine::nextTick(bool noAccum) {
while (!pendingNotes.empty()) {
DivNoteEvent& note=pendingNotes.front();
if (note.on) {
dispatchCmd(DivCommand(DIV_CMD_INSTRUMENT,note.channel,note.ins));
dispatchCmd(DivCommand(DIV_CMD_INSTRUMENT,note.channel,note.ins,1));
dispatchCmd(DivCommand(DIV_CMD_NOTE_ON,note.channel,note.note));
} else {
dispatchCmd(DivCommand(DIV_CMD_NOTE_OFF,note.channel));