Examples / show-control

show-control.json

targets v0.42.0 2 entities 3 schemas

An OSC endpoint (UDP listen/send, TCP framing, multicast) beside a 115200-baud serial line. Endpoints are authored config; sockets are host runtime.

Speaks

rig.io.osc · rig.io.serial · rig.meta.named

Document

Validates under npm run check — raw file · open in RigPlayer — drop it in, press play, remix it, share the link.

{
  "rig": "0.42.0",
  "document": {
    "title": "Show control - OSC and serial endpoints",
    "defaultUnit": "px"
  },
  "entities": [
    {
      "id": "osc-endpoint",
      "components": {
        "rig.meta.named": {
          "name": "OSC endpoint",
          "stableId": "osc-endpoint"
        },
        "rig.io.osc": {
          "listenEnabled": true,
          "listenPort": 9000,
          "sendEnabled": true,
          "sendHost": "127.0.0.1",
          "sendPort": 9001,
          "addressPrefix": "/rig",
          "tcpListen": false,
          "streamFraming": 0,
          "multicastGroup": "239.0.0.1",
          "multicastTtl": 1
        }
      }
    },
    {
      "id": "serial-line",
      "components": {
        "rig.meta.named": {
          "name": "serial line",
          "stableId": "serial-line"
        },
        "rig.io.serial": {
          "port": "ttyUSB0",
          "baud": 115200,
          "enabled": true
        }
      }
    }
  ]
}