Looper: reset also clears reverse and the transient notice
resetLoop() left `reverse` untouched, so after a reset with reverse engaged the next take's auto-overdub on track A was silently blocked (closeMasterAndPlay skips overdub while reversed) and playback ran backward — the "record/overdub after reset looks broken" report. Reset now returns to forward playback and also clears any lingering engine-stop/rig-change notice so it can't mask the fresh state indicator. Covered by recordsAgainAfterReset. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -532,9 +532,13 @@ public final class LooperPedal: Pedal {
|
||||
masterLength = 0
|
||||
masterBeats = 0.0
|
||||
loopOn = 1.0
|
||||
reverse = 0.0 // clean slate: forward playback
|
||||
playTrigger = 0.0
|
||||
stoppedIndicator = 0.0
|
||||
cueStopArmed = 0.0
|
||||
// Drop any lingering transient notice so it can't mask the fresh state indicator.
|
||||
noticeText = nil
|
||||
noticeExpiry = nil
|
||||
updateOverdubGates()
|
||||
phase = .clear
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user