Roland SH-4d
The Roland SH-4d MIDI implementation: 31 settings: 31 with a MIDI CC, each named, for Claude (MCP), SuperCollider or any OSC app.
- Maker
- Roland
- Source
- MIDI Guide · Repository
- Licence
- CC-BY-SA-4.0 MIDI Guide (https://midi.guide) by Pencil Research and contributors
MIDI controls
31 settings: 31 with a MIDI CC, from the source at per pencilresearch canonical CSV
| Control | CC | Range | Name to send |
|---|---|---|---|
| Mod | 1 | 0–127 | /sh_4d/mod |
| Volume | 7 | 0–127 | /sh_4d/volume |
| Pan | 11 | 0–127 | /sh_4d/pan |
| Cutoff | 74 | 0–127 | /sh_4d/cutoff |
| Reso | 71 | 0–127 | /sh_4d/reso |
| Drive | 90 | 0–127 | /sh_4d/drive |
| Hpf cutoff | 79 | 0–127 | /sh_4d/hpf_cutoff |
| Filter env | 81 | 0–127 | /sh_4d/filter_env |
| Filter key | 78 | 0–127 | /sh_4d/filter_key |
| Filter attack | 82 | 0–127 | /sh_4d/filter_attack |
| Filter decay | 83 | 0–127 | /sh_4d/filter_decay |
| Filter sustain | 28 | 0–127 | /sh_4d/filter_sustain |
| Filter release | 29 | 0–127 | /sh_4d/filter_release |
| Amp attack | 73 | 0–127 | /sh_4d/amp_attack |
| Amp decay | 75 | 0–127 | /sh_4d/amp_decay |
| Amp sustain | 31 | 0–127 | /sh_4d/amp_sustain |
| Amp release | 72 | 0–127 | /sh_4d/amp_release |
| Pitch | 21 | 0–127 | /sh_4d/pitch |
| Timbre | 77 | 0–127 | /sh_4d/timbre |
| Slider1 | 85 | 0–127 | /sh_4d/slider1 |
| Slider2 | 86 | 0–127 | /sh_4d/slider2 |
| Slider3 | 87 | 0–127 | /sh_4d/slider3 |
| Slider4 | 88 | 0–127 | /sh_4d/slider4 |
| Portamento | 84 | 0–127 | /sh_4d/portamento |
| Lfo rate | 16 | 0–127 | /sh_4d/lfo_rate |
| Lfo fade time | 20 | 0–127 | /sh_4d/lfo_fade_time |
| Lfo pitch | 18 | 0–127 | /sh_4d/lfo_pitch |
| Lfo filter | 19 | 0–127 | /sh_4d/lfo_filter |
| Lfo amp | 80 | 0–127 | /sh_4d/lfo_amp |
| Pedal hold | 64 | 0–127 | /sh_4d/pedal_hold |
| Sostenuto | 66 | 0–127 | /sh_4d/sostenuto |
Performance MIDI
Notes, pitch bend and any CC are also available: /sh_4d/note/on <note> <velocity>, /sh_4d/cc/<number> <value>, /sh_4d/pitchbend <0-16383>, /sh_4d/program_change <n>.
Use it
Find the MIDI ports, then start the bridge with this driver:
osc-bridge detect # prints the ready-to-run line for what is plugged in
osc-bridge run --device roland/sh_4d --out-port <N> --in-port <M>
Then send OSC to 127.0.0.1:7777, for example:
osc-bridge osc-send /sh_4d/mod 63
From Claude or any MCP client, the osc-bridge mcp server exposes this driver as sh_4d: ask “what can the Roland SH-4d do?” and it reads this map with list_routes. See the MCP guide.
Limitations
CC/NRPN only. SysEx (preset management, display control, bulk dump/load, vendor-proprietary opcodes) is NOT covered by pencilresearch. To extend this device with SysEx, sniff the vendor editor, add `sysex.header/footer` + `commands` blocks, and use `update_device.md` PR template.
Other sources of this version
Other sources describe the Roland SH-4d at this firmware; each keeps its credit.
- SyntHub collection, CC-BY-SA-4.0, collecte:S12 (about the SyntHub collection) · JSON
- SyntHub collection, CC-BY-SA-4.0, collecte:S24 (about the SyntHub collection) · JSON
Frequently asked questions
Which MIDI CC controls the filter cutoff on the Roland SH-4d?
CC 74 (0–127), named /sh_4d/cutoff in SyntHub's map.
How many parameters of the Roland SH-4d can be controlled over MIDI?
SyntHub's map of the Roland SH-4d lists these parameters: 31 with a MIDI CC, each with a readable name. The full chart is on this page.
Can an AI agent like Claude control the Roland SH-4d?
Yes: SyntHub's hosted MCP server knows the 31 settings of the Roland SH-4d, and its browser relay lets the agent send them to it.