Skip to content

Roland SH-4d: MIDI CC, NRPN and OSC map

The Roland SH-4d as named OSC addresses — 31 CC — ready to use from Claude (MCP), SuperCollider, Sonic Pi, TouchDesigner or any OSC app via osc-bridge.

Device Roland SH-4d
Vendor Roland
OSC prefix /sh_4d
Source 📦 Derived from MIDI Guide (community CC/NRPN data)
Firmware unknown
Revision per pencilresearch canonical CSV
Upstream pencilresearch
Data licence CC-BY-SA-4.0 — MIDI Guide (https://midi.guide) by Pencil Research and contributors
Driver file devices/roland/sh_4d.json

Not tested on the device yet

This driver comes from documentation or community data and has not been checked on real hardware. If you own one, a quick test and a pull request promoting it helps everyone — see CONTRIBUTING.

How do you control 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 devices/roland/sh_4d.json --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.

MIDI CC and NRPN parameters (31)

OSC address CC NRPN (MSB/LSB) Range Nature Section
/sh_4d/mod 1 0–127 continuous
/sh_4d/volume 7 0–127 continuous
/sh_4d/pan 11 0–127 continuous
/sh_4d/cutoff 74 0–127 continuous
/sh_4d/reso 71 0–127 continuous
/sh_4d/drive 90 0–127 continuous
/sh_4d/hpf_cutoff 79 0–127 continuous
/sh_4d/filter_env 81 0–127 continuous
/sh_4d/filter_key 78 0–127 continuous
/sh_4d/filter_attack 82 0–127 continuous
/sh_4d/filter_decay 83 0–127 continuous
/sh_4d/filter_sustain 28 0–127 continuous
/sh_4d/filter_release 29 0–127 continuous
/sh_4d/amp_attack 73 0–127 continuous
/sh_4d/amp_decay 75 0–127 continuous
/sh_4d/amp_sustain 31 0–127 continuous
/sh_4d/amp_release 72 0–127 continuous
/sh_4d/pitch 21 0–127 continuous
/sh_4d/timbre 77 0–127 continuous
/sh_4d/slider1 85 0–127 continuous
/sh_4d/slider2 86 0–127 continuous
/sh_4d/slider3 87 0–127 continuous
/sh_4d/slider4 88 0–127 continuous
/sh_4d/portamento 84 0–127 continuous
/sh_4d/lfo_rate 16 0–127 continuous
/sh_4d/lfo_fade_time 20 0–127 continuous
/sh_4d/lfo_pitch 18 0–127 continuous
/sh_4d/lfo_filter 19 0–127 continuous
/sh_4d/lfo_amp 80 0–127 continuous
/sh_4d/pedal_hold 64 0–127 continuous
/sh_4d/sostenuto 66 0–127 continuous

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>.

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.