Yamaha Preface CP: MIDI CC, NRPN and OSC map¶
The Yamaha Preface CP as named OSC addresses — 16 CC — ready to use from Claude (MCP), SuperCollider, Sonic Pi, TouchDesigner or any OSC app via osc-bridge.
| Device | Yamaha Preface CP |
|---|---|
| Vendor | Yamaha |
| OSC prefix | /preface_cp |
| Source | 🎛️ Derived from an Electra One community preset |
| Revision | per Electra preset |
| Upstream | electra-preset |
| Driver file | devices/yamaha/preface_cp.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/yamaha/preface_cp.json --out-port <N> --in-port <M>
Then send OSC to 127.0.0.1:7777, for example:
From Claude or any MCP client, the osc-bridge mcp server exposes this driver as preface_cp: ask “what can the Yamaha Preface CP do?” and it reads this map with list_routes. See the MCP guide.
MIDI CC and NRPN parameters (16)¶
| OSC address | CC | NRPN (MSB/LSB) | Range | Nature | Section |
|---|---|---|---|---|---|
/preface_cp/list |
80 | 0–127 | continuous | ||
/preface_cp/drive |
81 | 0–127 | continuous | ||
/preface_cp/reverb |
91 | 0–127 | continuous | ||
/preface_cp/depth |
86 | 0–127 | continuous | ||
/preface_cp/speed |
87 | 0–127 | continuous | ||
/preface_cp/depth |
18 | 0–127 | continuous | ||
/preface_cp/rate |
19 | 0–127 | continuous | ||
/preface_cp/depth |
89 | 0–127 | continuous | ||
/preface_cp/time |
90 | 0–127 | continuous | ||
/preface_cp/modulation |
1 | 0–127 | continuous | ||
/preface_cp/expression |
11 | 0–127 | continuous | ||
/preface_cp/volume |
7 | 0–127 | continuous | ||
/preface_cp/toggle |
64 | 0–127 | continuous | ||
/preface_cp/toggle |
66 | 0–127 | continuous | ||
/preface_cp/toggle |
67 | 0–127 | continuous | ||
/preface_cp/all_note_off |
123 | 0–127 | continuous |
Performance MIDI¶
Notes, pitch bend and any CC are also available: /preface_cp/note/on <note> <velocity>, /preface_cp/cc/<number> <value>, /preface_cp/pitchbend <0-16383>, /preface_cp/program_change <n>.
Limitations¶
Imported from an Electra One community preset. The mapping reflects the preset author's editorial choices: parameter naming, ranges, and which params are exposed. Untested on hardware in this repo.