From 130ffd53786f720136ef406c705466b232621879 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: Sun, 11 Feb 2024 20:58:38 +0000 Subject: [PATCH] Enable VL monitor for PLG preset banks as well. --- src/state/index.mjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/state/index.mjs b/src/state/index.mjs index 5b6b84ac..fbc7ab7f 100644 --- a/src/state/index.mjs +++ b/src/state/index.mjs @@ -152,15 +152,15 @@ ccAccepted = [ 72, 73, 74, 75, 76, 77, 78, 84, 91, 92, 93, 94, 95, 98, 99, 100, 101, 128, // Dry level (internal register for Octavia) - // 12, 13, // General-purpose effect controllers + 12, 13, // General-purpose effect controllers 16, 17, 18, 19, // General-purpose sound controllers - // 14, 15, 20, 21, 26, 28 // For some reason, used by PLG-VL + 14, 15, 20, 21, 26, 28 // For some reason, used by PLG-VL 129, // PLG-VL part breath mode 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, // PLG-VL part controls 142, 143, 144, 145, 146, 147, 148, 149, // PLG-DX carrier level 150, 151, 152, 153, 154, 155, 156, 157 // PLG-DX modulator level ], // 96, 97, 120 to 127 all have special functions -aceCandidates = [2, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], +aceCandidates = [2, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 131, 136], nrpnCcMap = [33, 99, 100, 32, 102, 8, 9, 10]; // cc71 to cc78 const korgDrums = [0, 16, 25, 40, 32, 64, 26, 48]; @@ -765,7 +765,7 @@ let OctaviaDevice = class extends CustomEventSource { console.debug(`CH${part + 1} set to melodic by MSB.`); }; }; - if ([81, 97].indexOf(det.data[1]) > -1) { + if ([33, 81, 97].indexOf(det.data[1]) > -1) { this.#ext[extOff] = this.EXT_VL; } else { this.#ext[extOff] = this.EXT_NONE;