devices/supercollider/sclang.vendor-osc-api.fw-3.13.json, updated 2026-11-24Edit on GitHubJSONOSCQuerySuperCollider (sclang) running SC 3.13 sclang
0 named commands to drive SuperCollider (sclang) over OSC — from Claude (MCP), live-coding environments or a MIDI controller.
- sourcethe software's OSC API
- firmwareSuperCollider 3.13 (sclang)
- licencelicence not stated
- Maker
- SuperCollider
- Firmware
- SC 3.13 sclang (passthrough)
- Source
- the software's OSC API
- Licence
- licence not stated
SuperCollider sclang — driver companion (passthrough)
Bridges /sclang/... to the SuperCollider language interpreter's OSC port
(57120). The SC user code declares which paths it cares about via OSCdef /
OSCFunc — the bridge does not interpret paths.
Ports
| Direction | Port | Notes |
|---|---|---|
| Bridge → sclang | UDP 57120 | sclang's default OSC port |
| sclang → Bridge | UDP 57130 | Have your SC code emit replies via NetAddr("127.0.0.1", 57130).sendMsg(...) |
If you want to drive scsynth (the audio server, port 57110) directly,
copy this file as scsynth.vendor-osc-api.fw-3.13.json, change osc_prefix
to /scsynth, port to 57110, and a reply_port of your choice.
Usage
In SuperCollider:
~bridge = NetAddr("127.0.0.1", 57130);
OSCdef(\trigger, { |msg|
[\got, msg].postln;
Synth(\default, [\freq, msg[1].midicps]);
~bridge.sendMsg("/ack", msg[1]);
}, "/trigger");
From the bridge client:
/sclang/trigger 60
→ bridge strips /sclang, forwards /trigger 60 to sclang on 57120.
SC's OSCdef fires, posts the message, plays a synth, sends /ack 60 back
to port 57130. The bridge's clients see /sclang/ack 60.
Communities
Share and load its sounds
Plug the SuperCollider (sclang) into your computer, open shared presets in Chrome, Edge or Opera and press Connect my synth: SyntHub finds it, takes the sound it plays and names it. Sounds others shared for it load from their page the same way.
https://doc.sccode.org/Classes/OSCdef.html · licence not stated
OSC commands
Use it
Start the bridge with this driver; it forwards named OSC commands to the software:
osc-bridge run --device supercollider/sclang.vendor-osc-api.fw-3.13
From Claude or any MCP client, the osc-bridge mcp server exposes this driver as sclang: ask “what can the SuperCollider (sclang) do?” and it reads this map with list_routes. See the MCP guide.
Frequently asked questions
Can an AI agent like Claude control the SuperCollider (sclang)?
Yes: SyntHub's hosted MCP server knows the SuperCollider (sclang)'s MIDI map, and its browser relay lets the agent send it parameter changes or load a sound, each sound change confirmed by you.