MIDI CC In: 0 is the default

This commit is contained in:
2023-10-18 19:35:20 +02:00
parent 9e08bfc2e4
commit 1341522f47

View File

@ -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 => {