Skip to content

Commit

Permalink
Fixed SD bank select SysEx not pushing prims.
Browse files Browse the repository at this point in the history
  • Loading branch information
PoneyClairDeLune committed Oct 11, 2024
1 parent b2ebd14 commit 1c5c934
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/state/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6156,9 +6156,17 @@ let OctaviaDevice = class extends CustomEventSource {
if (upThis.#chType[part]) {
// Drums
upThis.#cc[chOff + ccToPos[0]] = 104 | e;
upThis.pushChPrimitives(part);
upThis.dispatchEvent("voice", {
part
});
} else {
// Melodic
upThis.#cc[chOff + ccToPos[0]] = 96 | e;
upThis.pushChPrimitives(part);
upThis.dispatchEvent("voice", {
part
});
};
upThis.dispatchEvent("voice", {
part
Expand Down

0 comments on commit 1c5c934

Please sign in to comment.