English · Português
Project page (opens in your browser's language)
Free, open-source editor for Sonicake guitar pedals, in the browser, as a desktop app, and as an MCP server so an AI assistant can build the tone you describe on the pedal.
- Sonicake Matribox II Pro: the full workstation editor, with a signal chain, knobs, 240 presets, a tone assistant, your own NAM clones, controls and backups (docs/matribox.md).
- Sonicake Pocket Master: full editor over USB MIDI or Bluetooth.
- Coming soon: Sonicake Smart Box, Matribox and Matribox II. Support is planned once the Matribox II Pro is finished.
No driver and no Connect button: open the page in Chrome, Edge or Opera and plug the pedal in; the editor recognises which pedal it is and loads its presets.
Open it: https://fgbona.github.io/OpenSonicX/ (updated with every release) · Download the app: latest release for macOS, Windows and Linux (details).
Unofficial: not affiliated with or endorsed by Sonicake. Product names are trademarks of their owners, used only to describe the modeled gear.
Status: 1.x. The Pocket Master editor is stable: reading, live editing and saving are checked on a real pedal, on a computer and on an Android tablet (USB and Bluetooth). Every save backs up the slot it overwrites, unless you opt out for that save. The Matribox II Pro editor is stable too: every feature is checked on a real unit, reading, live editing, saving, backups, IRs, clones, controls and the AI assistant. The screenshots here are taken against simulated pedals.
The editor works like a multi-effects workstation (HX Edit, Axe-Edit): one fixed screen, dark "stage" theme by default (a light theme is one button away), and the pedal stays the source of truth. Design notes: docs/design/workstation-ui.md.
- Preset display and bank list. The loaded preset shows on an OLED-style display with a sync chip: in sync with the pedal, edited and not stored in its slot, or being read or sent. Amber dots mark the edited preset in the list, each edited block and each edited knob. Banks show CLEAN / RHY / LEAD by position, as a hint only (a preset is renamed only by the save dialog's role buttons).
- Signal chain. A pedalboard of blocks coloured by category, each with a gear drawing, an LED bypass switch and a lit cable. Add, remove, move (drag a tile, or the arrows on touch screens) and change the model of a block; every change goes live to the pedal's edit buffer, and Undo and Redo (Cmd/Ctrl+Z) step through them.
- Knobs. Drag vertically (Shift for fine), scroll the wheel, use the arrow keys, click the value (or press Enter) to type a number, double-click to reset. Values are clamped to the model's range. AMP blocks are dressed like the gear their model is based on (colours and materials only, no logos).
- Footswitches A-D sit under the chain and can be clicked like a press.
- Layout. From 1280 px up the page does not scroll: only the bank list, the block panel and the open dock tab do. Below that, and on a phone, the same parts stack.
A tabbed dock at the bottom holds the rest of the editor.
Type what you want to hear ("Black Album rhythm tone", "warmer, less gain") and the assistant picks the models by the real gear they are based on, sets the knobs live and lists what changed. Saving still goes through the Save dialog you confirm.
- It runs on your own free AI key (Groq or Google Gemini) or a paid one (OpenRouter, Claude, OpenAI, xAI Grok, DeepSeek, Mistral, Cerebras), called straight from the editor: no server of ours, keys stay on your device (or only for the session). The panel walks you through creating free keys that cannot charge you; for paid ones it shows an estimate of each answer's cost.
- It prefers your clones: it reads the names of your filled CLONE slots and uses one in place of the built-in amp when its name matches the amp the reference calls for.
- You choose whether it builds with or without cab simulation (headphones, PA or interface, or an amp's FX return).
Turn a NAM capture (.nam) into a CLONE slot (10 slots) by choosing a .nam (or a ready .clo): the
conversion runs in the browser and asks for confirmation before anything is sent. Search
TONE3000 from the tab (sign in with a code you approve on the site),
pick a capture and load it into a CLONE slot. IR results can be browsed there but not uploaded to
the Matribox yet. User IRs are listed and renamed in the same tab.
The site needs a TONE3000 publishable key at build time: NEXT_PUBLIC_TONE3000_CLIENT_ID (in
apps/web/.env.local for npm run dev; the TONE3000_CLIENT_ID repository variable for the
release image).
What each footswitch does and which blocks each CTRL switches, the three quick knobs, the expression pedal entries (block, parameter, min and max), plus tuner, tap tempo and BPM, looper and the drum machine.
- Backups: Back up all presets downloads all 240 presets in one file; Restore all… puts them back (explicit confirmation, and by default all 240 are backed up first). Every save backs up the slot it overwrites first.
- Global & EQ: the device-wide options and the global EQ, drawn as a frequency-response graph with a draggable node per band.
Save… opens ready to pick the slot, its bank role and the name, says which preset it replaces,
and keeps a copy of that slot in the browser first (offered as a download if the save fails). Export preset downloads
the loaded preset as a .prst that Sonicake's own app opens, and Import preset… stores a .prst
in a slot you choose, after a confirmation and a backup of that slot. The model catalog is built in
(our own functional map of the unit's models, with short names and descriptions in English and
Portuguese, and the real gear each is based on). The editor also follows what you do on the unit
itself (preset change, block on/off, knobs 1-3) without a read.
On a phone the same editor stacks into one column:
The Pocket Master gets the same workstation look: the preset list (Factory and User), the chain, the selected block's knobs and a dock with the AI assistant, Clones & IRs, Library, Backups and Global & EQ.
- Finds the plugged-in pedal by itself: on load (the browser asks for MIDI access the first time only), when plugged in later, and again after it is unplugged or power-cycled. With both pedals plugged in, the Pocket Master is opened first. Bluetooth has its own button: the browser needs that click.
- Reads the edit buffer and live-edits parameters, block on/off, models and chain order. Revert reloads the preset from its slot.
- Saves to a user slot (P01..P50), backing up the slot it overwrites first (you can skip that per save). Copies a stored preset over another slot.
- Backups: one preset or all 50 to a file, restore, download, import and delete backups.
- Exports and imports presets as files: our
.jsonfiles and the.prstfiles Sonicake's own app exports, listing what changes before loading. Presets you like can be kept in a library in the browser or app. - The same tone assistant, a tuner switch, 100 presets with a filter.
- Loads a NAM capture (
.nam) into a captured-profile slot, a WAV into a user IR slot, and searches and installs from TONE3000 in one go; comments on those slots stay in the browser. - Global options (gear button): input and USB/Bluetooth levels, boot protection, backlight.
- A SysEx log (hidden by default) with every message sent and received.
-
Matribox II Pro, checked on the owner's unit: reading presets, live edits (parameters, on/off, models, add, remove, move), saving to a slot, whole-preset import and export, backups, the patch volume, footswitch and expression assignments, user IRs and NAM clones, following the unit's knobs, tap tempo and expression pedal, and the snake layout with a long preset.
-
Pedal firmware: tested on V1.3.3. The editor reads the version from the pedal (shown in Global options) and warns when it is another one, which may behave differently.
-
Browsers: Chrome, Edge and Opera on a computer, over USB. Bluetooth in Chrome and Edge, checked in desktop Chrome and in Chrome on an Android tablet (USB and Bluetooth).
-
Not supported: Safari and every browser on iPhone and iPad (no Web MIDI there); Firefox is untested. The desktop app covers macOS, Windows and Linux without a browser.
-
Pocket Master firmware limits: a tempo (BPM) per preset, Sync and Trail on delays and modulation, and per-preset footswitch assignments. The unit ignores those writes, so the editor does not offer them (on this firmware a footswitch toggles a block through the pedal's own Function 1/2 setting).
The web editor installs like an app and then opens without an internet connection, for example on an Android tablet on the pedalboard. In Chrome on Android, open https://fgbona.github.io/OpenSonicX/ and choose menu (⋮) > Install app (or Add to Home screen); on a computer, the install icon at the right of the address bar. It opens in its own window, USB and Bluetooth work as in the browser, and the editor files are kept on the device after the first visit. TONE3000, the AI assistant and the first NAM conversion still need the network, and your own data (backups, keys, settings) stays in the browser's storage as before. When a new version is out the editor says so and reloads only when you choose Reload (otherwise the next time you open it).
| Path | What it is |
|---|---|
packages/core |
The SysEx protocol in TypeScript: framing, decoding, model catalog, the guarded link to the pedal and the save/backup flows. No browser or MIDI dependency, so the web app and the MCP server share it. |
apps/web |
The Next.js editor. Web MIDI runs in the visitor's browser. |
apps/mcp |
An MCP server: the same core over native USB MIDI, for AI assistants. |
apps/desktop |
The editor as a desktop app (Electron) for Linux, Windows and macOS: works offline, updates itself. |
docs/ |
Design notes and plans. |
Each release attaches installers:
| System | File |
|---|---|
| macOS, Apple Silicon (M1 and later) | OpenSonicX-<version>-mac-arm64.dmg |
| macOS, Intel | OpenSonicX-<version>-mac-x64.dmg |
| Windows | OpenSonicX-<version>-win-x64.exe |
| Linux | OpenSonicX-<version>-linux-x86_64.AppImage |
The app runs the same editor without a browser or an internet connection; only TONE3000 and the first NAM conversion (which downloads a reference file once) need the network.
- Renamed in 1.0.0 from Pocket Master Editor to OpenSonicX. Installed copies update in place and keep their data (backups, keys, settings); on macOS an updated copy keeps its old name in Applications.
- The app updates itself on every system: a new version downloads in the background and installs when you choose Restart now (or the next time you open the app).
- macOS builds are not notarized (no Apple Developer account). The first time, right-click the app and choose Open (or allow it in System Settings > Privacy & Security). Updates after that need nothing.
- Windows may show a SmartScreen warning for the unsigned installer: More info > Run anyway.
From the repository: npm run start -w @pocket-master/desktop builds and opens
it; npm run dist -w @pocket-master/desktop makes the installer for your
system in apps/desktop/release.
The desktop app can let an AI client on the same computer (Claude Code, or any MCP client) drive the editor you have open: the AI reads and changes the same preset you see, every change shows on screen at once, and the editor's Undo takes it back. The app owns the MIDI port alone, so you and the AI can work together (the stdio MCP server below opens its own port and cannot share it with the editor).
-
Open the AI connection panel at the bottom of the editor and turn on Allow an AI client on this computer to connect. It is off until you turn it on, stays as you left it across restarts, and turning it off closes the server at once.
-
The panel shows the endpoint,
http://127.0.0.1:47830/mcp(when port 47830 is taken the app uses a free port and shows it; that port changes on the next start), and the token, masked. -
Click Copy command and run it once in a terminal. It is:
claude mcp add --transport http opensonicx http://127.0.0.1:47830/mcp --header "Authorization: Bearer <token>"Then ask Claude Code something like "make the Pocket Master sound like the Black Album".
The tools are the tone assistant's: for the Pocket Master get_preset, list_presets,
list_models, edit_preset, undo_edit, revert_preset, select_preset, the saved-tone tools
and save_preset; for the Matribox II Pro the same set with a matribox_ prefix plus
matribox_build_tone; which_pedal says which one is connected. With no pedal connected they
answer with an error saying so.
Security model. The server listens on 127.0.0.1 only, never on the network. Every request
needs the bearer token (256 random bits, made when you first turn the connection on, kept in the
app's user data, compared in constant time; Regenerate makes the old one stop working at
once). Requests with a Host other than 127.0.0.1:<port> or localhost:<port> are refused (DNS
rebinding), and so is any request with an Origin header, which every browser sends and MCP
clients do not: a web page cannot reach it. No CORS headers are sent, bodies over 1 MiB are
refused and requests are rate limited. A save to a slot needs confirm repeating the slot label
and then your Allow in an app dialog that names the slot; after that the editor's Save dialog
opens filled in, with its usual backup. Live edits need no dialog: you see them and can undo
them. The token is never logged. More in SECURITY.md.
Pocket Master: reading, live edits, revert and saving with backup are checked on a pedal; restores and preset files are checked against a simulated pedal. Matribox II Pro: the write tools are checked on the owner's unit.
apps/mcp lets an assistant such as Claude read and tweak your sound in
conversation ("more gain on the amp", "try the Randall profile", "save this
as P12"). It runs on your computer and talks to the pedal over USB, so the
pedal must be plugged into the machine running the assistant. macOS and
Linux (x64, arm64) are supported.
claude mcp add pocket-master -- npx -y sonicake-pocket-master-mcpThe package is sonicake-pocket-master-mcp
(unofficial). For other MCP clients, run npx -y sonicake-pocket-master-mcp as
a stdio server. From a clone of this repository, use
node apps/mcp/src/server.ts instead.
Close the web editor's connection first if both would talk to the pedal at
the same time.
Tools: get_preset, list_presets, list_models, edit_preset,
select_preset, revert_preset, undo_edit, save_preset, restore_backup,
export_preset, list_preset_files, import_preset, load_ir, load_nam,
tone3000_login, search_tone3000, install_tone, rename_slot, delete_slot,
copy_preset, set_tuner, backup_all_presets,
get_global_settings, set_global_settings.
- Blocks, parameters and models are named as on the pedal; user IRs and captured profiles go by the names of the files you loaded. The server knows the real gear behind each model (from the Pocket Master manual), so "build me the Black Album rhythm tone on P50 and save it" works without naming models. A name that is unknown or ambiguous fails with the valid choices, and nothing is sent.
- Edits only change the edit buffer.
save_presetoverwrites a user slot only withconfirmrepeating that slot (e.g."P12"), and first backs the slot up to~/.pocket-master-editor/backups;restore_backupundoes it. load_irwrites a WAV impulse response from~/.pocket-master-editor/irsinto a user IR slot. The pedal cannot send an IR back, so an occupied slot is only overwritten when you say so; keep the WAVs you load.- TONE3000 captures go straight to the pedal:
tone3000_loginsigns you in with a code you approve on the site,search_tone3000finds NAM amp captures or cabinet IRs (for gear the pedal has no model of), andinstall_tonedownloads one, converts a NAM capture into the pedal's captured-profile format (about a minute or more) and writes it to a profile slot, or writes an IR to a user IR slot.load_namdoes the same with a.namin~/.pocket-master-editor/nams. You sign in with your own TONE3000 account; the package already carries the editor's app key. To use an app key of your own instead, putTONE3000_CLIENT_ID=...in~/.pocket-master-editor/tone3000.env. The conversion downloads a reference DI signal from SonicMaster's repository once (it is not part of this project) and checks it by SHA-256. get_global_settingsandset_global_settingsread and change the device-wide options (master volume, input/FX-rec/monitor/BT-rec levels, backlight, boot anti-touch protection). They affect every preset. Factory reset is only in the web editor, behind a typed confirmation.- Tones you like can be kept: say "keep this tone" and the assistant exports
it with notes (e.g. which record it matches).
list_preset_filesshows them, and asking for the same tone again loads it at once instead of rebuilding it. - Building a tone takes about a minute, almost all of it the assistant's
reasoning; the pedal side takes a fraction of a second per call (each call
is logged in
~/.pocket-master-editor/timings.log). For quicker answers, start the session withclaude --effort low. - Preset files use the same format as the web editor's Export/Import and
live in
~/.pocket-master-editor/presets(setPOCKET_MASTER_HOMEto move both folders). The server reads and writes files only inside these folders. .prstpreset files exported by Sonicake's own app can be imported too, here and in the web editor's Import preset.- Matribox II Pro: the same server reads and edits a Matribox II Pro.
which_pedalsays which pedal is plugged in. Reading:matribox_get_preset,matribox_list_presets,matribox_list_models,matribox_list_irs,matribox_list_captures. Editing the loaded preset live:matribox_set_param,matribox_set_module_on,matribox_set_model,matribox_add_block,matribox_remove_block,matribox_move_block,matribox_select_preset, andmatribox_build_tone, which builds a whole chain in one call ("Appetite for Destruction rhythm tone"), picking models by the real gear they are based on.matribox_save_presetstores it withconfirmrepeating the slot label (e.g."58D") after a backup to~/.pocket-master-editor/backups. Whole presets:matribox_export_presetwrites the loaded preset or a slot as a.prst(the format of Sonicake's own app) in~/.pocket-master-editor/presets/matribox,matribox_import_presetstores one in a slot you confirm, andmatribox_restore_backupputs a backup back into its slot.matribox_backup_all_presetskeeps all 240 presets in one file in~/.pocket-master-editor/backupsandmatribox_restore_all_presetswrites them back (confirm: "ALL"; all 240 are backed up first unlessbackup: false). The unit only shows what a slot stores once it is loaded, so these load slots in turn: unsaved edits of the loaded preset are lost. Import and restore send the whole preset in one write, as the official app does (chain, parameters, knob, expression-pedal and footswitch assignments, volume and tempo), and the unit keeps it in that slot at once; the slot is backed up first. Checked on one unit so far, the official app's write and ours (the same data, uncompressed). Live controls:matribox_get_assignments,matribox_set_volume,matribox_assign_footswitch,matribox_assign_expression,matribox_set_expression_range(decoded from the official app), and the manual's MIDI Control Changesmatribox_tuner,matribox_tap_tempo,matribox_set_bpm,matribox_looper,matribox_drum,matribox_ctrl,matribox_quick_knob(on the unit's MIDI channel, default 1; its MIDI In Source must include USB). The model list is built in.matribox_load_irloads a WAV from~/.pocket-master-editor/irsinto user IR slot 1..20, converted the way the official editor does it and rebuilt byte for byte from its uploads;confirmrepeatsIR<slot>and an occupied slot is only overwritten withreplace: true.matribox_upload_clonewrites a NAM capture (found withsearch_tone3000, or a.namin~/.pocket-master-editor/nams) to a CLONE slot, converted and checked first;confirmrepeatsCLONE<slot>and an occupied slot is only overwritten withreplace: true. Alsomatribox_set_drums,matribox_assign_ctrl,matribox_assign_quick_knob,matribox_set_footswitch_functionandmatribox_rename_ir. See docs/matribox.md.
The wire format follows docs/PROTOCOL.md
of pocket-master-mcp (MIT). The implementation here was written from scratch.
Real captures from a V1.3.3 unit live in packages/core/test/fixtures and are
the reference the tests check against.
Each version is a git tag, a GitHub release and a container image in the GitHub Container Registry. Changes are listed in CHANGELOG.md. From 1.0 the project follows semantic versioning: the MCP tool contract and the preset file format only change in a major version; versions below 1.0 were previews.
Contributions are welcome. Read CONTRIBUTING.md first; the most useful thing you can send is a SysEx capture from your own unit.
MIT, see LICENSE. The model catalog comes from pocket-master-mcp, which derived it from PocketEdit; see NOTICE. Not affiliated with Sonicake.
Based on: the names of real gear shown next to the Matribox models ("Based on …") and in their descriptions are trademarks of their owners, used only to describe the sound each model aims at. This project has no affiliation with them, and they do not endorse it.





