From a92e49892c4f18aed46ba291bcee4263cf5d2249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lumi=C3=A8re=20=C3=89lev=C3=A9?= <88174309+PoneyClairDeLune@users.noreply.github.com> Date: Mon, 30 Oct 2023 09:25:51 +0000 Subject: [PATCH] MSB of DR/PC is no longer considered melodic. --- src/state/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/index.mjs b/src/state/index.mjs index f78e410e..b6b0dc26 100644 --- a/src/state/index.mjs +++ b/src/state/index.mjs @@ -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.`);