■ huff Home How It Works Install Interface MIDI OSC Output
--:--:--
OSC
_

huff listens for UDP OSC on port 9000 at 0.0.0.0 — any device on the same local network can send to it. The listener starts automatically when the app launches.


Setup

  1. Click the OSC button in the top bar.
  2. The status area confirms the listener is active and shows the port.
  3. Load a map file via 📂 Load Map…
  4. Move a control on your sender. The OSC pill in the top bar flashes the incoming address.

OSC Map Format

{ "name": "My TouchOSC Layout", "version": 1, "mappings": [ { "param": "feedback", "addr": "/1/fader1", "type": "range", "inputMin": 0, "inputMax": 1, "enabled": true }, { "param": "corruptOn", "addr": "/1/toggle1","type": "toggle", "enabled": true }, { "param": "refreshBtn", "addr": "/1/push1", "type": "trigger","enabled": true }, { "_section": "Flow Warp" }, { "param": "flowStrength","addr": "/2/fader1", "type": "range", "inputMin": 0, "inputMax": 1, "enabled": true } ] }

Field Reference

FieldRequiredNotes
paramyesDOM element ID — see Parameter Reference
addryesFull OSC address e.g. /1/fader1
typeyesrange, toggle, or trigger
inputMin / inputMaxrange onlyValue range the sender emits. Default: 0 / 1
enablednofalse disables without deleting
_sectionDivider row — rendered as a header, never dispatched

Sending from Software

SoftwareCode / Setting
Max/MSP[udpsend 127.0.0.1 9000]
Pure Data[netsend -u -b 127.0.0.1 9000] then [oscformat]
SuperColliderNetAddr("127.0.0.1", 9000).sendMsg("/1/fader1", 0.75)
TouchDesignerOSC Out DAT, host 127.0.0.1, port 9000
Python (pythonosc)SimpleUDPClient("127.0.0.1", 9000).send_message("/1/fader1", 0.75)

TouchOSC Setup

  1. In TouchOSC go to Settings → OSC.
  2. Set Host to your computer's local IP.
  3. Set Port (outgoing) to 9000.
  4. Enable OSC.
  5. In huff's OSC panel, load src/osc/touchosc-effects.json.

Bundled Layouts

FileContents
touchosc-effects.jsonMain effects — Glitch, Feedback, Flow Warp, Symmetry
touchosc-mix.jsonMix layer — Base Mix, Scanlines, Solarize, Trails
generic-16.json16-parameter generic template using /huff/ prefix