mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-12 22:15:27 -04:00
Fix setting that uses a specific MIDI channel
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user