Skip to content

Commit

Permalink
MSB of DR/PC is no longer considered melodic.
Browse files Browse the repository at this point in the history
  • Loading branch information
PoneyClairDeLune committed Oct 30, 2023
1 parent 50f0012 commit a92e498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ let OctaviaDevice = class extends CustomEventSource {
};
switch (this.#mode) {
case modeMap.xg: {
if ([126, 127].indexOf(det.data[1]) > -1) {
if ([79, 95, 126, 127].indexOf(det.data[1]) > -1) {
if (this.#chType[part] == 0) {
this.setChType(part, this.CH_DRUM2);
console.debug(`CH${part + 1} set to drums by MSB.`);
Expand Down

0 comments on commit a92e498

Please sign in to comment.