MIDI CC In: 0 is the default
This commit is contained in:
@ -564,8 +564,8 @@ export class UserAPI {
|
|||||||
if (channel) {
|
if (channel) {
|
||||||
if (this.MidiConnection.lastCCInChannel[channel]) {
|
if (this.MidiConnection.lastCCInChannel[channel]) {
|
||||||
return this.MidiConnection.lastCCInChannel[channel][control];
|
return this.MidiConnection.lastCCInChannel[channel][control];
|
||||||
} else return 64;
|
} else return 0;
|
||||||
} else return this.MidiConnection.lastCC[control] || 64;
|
} else return this.MidiConnection.lastCC[control] || 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
public has_cc = (channel?: number): boolean => {
|
public has_cc = (channel?: number): boolean => {
|
||||||
|
|||||||
Reference in New Issue
Block a user