maxmsp
Work with Max/MSP .maxpat files. Use when editing, analyzing, or creating Max patches.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Work with Max/MSP .maxpat files. Use when editing, analyzing, or creating Max patches.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Write JavaScript for the Max/MSP `js` (and `v8`) object. Use when creating or editing `.js` files that run inside a Max patch, or when porting Max patch logic to JavaScript.
Build Max for Live devices. Use when working with .amxd files or .maxpat files containing live.* objects, including theming and device UI design.
| name | maxmsp |
| description | Work with Max/MSP .maxpat files. Use when editing, analyzing, or creating Max patches. |
| allowed-tools | Read, Write, Edit, Grep, Glob |
.maxpat files are JSON documentspatcher, containing boxes (objects) and lines (connections)maxclass (e.g., newobj, message, comment, bpatcher), a patching_rect for position/size, and class-specific attributessource and destination arrays: [object_id, outlet_index]boxes array, objects listed first render on top in presentation modeopeninpresentation: 1 on the patcher to enable presentation view"presentation": 1"presentation_rect": [ x, y, width, height ]patching_rect too (for the patching/edit view)"hidden": 1 makes an object invisible in presentation (set in JSON or toggled at runtime)hidden 0 or hidden 1 messages to show/hide dynamicallythispatcher with script sendbox <varname> hidden $1 to show/hide by varnamepresentation_rect — toggle hidden to swap which is visiblelive.panel does not exist — use panel (maxclass "panel") with "mode": 0"bgcolor": [ r, g, b, a ] (0.0–1.0 floats)"rounded": 4 for corner rounding"textcolor": [ r, g, b, a ] for custom text color"fontname" and "fontsize" for typography"name": "filename.maxpat" sets the loaded patch filepresentation_rect defines the viewport"bgmode": 0, "border": 0, "clickthrough": 0,
"enablehscroll": 0, "enablevscroll": 0,
"lockeddragscroll": 0, "lockedsize": 0,
"offset": [0.0, 0.0], "viewvisibility": 1
hltcolor with alpha 0.0spectroscope~ — frequency analyzer (logfreq, domain, fgcolor, markercolor, bgcolor)waveform~ — audio waveform display (buffername links to a buffer~)filtergraph~ — interactive filter frequency response curvelcd — drawing canvas, can be transparent overlay with bgtransparent: 1, border: 0Set an assistance comment on every inlet and outlet. This applies across all
Max programming — patch objects, js/v8 scripts (setinletassist /
setoutletassist), etc. Follow this schema:
(type(s), unit, range) description per list element
"int: current tab" — the leading (type) is the part that matters.unit and range are optional and only used for int / float.(float, ms) attack(float, 0 - 1) sustain(symbol) new track name(float float, %) x, y(int float symbol) id, amount, key(list) all filter coefficients — for a variable-length / long list(message) control messages(bang) sent after all messages are output(type) matters.bpatcher or p (subpatcher) objects