Looper: MIDI-mappable A/B/C/D track taps
Add looperTrack(index:) PedalActionKind dispatched to LooperPedal.tapTrack, and Track A–D rows in the MIDI mapping sheet (one per track, up to trackCount). A mapped switch/Program Change taps the dot — selecting the track, or muting it when it's already selected and recorded — matching the timeline dots. Covered by pedalActionTapsLooperTrack. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -85,6 +85,9 @@ public struct MIDIMap: Codable, Equatable, Sendable {
|
||||
case looperReverse
|
||||
/// Looper: cycles the Sync/Free transport mode (`LooperPedal.cycleSyncMode()`).
|
||||
case looperSyncToggle
|
||||
/// Looper: taps track `index` (0 = A) — selects it, or mutes it if already selected and
|
||||
/// recorded (`LooperPedal.tapTrack(_:)`), matching the A/B/C/D dots.
|
||||
case looperTrack(index: Int)
|
||||
}
|
||||
|
||||
// MARK: - Switch binding
|
||||
|
||||
Reference in New Issue
Block a user