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
Sonicake Smart Box (2.0.0): deleting an IR or capture slot and the factory reset are enabled, behind a typed confirmation, the last two destructive commands the editor held back. The factory reset sits in Global options as on the Pocket Master (type RESET, then "Reset the pedal"; a Smart Box note says to do it over USB, since a reset over Bluetooth hung the owner's unit, and that the reset button underneath recovers it). Delete on an IR or capture slot now asks for the slot's label (IR2, PROFILE1, the same label the MCP delete_slot asks for), on both pedals; the Pocket Master's delete used a plain confirmation. The frames leave the core link only through its dedicated methods: link.factoryReset() (11 3F) and the new link.clearSlot(domain, slot) (11 23 / 11 27, which clearUserIr / clearUserProfile now use); edit, presetOperation and upload still refuse them on the Smart Box. The MCP gets neither for the Smart Box (no factory reset for any pedal; slot deletes stay web-only for the Smart Box, as do its slot uploads). Firmware and bootloader frames stay banned. Tests: core unit tests on a fake transport (each dedicated method sends exactly its one frame, the generic paths still refuse it, an out-of-range slot sends nothing, a sweep over every other 11 xx command id and every other message type proves the allowlist refuses them), MCP tool list (no reset tool, no Smart Box delete), e2e on the simulated Smart Box (the reset and both deletes stay disabled until the exact word is typed, then send exactly F0 04 0B 00 01 00 00 00 02 01 01 03 0F F7, 11 23 and 11 27).
Changed
Matribox II Pro: 15 more CAB models now show a real-gear reference in the model menus' "Based on" column, taken from the cabinet list of the Valeton GP-200 platform the unit shares (matched by list order and type): Custom 2x12 (Fender 2x12, custom modified), Brit Trad 4x12 (Marshall 1968 Basketweave 4x12), Brit Mod 4x12 (Marshall 4x12, custom modified), Brit Dark 4x12 (Marshall 1968 4x12), Studio 1x12 (Mesa/Boogie 1x12, 1980s), Blue 2x12 (custom 2x12 with Celestion Alnico Blue), Classic 4x12 (vintage WEM 4x12), US 4x12 (Mesa/Boogie Road King 4x12), Hi-Fi 1x15 and Hi-Fi 4x10 (Eden), Pro 1x15 (SWR) and Pro 4x10 (SWR Workingman's), Bass 2x10 (Mesa/Boogie), Bass 4x12 (Hartke) and Square Dread (Gibson Hummingbird). Set as gear in model-text.json (the descriptions now open with "Inspired by …" / "Inspirado no …") and as basedOn in models.json, so a re-run of the generator keeps them. Models with no named gear in any public source stay blank instead of guessed: the generic acoustic bodies (dreadnought, OM, jumbo, GA, nylon, mandolin, fretless, upright), the EQs, and the platform's own dynamics, pitch, filter, modulation, delay and reverb algorithms. Test: spot checks of the new references and that basedOn stays a string.
Sonicake Smart Box (2.0.0): the test phase is over. The amber notice in the editor ("Smart Box: live edits, save, … enabled for testing; deleting a slot, factory reset and the rest still blocked") is gone, and so is the read-only plumbing behind it (readOnly in usePocketMaster, PresetActions and SettingsDialog). The untested-firmware notice stays Pocket Master only. A write the allowlist refuses now reads "Smart Box: the editor never sends this write to this pedal. Nothing was sent to the pedal." (PT-BR too). The allowlist in profile.ts is the final list, with a comment naming what stays out and why (firmware/bootloader, battery-only and unidentified globals records, the reset and the clears outside their dedicated methods). The README and /about list the Smart Box as supported (its own card) instead of "in testing, experimental"; docs/smart-box.md follows.
Fixed
A list parameter on a block's faceplate (Smart Box and Pocket Master Voks 30TB's CHAR Cool/Hot, Touch Wah and AC G Mode, A BassVT MidFreq; Matribox DYN AC SIM, FREQ Smart Harmony and Pedal Shift, DRV CLR-D, ROAR-D and BASS-OD, AMP BASS-HD, MOD CHOR-WIDE, DLY Rack Digital) is now ONE themed control: the current choice sits inside it, its choices open as a menu right under it (keyboard: arrows, Enter, Escape; 44 px rows on phones) and no value chip, native popup or second readout repeats it. New ParamSelect (select-only combobox with a listbox) shared by the Pocket Master / Smart Box faceplate and the Matribox panel. Matribox lists that were drawn as an On/Off switch or a knob with a value readout now use it too: named two-step lists (CHIME-30D Char Cool/Hot, WAH AUTOWAH Mode, DRV AMBR-D Mode LP/HP, MOD PHAS-S Color, MOD PULS-V Mode) and long lists (Smart Harmony Key and Interval 1/2). Tests: e2e on the simulated Smart Box (Voks 30TB CHAR: one control, a pick sends the write, keyboard) and a unit check over every Matribox list parameter.
Menu parameters carry a caption that says what they choose, on every pedal: the faceplate reads "Voicing: Cool/Hot", "Mid frequency: 800Hz", "Time (sync): 1/4" instead of the catalog's CHAR, MidFreq or a bare Time. Pocket Master and Smart Box: Voks 30TB Char is "Voicing" (PT-BR "Timbre"), A BassVT MidFreq "Mid frequency" ("Freq. dos médios"), Touch Wah and AC G keep "Mode" ("Modo"), and a delay's or modulation's Time, Rate and S-Rate with Sync on read "Time (sync)" ("Tempo (sync)"), "Rate (sync)" and "Sweep rate (sync)". Matribox II Pro: the same for CHIME-30D Char, BASS-HD Midrange, BASS-OD Mode ("Voicing"), AMBR-D Mode ("Filter type"), Smart Harmony Key, Mode ("Scale") and Interval 1/2, Pedal Shift Range, Rack Digital Phase Reverse, Low Cut and High Cut, and every synced Rate and Time. The wording lives in a display map in the web layer (lib/menuCaptions.ts, EN and PT); the catalog and protocol names the AI and MCP use are unchanged. The caption is the select's accessible name, never the value (one control still shows the choice). Knobs and switches keep their captions. Tests: unit (every menu parameter on the three catalogs has an unabbreviated caption in both languages, none repeats one of its own options) and e2e on the simulated Smart Box and Matribox.
Restore and import dialogs: when a block's model changed, the list showed only the model line and hid every parameter change (an AMP model change plus Gain 90 listed only "Model B-Man B to Voks 30TB"). It now also lists the parameters both models share, matched by name, when their displayed values differ; parameters only one model has stay out. Same-model comparison is unchanged. Test in compare.test.ts.
Smart Box hardware checklist, 2.0 (A11): deleting a user IR or capture slot was hard to find. Comment / Rename / Delete sat in one row that could not wrap, and the panel clips what overflows, so in a narrow Clones & IRs column (Portuguese labels are the longest) "Apagar" fell outside the card. The row now wraps under the slot name, every empty slot shows Delete disabled, and a hint under the lists says that Delete empties a filled slot after you type its label (IR5, PROFILE5). Tests: e2e on the simulated Smart Box in PT at desktop and phone width (a WAV is loaded into slot 5, then Apagar is visible, enabled, inside the panel and asks for IR5; empty slots show it disabled with the hint).
B4: with the app in Portuguese, turning a Smart Box off over Bluetooth showed "The pedal disconnected from Bluetooth." in English. That message and the other connection, status and error texts of the USB, Bluetooth and connection code (usePocketMaster, useMatribox, ble.ts) now go through i18n (EN + PT): Bluetooth connect failures and the browser's missing Web Bluetooth, "Connect the pedal first", busy, not connected, connection closed, and the storage messages. The reason after "Could not open the ports:" and the other prefixed messages is translated too. Tests: a unit test reads those source files and fails when an English message there has no Portuguese translation.
F2: in Global options, the factory reset's RESET field, Cancel and the red "Reset the pedal" button were one row wider than their card. The row now wraps inside the card: the field takes the full width, the buttons go on the row below when needed. Tests: e2e in PT at desktop and phone width, dark and light themes, checks the three controls stay inside the card and the page has no horizontal scroll.
F3: backups did not say which pedal they came from. Each backup (all presets or one slot) now shows a pedal badge: Smart Box, Pocket Master or, in the Matribox editor, Matribox II Pro. With a pedal connected, the list shows its own backups first, with a "This pedal / All pedals" switch (PT "Este pedal / Todos os pedais") and how many are hidden. Another pedal's backup can be downloaded but not restored: its Restore buttons are disabled with the reason underneath (the core already refused it; there is no conversion for backups). Older backups without the pedal field are read from their payload: a dump whose model codes only the Smart Box catalog knows is a Smart Box one (and gets the field, so it restores on a Smart Box); one the Pocket Master reads is a Pocket Master one; a payload neither can decode is "Unknown pedal" (PT "Pedal desconhecido"). Downloaded backups are named after the pedal (smart-box-backup-P31-…json, pocket-master-backup-all-user-presets-…json). New lib/backupPedal.ts. Tests: unit for the inference, e2e on the simulated Smart Box for the badges, the filter, the disabled restore and the file name, EN and PT.