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
|
||||
|
||||
+7
-2
@@ -193,8 +193,13 @@ editor as in the Toolbox); **CLOSE** or Back brings you straight back to the Mix
|
||||
|
||||
The strip along the top controls **recording** of the master output:
|
||||
|
||||
- **● ARM** — arm recording; capture begins when you press play.
|
||||
- **TAIL** — how many bars of effect tail to keep after the sequencer stops.
|
||||
- **● ARM** — arm recording; capture begins when you press play, or when a MIDI
|
||||
clock Start arrives from another app or device (Mikro Seq, a DAW, a drum
|
||||
machine), even while Sizzle plays only as a MIDI sound module. A clock Stop (or
|
||||
Sizzle's own Stop) ends the take after its tail. Each Start/Stop while armed is a
|
||||
new take.
|
||||
- **TAIL** — how many bars of effect tail to keep after the sequencer or the
|
||||
external clock stops.
|
||||
- **DIR** — the destination folder for the rendered file.
|
||||
- **master → WAV** — the master bus is captured to a stereo WAV.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user