#313: J/K/L shuttle the Source monitor both ways at up to 8x

Problem: with the Source monitor focused, L only ever played at normal
speed, and J and the slow shuttle commands returned "Source playback
currently supports normal forward speed": the Source clock always ran at 1x.

Fix: the Source clock runs at a signed speed. L/J play forward/backward
and pressing the same key again doubles the speed up to 8x; Shuttle Slow
Right/Left play at 1/4 speed. As in the Program monitor, speeds other than
normal forward play without sound, and backward playback stops on the
first frame. docs/monitors.md updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vangel76andClaude Opus 5.5 committed 2026-10-10 19:16:40 +02:00
1 parent 98ba9acbce
commit 3feadebbc4
4 files changed
+91 -20

No files matched your search

+9 -6
View File
@@ -43,14 +43,17 @@ Play auditions the full source span by default. Play In to Out and Play to Out
address the marked Source range when Source has focus. The Source wrench menu can loop the
marked range; Program keeps its separate loop setting.
Normal forward playback has sound. L starts normal forward Source playback, K stops, and the
left/right frame-step keys address Source when it has focus. Reverse and shuttle-speed Source
playback and source sequences are not yet supported and report an explanatory error. A failed
audio device leaves the picture advancing with a status message; a decoding error stops Source.
Normal forward playback has sound. With Source focused, L plays forward and J backward; pressing
the same key again doubles the speed up to 8×, K stops, Shuttle Slow Right/Left play at ¼ speed,
and the left/right frame-step keys step the Source playhead. As in Program, shuttle speeds other
than normal forward play without sound, and backward playback stops on the first frame. Source
sequences are not yet supported and report an explanatory error. A failed audio device leaves
the picture advancing with a status message; a decoding error stops Source.
Commands: `source.playback.play`, `source.playback.stop`, `source.playback.toggle` (no parameters),
available through the UI command registry, CLI bridge and MCP. `playback.toggle` also accepts
`monitor: "source"|"program"` to override focus. `ui.inspect.sourcePlayback` reports playing,
available through the UI command registry, CLI bridge and MCP. `playback.toggle`,
`playback.forward`, `playback.reverse`, `playback.slowForward` and `playback.slowReverse` also
accept `monitor: "source"|"program"` to override focus. `ui.inspect.sourcePlayback` reports playing,
audioClock and playhead. Test: `cargo test --release -p filmcraft-ui-egui --test source_playback_ui`.
## Drag a marked Source range to the timeline