feat: auto-loop on range selection + per-track instrument isolation

- isLooping defaults to true on subTab creation (auto-loop when
  range selection is set)
- Per-track instrument confirmed: selectInstrument respects passed
  channel, _playNoteFluid bypasses _engineChMap when channel is
  explicit, no-instrument fallback sets program 0 (default piano)
  instead of inheriting another track's program
This commit is contained in:
2026-07-27 20:16:55 +07:00
parent b5344e41f7
commit 0420eccb82
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -8296,6 +8296,7 @@ const App = () => {
instrumentName: track.instrumentName, instrumentName: track.instrumentName,
currentTime: 0, currentTime: 0,
isPlaying: false, isPlaying: false,
isLooping: true,
selectionStart: null, selectionStart: null,
selectionEnd: null, selectionEnd: null,
viewport_start_bar: 0.0, viewport_start_bar: 0.0,
File diff suppressed because one or more lines are too long