You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Convert a preset to the other pedal (PT-BR "Converter para …"): "Convert preset to…" in the shared preset header (both pedals) rebuilds the loaded preset (unsaved edits included) for the other pedal. A report lists every block: kept on the same gear, approximated (same gear family, or the closest gear), a generic model of the same kind, or not converted and why (user IRs and captured profiles are files on the pedal, the Matribox's knob, footswitch, CTRL and expression assignments name its own blocks, a kind of effect the target lacks, no free place in the chain), plus the parameters that took the target's default. The result downloads as the target's own preset file (Matribox .prst, Pocket Master preset JSON). A file of the other pedal picked in Import opens the same conversion, and then "Load into the edit buffer" puts it on the connected pedal without saving it.
Core: a pedal-agnostic tone (src/tone/): an ordered chain of blocks with a role, the gear the model is based on, on/off and parameters by semantic name normalized over each model's range (real units kept when both sides know them). Each pedal has an adapter (toTone, fromTone with a report; TONE_ADAPTERS, convertPreset), so a new pedal only adds its adapter. Model choice: same gear (spelling normalized), else gear family or closest gear, else the target's generic model, else dropped; deterministic. encodePreset writes a Pocket Master edit-buffer dump from a decoded preset and mbBuildPreset builds a Matribox preset from a chain.
MCP server: convert_preset converts a preset file of one pedal to the other offline and returns the converted file content and the report.
Conversion keeps an amp's channel: the amp's voicing (clean, drive or high gain) is read from the Matribox amp type and from the Pocket Master model description, and among models of the same gear the same voicing wins. A Soldano lead (Pocket Master "Sol 100 LD") no longer becomes a clean amp, and a clean amp never lands on a driven one (the generic fallback for a clean amp is Dark Twin / BLK-BIG).
A converted Pocket Master preset keeps the usual module order when the placed blocks already follow it, instead of moving the unused modules after the EQ.
The convert dialog closes after "Download for ..." and colors each outcome (same gear green, approximated yellow, generic orange, not converted red); the text label stays.
Same action layout on every pedal. Both editors share one header, in one order: Undo, Redo, Read, Revert, Save…, Copy…, Export preset, Import preset…, Convert preset to… ▾, Tuner and a gear for Global options (PT-BR: Desfazer, Refazer, Ler, Reverter, Salvar…, Copiar…, Exportar preset, Importar preset…, Converter preset para… ▾, Afinador, Opções globais). Everything after Save… folds into one "More actions" menu on a narrow screen, on both pedals. The Pocket Master's export, import and convert moved there from the Library tab.
"Convert preset to… ▾" lists every other supported pedal (taken from the pedal list, not a fixed pair) and a choice opens that conversion's report. A file of another pedal picked in Import still opens the conversion.
Matribox II Pro: Revert (loads the slot again, dropping unsaved edits), Copy… (copies one slot over another: the source is read, the target backed up first, written whole and read back, like an import; unsaved edits of the loaded preset are discarded and the dialog says so) and a Tuner in the header, which sends the same tuner Control Change the Controls tab's switch did. The switch is gone from the Controls tab so the tuner has one state (that fold is now just "Tempo").
Matribox II Pro: the Backups tab lists the slot backups kept in this browser (made before each save, import, copy and restore) with Restore, Download and Delete, above back up all and restore all, like the Pocket Master's list. A restore backs the slot up again first, so it can be undone from the same list.
The dock has the same tabs in the same order on both pedals: Clones & IRs, Controls, AI, Backups, Global & EQ. The Pocket Master's Controls tab stays in its place, disabled, with a tooltip saying the Pocket Master has nothing to set there. The AI tab shows once a preset is read, on both.
Organize presets (PT-BR "Organizar presets"), for the Pocket Master (user slots P01–P50) and the Matribox II Pro (1A–60D): an "Organize…" button in the preset list opens the slots as a list to put in another order, for a gig's setlist. Drag a row, use its arrows or Alt+Up/Down, or "Swap…" two; the slots that would change are highlighted with where they came from. Apply lists every slot change ("P05 LEAD → P02") and asks first. Every slot that changes is then read and kept as a backup in the Backups tab before anything is written (nothing is written if the browser will not keep them), each slot is written through the existing restore path and checked by reading it back, one at a time, and it stops at the first failure saying which slots were already written. The loaded preset is loaded again from the slot it moved to. Refused while the loaded preset has unsaved edits (Organize loads other slots), and on a Matribox whose firmware format is unknown (read-only). The planner (core planSetlist) writes only the slots whose content changes and does cycles (a swap, a move with shift, a rotation) with one preset held in memory, never an extra slot; a pedal only brings "read a slot / write and check a slot / keep the backups" (applySetlist).
Changed
The Matribox II Pro's preset header keeps only the name, the sync chip and the patch volume; its actions moved to the shared toolbar row, the same place as the Pocket Master's.
Removed
The preset library (the Library tab, the list of exported and imported presets kept in this browser) and the Pocket Master assistant's saved-tone tools (list_saved_tones, load_saved_tone, keep_tone) that used it. Presets exported or imported earlier stay in the browser's storage under pocket-master-editor.presetLibrary.v1, unread; clearing the site's data removes them.
Fixed
Docs (Matribox): the clone section no longer says our clone "sounded the same as the official one" (also in the released 1.2.0 note, which stays as written). The owner's 2026-11-25 A/B, with the earlier Pocket-Master-converter fit, was "close, but much bassier" than the official CLONE at the same level; the startClone port has not been heard on the unit yet. The Phases list no longer waits for the owner's check: support was validated and declared stable on 2026-11-30.
e2e: the drum machine "follows the changes made on the unit" spec waits for the editor's connect reads to settle before the unit's notices (an older read answer overwrote them, 8 of 30 runs failed); the knob-notice spec races the knob against the 0.4 s held-notice delay instead of counting animation frames.
Save dialogs (both pedals): the active role button (CLEAN / RHY / LEAD) can be pressed again to remove the role, which drops the suffix from the name. A slot is no longer given a chip by its position once it is named: a name without a role suffix shows no chip (a preset named "53A-MT" in slot A showed CLEAN and the tag could not be removed). Only a blank slot still shows its positional hint (CLEAN / RHY / LEAD, or LIVRE for the Matribox's D). The bank header of the loaded preset follows the same rule.
The AI dock tab no longer fails WCAG AA contrast (the red label and frame measured under 4.5:1): it keeps its outlined frame, glowing LED and states, now in the app's amber accent (--ws-amber), and the accessibility checks no longer exclude it.
Loading a preset into the Pocket Master's edit buffer, or restoring one, now names what the pedal did not take when its check fails ("the pedal did not take every edit (preset volume, DRV Gain, chain order); nothing was saved"), up to four items, instead of a bare message.
Matribox II Pro: a converted preset loaded into the edit buffer (and any whole chain: Undo, Redo, the assistant) kept the cab the unit picked for the amp instead of the preset's own, with no error. This happened when the unit's Cab Match / Auto CAB setting was on (Hot Rod 4x12 in place of US Metal 4x12 under a Soldano amp). After the writes the chain is now read back and compared with the target (models, on/off and values). What still differs is written once more from the unit's state, so the CAB model goes again after the AMP. Anything left after that is an error that names it ("The Matribox did not take every edit (CAB model)"), and the unit is put back as it was.
Converting a Matribox preset to the Pocket Master: a modulation or FX after the amp now prefers FX2 (one before it FX1), and when the placed blocks cannot follow the usual order the unused modules still keep their usual place (NR first, RVB last) instead of being sorted to wherever they land.
The "did not take every edit" errors (Matribox II Pro chain loads, and the Pocket Master edit-buffer check) are translated in the Portuguese UI, also inside the "nothing was applied" rollback message.
Matribox II Pro: a list parameter (CHOR-WIDE Mode, DRV Mode, AC SIM Mode, the delay's Low Cut...) shows only its menu; the second chip that repeated the selected label is gone. The catalog's range for CHOR-WIDE Mode is 0..3 with the labels 1..4, so the menu offers 1 to 4 and writes the step index (0..3), unchanged.
Preset lists (both pedals): the CLEAN / RHY / LEAD chip comes from the preset's name when it ends in one ("MTL-RHY"), so it moves with the preset when Organize reorders the slots; a name without a role still shows the role of its place in the bank.