From 938592ed9cc9f454bb990a7419d066c742e4e392 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: Wed, 15 Nov 2023 09:40:56 +0000 Subject: [PATCH] PLG presents now defined in bank section. --- src/state/bankReader.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/state/bankReader.js b/src/state/bankReader.js index aa2abf37..1b335433 100644 --- a/src/state/bankReader.js +++ b/src/state/bankReader.js @@ -42,6 +42,7 @@ let VoiceBank = class { break; }; case 33: + case 34: // I guess this is for PF, but I'm not sure case 35: case 36: { if (lsb > 125) { @@ -166,6 +167,16 @@ let VoiceBank = class { }; break; }; + case 32: + case 33: + case 34: + case 35: + case 36: { + if (mode == "xg") { + sect = `${["AP", "VL", "PF", "DX", "AN"][msb & 7]}-${"abcdefgh"[lsb]}`; + }; + break; + }; case 48: { sect = `yM${(args[2] >> 3).toString().padStart(2, "0")}`; useLsb = 1;