127.0.0.1:9001 by default. Send messages to
/baryon/control/<key>, where <key> is one of the automatable control keys
below. MIDI v1 maps one selected MIDI input at a time; use learn mode to bind a
knob or fader CC message to the same key list.
When OSC is enabled, Baryon also serves an OSCQuery discovery endpoint on the
next local port: http://127.0.0.1:9002 by default. If you change the OSC port,
the OSCQuery port follows as OSC port + 1. Use Copy Ref in the control
input panel to copy the current OSC/OSCQuery reference.
OSCQuery is discovery only. It tells external tools what Baryon can control,
what OSC host and port to use, and how each value should be shaped. Control
values are still sent over OSC UDP.
MIDI Setup
Baryon’s MIDI input is for MIDI control-change messages. A MIDI keyboard can work if its knobs, faders, or pads send CC messages; piano notes, pitch bend, and aftertouch do not control Baryon in this first automation surface. Use a physical MIDI controller like this:- Connect the MIDI controller to the computer running Baryon.
- In Baryon Desktop, enable Control Input and MIDI.
- If the app asks for MIDI access, allow it.
- Choose the controller under Input.
- Choose the Baryon parameter under Target.
- Press Learn, then move one knob, fader, or CC-capable pad on the controller.
- Move that same control again. Baryon should update the mapped parameter and
the
okcounter should increase.
- Open Audio MIDI Setup.
- Choose Window > Show MIDI Studio.
- Open IAC Driver, enable Device is online, and add or select a bus.
- In Baryon, enable Control Input and MIDI, then select the IAC bus under Input.
- In a DAW, TouchDesigner, Max, or another MIDI source, send MIDI CC messages to that same IAC bus.
- In Baryon, choose a Target, press Learn, and move or send the CC control once to bind it.
Learn and Remove Mappings
The Learn button binds one physical MIDI control to the selected Baryon target:- Choose a Baryon parameter in Target.
- Press Learn. The button changes to Learning.
- Move one knob, fader, or CC-capable pad on the selected MIDI input.
- Baryon records that input, MIDI channel, CC controller number, and target.
- Move the same physical control again to drive the mapped Baryon parameter.
TouchDesigner Control Surface
Download the smart TouchDesigner component: baryon_osc.tox Use it like this:- In Baryon Desktop, enable Control Input and OSC.
- For local TouchDesigner on the same machine, leave OSC at
127.0.0.1:9001. OSCQuery will be available at127.0.0.1:9002. - Drag
baryon_osc.toxinto a TouchDesigner network. - Select the parent
baryon_osccomponent and pulse Refresh Query. - Select
baryon_osc/controlsand tune the generated custom parameters. - Use Send All on the parent component to push the current TouchDesigner values to Baryon.
baryon_osc component owns OSC host/port, OSCQuery host/port,
Bonjour discovery, refresh, active state, and Send All. The child
baryon_osc/controls component is the control surface. It is regenerated from
Baryon’s OSCQuery metadata, so pages such as Shape, Motion, Bloom, Color,
Output, Performance, and Logo track the Baryon build you are running.
Before OSCQuery is reachable, the component starts with a small Shape, Motion,
and Bloom fallback surface. After Refresh Query succeeds, the fallback is
replaced by the discovered Baryon controls.
For a second computer on the same network, turn on LAN in Baryon. LAN mode
binds OSC/OSCQuery to the local network and advertises OSCQuery over Bonjour as
_oscjson._tcp / Baryon Parameter Automation. In TouchDesigner, pulse
Discover if Bonjour is available, or enter the Baryon machine’s LAN address
as OSCQuery Host and then pulse Refresh Query.
Manual OSC
Query/?HOST_INFO for the OSC receiver details, /baryon/control for the
writable control tree, or a specific address such as
/baryon/control/zeroPointPrecision for type, range, description, tags, label,
and default metadata.
Example OSC messages:
0 is off and any non-zero value is on. Enum controls take one
string argument matching the control value. Color controls take three numeric RGB
arguments from 0 to 1. MIDI mappings scale CC values (0..127) into the
target control range.
| Area | Automatable keys |
|---|---|
| Performance | renderQualityPreset, customTargetFps, performanceHudEnabled |
| Output | outputMode, outputBackgroundColor |
| Shape | boundaryMode, zeroPointPrecision, densityGain, absorption, opacityGain, raymarchSteps |
| Color | colorMode, volumeColor, surfaceColor, spectralMix, holographicIntensity, holographicShift, holographicFresnelPower |
| Motion | rotationMode, rotationSpeed, motionAmount, reactivity |
| Bloom | bloomEnabled, bloomStrength, bloomRadius, bloomThreshold, bloomResponseBias, rimBloomBias, rimCompression |
| Logo | idleLogoIntensity, idleLogoSize |