Files
JIANT/docs
Claude b4b6307ac5 FX > REPEAT on the beat: the slice is the beat's first 1/8, 1/16, 1/32
A user's request, the owner's go ("cuantizar el inicio"): while playing, a REPEAT that has to record waits for the
next beat of the transport (clk_n a multiple of 4), so the slice it loops starts on the beat and its repeats stay in
phase with the bar. A shorter REPEAT over one already recorded (a roll 1/8 -> 1/16 -> 1/32) still switches on the next
1/16, and letting a REPEAT go gives the one held before back: both now read the loop where the bar is (perf_grid), not
from its start. Stopped: at once, as before. REVERSE, TAPE STOP, STRETCH: on the 1/16, as before.

perform.c: perf_q (out of perf_begin's RAM code, through a register) and perf_grid (out of perf_switch, its pinned
size kept); RAM code 40432 B as before, perf_begin's target cost unchanged, app slot 9796 B free.
tests/perform_test.c: the timing case on the beat; new "on the beat" (1/8 1/16 1/32 x 93 120 137 BPM x pressed early,
mid, late: live to the beat, then the beat's slice, in phase) and the roll / let-go phase case. Manuals updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-12-05 11:12:09 +00:00
..