fix: store midiChannel on track object for consistent per-track playback

- setTrackInstrumentWithProgram stores midiChannel on the track
- schedulePianoRollMidi reads track.midiChannel instead of
  recomputing from index (can be inconsistent across calls)
- selectInstrument also stores midiChannel if not already set
This commit is contained in:
2026-07-27 20:19:20 +07:00
parent 0420eccb82
commit 59cf1d67db
2 changed files with 17 additions and 9 deletions
File diff suppressed because one or more lines are too long