Skip to content

Commit

Permalink
Add support for NS5R part type.
Browse files Browse the repository at this point in the history
  • Loading branch information
PoneyClairDeLune committed Nov 11, 2023
1 parent a92e498 commit 5ce5feb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/state/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4032,10 +4032,15 @@ let OctaviaDevice = class extends CustomEventSource {
console.info(`NS5R CH${part + 1} receives from CH${ch + 1}.`);
upThis.buildRchTree();
};
break;
};
case 7: {
// 0 for melodic, 1 for drum, 2~5 for mod drums 1~4
// KORG has multiple MSBs for drums, well...
upThis.#chType[part] = e;
upThis.dispatchEvent("voice", {
part
});
break;
};
case 8: {
Expand Down

0 comments on commit 5ce5feb

Please sign in to comment.