Fix setting that uses a specific MIDI channel
This commit is contained in:
parent
bc9e97b9ac
commit
deb69ced9f
1 changed files with 2 additions and 2 deletions
|
|
@ -121,8 +121,8 @@ export class MidiInput {
|
|||
const scaled = v / 127;
|
||||
|
||||
this._refs[ccNum] = scaled;
|
||||
this._refsByChan[ccNum] ??= {};
|
||||
this._refsByChan[ccNum][chan] = scaled;
|
||||
this._refsByChan[chan] ??= {};
|
||||
this._refsByChan[chan][ccNum] = scaled;
|
||||
|
||||
this._saveState(undefined, ccNum, scaled);
|
||||
this._saveState(chan, ccNum, scaled);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue