From 1341522f476a23b0c5c2b44be416ab247c783f1f Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Wed, 18 Oct 2023 19:35:20 +0200 Subject: [PATCH] MIDI CC In: 0 is the default --- src/API.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/API.ts b/src/API.ts index c37b005..e05e963 100644 --- a/src/API.ts +++ b/src/API.ts @@ -564,8 +564,8 @@ export class UserAPI { if (channel) { if (this.MidiConnection.lastCCInChannel[channel]) { return this.MidiConnection.lastCCInChannel[channel][control]; - } else return 64; - } else return this.MidiConnection.lastCC[control] || 64; + } else return 0; + } else return this.MidiConnection.lastCC[control] || 0; }; public has_cc = (channel?: number): boolean => {