fix: pass channel+synth_engine to playNote in all MIDI playback paths

6 call sites were missing channel parameter, causing FluidSynth
to use ch=0 for all tracks -> program_change on channel 0
overwrote instrument across tracks during playback.

Fixes: startTrackPlayback, section sub-track MIDI, playMidiPreviewNote,
piano roll Alt+scroll preview, note click preview, keybed preview.
This commit is contained in:
2026-07-27 20:42:45 +07:00
parent f429f6b1d3
commit 40502eda86
3 changed files with 75 additions and 18 deletions
File diff suppressed because one or more lines are too long