Skip to content

0029: a user effect's P5..P16 on SEND FX pages 2 / 3 (#15) - #19

Open
twwwy wants to merge 5 commits into
trigcondition:devfrom
twwwy:feat/sendfx-pages
Open

twwwy wants to merge 5 commits into
trigcondition:devfrom
twwwy:feat/sendfx-pages

Conversation

@twwwy

@twwwy twwwy commented Nov 16, 2026 •

Copy link
Copy Markdown

Closes #15: a user effect's P5..P16 on SEND FX pages 2 and 3. The Sidecar half is trigcondition/sidecar-firmware#46. Builds on #18 (full names, 0x51): its commits are in this branch too, so please merge #18 first; the diff here is then the last two commits.

What the user sees

  • For an effect with more than 4 controls, SRC (SEND FX 1) / SMPL (SEND FX 2) held + DOWN / UP pages through:
    • page 2: A..H = P5..P12;
    • page 3: A..D = P13..P16, with E..H empty.
  • No cycling, no FUNC.
  • The title says the page (SEND FX 1 2/3).
  • Page 1 is today's page.
  • The upper left shows each knob's full name while it turns.
  • Every built-in (P1..P4 only) has one page, and nothing changes there.
  • The values are the Sidecar's (22 ver 3, like BASE / WIDTH). They are never in the kit and can't be p-locked.

How (design.md section 13)

  • Keys: an ev_key subscriber at order 5, before 0026's 10.
    • On SEND FX with a paged effect, SRC's / SMPL's press is held back. It's given to stock (STOCK_KEY) at the release when no arrow paged, so SRC still leaves for DELAY, on release.
    • UP / DOWN are taken only while SRC / SMPL is held there.
    • 0026's UP-then-SRC (the source list) is the other order and untouched.
  • Which page is on screen: the view the SEND FX knobs were read through is checked against the controller's view list, before SamplerLedView, with nothing but a pad view after it, and with knob A being TYPE's record. The view list was measured in the emulator.
  • No free parameter records (the 1.74 table was scanned). So the visible FX's own 8 records switch while page 2 / 3 shows.
    • The FX set's wrappers answer them from a cache first: lock-get -1, lock-set refused.
    • Plain dials, the 51's names, and id 0 for page 3's empty knobs.
    • Page 1 restores them. The kit's words are never written.
  • Protocol: the 0x51 chunks for P5..P16 (short and long names; the page count from the highest P) and 22 ver 3 both ways, with section 11's crossing rule. An older Sidecar sends neither, so there's one page as before.
  • struct sfu_p holds the new state as its own symbol (sfu_x's offsets unchanged), and sfu_pages is writable now.

Tests (rytm-emu, OS 1.74 port, DTEMU_STRICT=1)

  • New sfu_emu.py TAG xpages, 14 checks. They cover:
    • three pages for a P1..P16 effect;
    • SRC held + DOWN reaching page 2 with its names, title and host values;
    • a turn going out as 22 ver 3 while the kit's FX words stay unchanged;
    • page 3 with E..H empty, and no cycling;
    • UP back to page 1 with everything restored;
    • a held trig making no lock;
    • a host value landing on page 2;
    • SRC tapped still going to DELAY;
    • SEND FX 2 via SMPL;
    • CHORUS getting no paging.
      Screens: xpages-2.png, xpages-3.png, xpages-1.png.
  • It passes on sfxui (section 4's set) and on the full set with 0026 and 0030 (sfp1, 72 checks with fullnames, labels and bw).
  • Whole suite sfu_emu.py sfxui all: 278 pass; 2 fail in ext (PLAITS ENG, 0021), the same 2 as unchanged rc5b.
  • Memory: the full set leaves 4276 B of elekloader RAM.
  • Hardware (Rytm MKII OS 1.74 + Pi 4, the full set with 0026 and 0030, a 16-control ZOIA port as UFX1): SRC / SMPL held + DOWN / UP pages, the knobs change the sound, SRC tapped still leaves for DELAY, the values come back after a kit change and a Sidecar reboot, SEND FX 2 the same, 0026's UP combos as before.
  • On 1.74 the suites need the rytm-emu change described in 0029 / 0022: full parameter names on SEND FX P2..P5 (0x51) #18.

🤖 Generated with Claude Code

twwwy and others added 5 commits November 16, 2026 01:37
…SENDFX FULL NAMES, trigcondition#14)

The host sends 51 after each TYPE's 24: per knob the 4-character label and a full name of up to 16
characters. 0022's sfx router passes 51 to 0029. 0029 keeps the names beside the TYPE's labels and
points P2..P5's record long names at them when the TYPE or the labels change, so the upper left shows
"Pre-delay" rather than "Send FX 1" while turning. With no 51 (an older Sidecar, a built-in without
names) it stays "Send FX n". 24 is unchanged, so an older 0029 keeps its labels.

Parsing and relabel were checked on the host; the emulator suites were not run (they do not reach
SEND FX on the OS 1.74 port, even before this change). design.md section 12.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hecks, OS 1.74 port)

Full names after 21 + 24 + 51 (RINGS, STUTTER), "Send FX n" without a 51 or for a TYPE without one, a 51 before
its 24 not used. design.md section 12: the emulator results (fullnames 15/15; the whole suite 233 pass, 2 ext
failures that unchanged rc5b has too) and the rytm-emu strict-mode fix 1.74 needs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 1.74 + Pi 4)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tion#15)

SRC (SEND FX 1) / SMPL (SEND FX 2) held + DOWN / UP pages an effect with
more than 4 controls: page 2 A..H = P5..P12, page 3 A..D = P13..P16; title
"SEND FX 1 2/3". The values are the Sidecar's (22 ver 3 both ways, as
BASE / WIDTH's ver 2), never in the kit, no locks; names from the 0x51
chunks P5..P16. No parameter record is free, so the visible FX's own 8
records switch while a page past 1 shows (the FX set's wrappers answer
them first). An ev_key subscriber (order 5, before 0026) holds SRC's press
back on such a page and gives it to stock at the release when no arrow
paged. Built-ins (P1..P4) are unchanged.

Tests: sfu_emu.py TAG xpages (14 checks) on sfxui and the full set (sfp1);
sfu_emu.py sfxui all: 278 pass, the 2 ext fails of unchanged rc5b.
design.md section 13.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… + Pi 4)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant