Skip to content

Commit

Permalink
Suppress voice change until program change.
Browse files Browse the repository at this point in the history
cc0 and cc32 alone no longer cause voice changes. Partially addresses #50.
  • Loading branch information
PoneyClairDeLune committed Aug 1, 2024
1 parent b9535cf commit 2637a68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/state/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -895,9 +895,9 @@ let OctaviaDevice = class extends CustomEventSource {
break;
};
};
this.dispatchEvent("voice", {
/* this.dispatchEvent("voice", {
part
});
}); */
break;
};
case 2: {
Expand Down Expand Up @@ -1009,9 +1009,9 @@ let OctaviaDevice = class extends CustomEventSource {
if (this.getExt(part)[0] == this.EXT_DX) {
//this.#cc.subarray(chOff + ccToPos[142], chOff + ccToPos[157] + 1).fill(64);
};
this.dispatchEvent("voice", {
/*this.dispatchEvent("voice", {
part
});
});*/
break;
};
case 38: {
Expand Down

0 comments on commit 2637a68

Please sign in to comment.