Skip to content

feat(firmware): overhaul the pedal UI screens, controls and installer wording - #24

Merged
isod89 merged 8 commits into
isod89:mainfrom
VinSpee:fm/upstream-ui-overhaul
Nov 10, 2026
Merged

isod89 merged 8 commits into
isod89:mainfrom
VinSpee:fm/upstream-ui-overhaul

Conversation

@VinSpee

@VinSpee VinSpee commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

The pedal's controls and screens are reworked after a design review of the v40 interface (findings F4 to F19; F1 to F3 are already in v41, from the screen quick wins in commit 1226e4a). The sound path is unchanged: no file under engine/ changes. It is based on v41 (69561af) and does not depend on any other pull request.

What changes on the pedal

  • Both footswitches open the tuner, as the panel always said. The first one still changes the preset at once; the second one, within about 0.15 s, changes it back and opens the tuner.
  • PUSH on PLAY opens the block at once instead of waiting 350 ms for a second click. A double click still starts MOVE.
  • One unsaved edit is kept when a footswitch moves on: come back to that preset and the edit is there, still marked EDITED.
  • The preset list: HOME on PLAY lists the presets by name; the knob browses without loading, PUSH loads.
  • NAM MODEL and USER IR move one model a click, skip the empty slots and show their place (MODEL 6/14). The stored 0 to 100 value is kept, so presets do not change.
  • On a block page the knob goes down the page in the order drawn: ON, the model, the settings. FX steps through its blocks in the order of the preset's chain.
  • The corner reads DSP 42%, amber above 80 %, red when a block ran late. The tuner page shows the tuner only, with an arrow toward in tune.
  • The readings for a bug report move to two diagnostics pages (keep holding HOME past the tuner): bars for the load against the safety guard and for each core, the costliest blocks sorted with the heaviest highlighted, input meters with a clip zone, a soft-clip marker, a battery gauge, and counters as coloured chips, with every figure still written beside its graphic.
  • Smaller things: a copy saved to another slot keeps its name and the page says so, RESTORE FACTORY says PUSH: RESTORE and does nothing on a factory sound, SYN's page is SYNTH, USER IR's cuts show HZ, and the boot and failure screens lead with one plain sentence and keep the numbers below.
  • The installer (F19): the rescue checkbox moves into the advanced section, success names the version (such as OpenPocket v41) and links to the editor and the release notes, and the last stage chip no longer stays amber when done.

docs/SOUNDS-AND-CONTROLS.md, docs/SIMULATOR.md and the BLE and MIDI pages describe the new controls. The simulator's API gains press/fx_long and press/feet and the modes midi, list and diag (additive). There is no editor protocol change: block page item numbers are unchanged (F9 changes only the knob's order).

On top of v41

  • v41's CORE 2 OFF line on the MIDI page is kept as it is. The corner no longer shows C1, C0 or 2C (F11); which cores ran is on the first diagnostics page. The sentence in docs/WHATS-NEW-v41.md about C1 in the corner describes v41 and is left as it is.
  • The fork labelled this work "v41" in comments and test messages. v41 shipped without it, so one commit relabels those as v42 and takes out the section it had added to docs/WHATS-NEW-v40.md. A text for the next release's notes is at the end of this description.

Before and after

Rendered by the simulated pedal (the firmware's own ui.h compiled natively), from v40 and from this work, with the same script. The boot and failure screens are drawn outside ui.h and were re-issued with the same calls and example values.

play block page
NAM model tuner
preset list edit kept
FX DSP high
restore save copy
SYNTH gate
failed start failed update

New pages: diagnostics 1/2 and 2/2 (the knob turns the page), and the preset list.

diagnostics 1 diagnostics 2 preset list

The screenshots live in docs/ui-overhaul/ only so that this description can show them; the folder can be deleted after review.

How it was verified

On this branch, rebased on v41:

  • node tools/op.mjs test passes in the container. The screen test draws all 47 pages with no never drawn region, and tests/uisim.c drives F4 to F17 through ui.h's own controls (ui_buttons, ui_turn, ui_action), and it draws v41's CORE 2 OFF line on the MIDI page.
  • tests/test_sim.mjs drives the simulated pedal over HTTP: both footswitches, the kept edit, the preset list, the diagnostics, one model a detent.
  • The installer, editor, pedal skin and audio page tests pass in headless Chromium (.claude/skills/verify/scripts/pages.sh), and node tools/op.mjs package builds.

The work was first reviewed in the fork (VinSpee/openpocket pull request 22). There, an image of it on v40 was flashed to a BlackBox: presets 1, 2, 10, 19 and 24 read the same DSP load and peak as before, with no late blocks, clipping or bypass. This rebased branch was not flashed.

Not checked on the real pedal

  • The screens on the LCD (legibility at standing height, in the dark and in daylight), and the diagnostics pages turned by the knob.
  • Every new gesture by hand: both footswitches for the tuner (whether two feet land within 150 ms), PUSH opening at once and the double click for MOVE, HOLD HOME for the tuner and then the diagnostics, the preset list.
  • The kept edit, the list settings and the FX order with real presets and user models.
  • The boot, failed-start and failed-update screens with live values, and the installer's new wording against a real pedal.

Known limits

  • The diagnostics have no output level meter (that would need an audio-path change, which was ruled out) and no bypass-event count (only the current bypass state exists).
  • The editor's click-to-select NAM model (F7 in the editor) is not done, and the button lights (F20) are only reported.
  • The Bluetooth test image (node tools/op.mjs ble) does not link. v41 itself is 1,200 bytes over its XIP region; with this change it is 7,160 bytes over. The release image is not affected.

Text for the next release's notes

A design review of the pedal's interface (SOUNDS-AND-CONTROLS.md has the full list):

  • Both footswitches open the tuner, as the panel always said. The first one still changes the preset at once; the
    second one, within about 0.15 s, changes it back and opens the tuner.
  • PUSH on PLAY opens the block at once. It used to wait 350 ms for a possible second click. A double click still
    starts MOVE.
  • An unsaved edit is kept when a footswitch moves on: come back to that preset and the edit is there, still marked
    EDITED. One edit is kept at a time.
  • The preset list: HOME on PLAY lists the presets by name; the knob browses without loading, PUSH loads.
  • NAM MODEL and USER IR move one model a click, skip the empty slots and show their place (MODEL 6/14).
  • On a block page the knob goes down the page in the order drawn: ON, the model, the settings. FX steps through its
    blocks in the order of the preset's chain.
  • The corner reads DSP 42%, amber above 80 %, red when a block ran late. The tuner page shows the tuner only, with an
    arrow toward in tune; the readings for a bug report are on the diagnostics pages (keep holding HOME): bars and
    meters for the load, each core, the costliest blocks, the inputs and the battery, every figure written beside its picture.
  • Smaller things: a copy saved to another slot keeps its name (the page says so), RESTORE FACTORY says PUSH: RESTORE
    and does nothing on a factory sound, SYN's page is SYNTH, USER IR's cuts show HZ, a failed start or update says what
    to do first.

The controls now have one dispatch in firmware/ui.h (ui_buttons, ui_turn, ui_action) that the main loop and the
simulator both call, so the gesture timing is tested on the host.

F4: one unsaved edit survives a preset change by foot or from the list and comes back with its slot.
F5: both footswitches open the tuner (the second within 150 ms, while the first is held, takes the first step back).
F6: PUSH on PLAY opens the block at its release; a second click within 350 ms turns it into MOVE.
F7: NAM MODEL and USER IR step one filled item a detent and show their place; stored values are unchanged.
F8: HOME on PLAY opens a preset list (knob browses, PUSH loads, HOME returns).
F9: the block page's selection follows the page (ON, MODEL, settings); item numbers are unchanged.
F10: FX steps through its blocks in the preset's chain order.
F11, F12: the corner reads DSP 42% (amber above 80 %, red when late); the tuner page shows the tuner only, with an
arrow; the readings for bug reports move to a diagnostics page behind a further hold of HOME.
F14 to F18: the NAM model under the tiles, SAVE and RESTORE wording, SYNTH, no arrows on one-model blocks, HZ on the
IR cuts, plain boot, failed-start and failed-update screens.

No engine file changes: tests/equiv.sh HEAD is identical (852 runs). tests/uisim.c checks each finding.
…success (F19)

Rescue mode moves into the folded 'Rescue and advanced options' section. A finished install reads 'OpenPocket v40
(PocketX_940)' and links the editor and the release notes, and every stage chip shows done.
…its graphic

Page 1: the load against the safety bypass's limit, each core's load with the layer split, LATE, CLIP and BYPASS as
chips, the four costliest blocks as sorted bars (the heaviest amber), PK, CUT. Page 2: a meter per input channel with
its clip zone, a marker for the output's soft clip, the battery as a cell with volts and percent, the raw readings. The
knob turns the page. Green, amber above 80 %, red for a late block or a bypass. tests/uisim.c checks the colours, the
guard tick, the sort, the highlight, the clip marker, the widths and that both pages are fully drawn.
… to the release

v41 shipped without this work, so the comments and test messages that called it v41 now say v42. The section it added
to docs/WHATS-NEW-v40.md is taken out: it describes the next release, whose notes are written when it is made.
@isod89
isod89 merged commit 3db40f2 into isod89:main Nov 10, 2026
1 check passed
isod89 pushed a commit that referenced this pull request Nov 10, 2026
Verify and restore BlackBox V21 factory sounds. By Ivan Shevchuk (Testing7B).

docs/index.html: run() keeps #24's end of an install (every stage done, the version named, the release notes and editor
links) and #26's own messages for the V21 checks, which are not installs (no stage shown, no version link).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LFaxqW3CpFrLCvqoteTUv9
isod89 pushed a commit that referenced this pull request Nov 10, 2026
…al controls, #25 USB audio, #26 V21 factory sounds)

OP_VERSION_NUM 42. docs/WHATS-NEW-v42.md (with #24's text for the release notes), README, NOTICE (contributors: Vince
Speelman for #23-#25, Ivan Shevchuk for #26).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants