Armed recording follows external MIDI clock Start/Stop, with its tail (0.34.0)
MidiClock reports Start/Continue/Stop to an onTransport hook before the receive gate; the engine's recorder now runs while the sequencer plays or an external clock runs, so an armed take starts on clock Start (also in sound-module mode) and ends a TAIL after clock Stop. Sizzle's own Stop ends a clock-started take too. ClockRecordingTest covers start, tail, disarmed and stop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
3088912264
commit
e38e2a2707
@@ -397,6 +397,14 @@ one is treated as dead too (events within 1 s of our own open/close are ignored)
|
||||
USB and Bluetooth sources are not probed: Android reports their removal.
|
||||
`MidiInput` logs connects/reconnects under the `SizzleMidi` tag.
|
||||
|
||||
**Recording on the clock (0.34.0).** `MidiClock.onTransport` reports every
|
||||
Start/Continue/Stop byte, before the `receiveEnabled` gate, and `SizzleApp` forwards
|
||||
it to `AudioEngine.externalClockStart/Stop`. The master recorder's state machine
|
||||
treats "the sequencer plays OR an external clock runs" as running: Start begins an
|
||||
armed take (`maybeStartRecording`), and the TAIL countdown starts on the edge where
|
||||
both have stopped. `pause()` / `stop()` clear the external flag, so Sizzle's own
|
||||
Stop ends a clock-started take. `ClockRecordingTest` covers start, tail and stop.
|
||||
|
||||
**Tracing (0.29.1).** `input/MidiTrace` logs, when switched on with
|
||||
`adb shell setprop log.tag.SizzleMidiTrace VERBOSE` (re-read every 500 ms, free
|
||||
when off), every received packet (`recv <source> [bytes] <decoded> late=…ms`), each
|
||||
|
||||
Reference in New Issue
Block a user