Extend data source fabric
extend_data_source_fabricAdd MQTT, WebSocket binary, or MIDI MMC transport to the data source fabric, outputting raw text and numeric channels for bind_to_channel or create_data_visualization.
Instructions
Adds extra transports to the data-source fabric beyond create_data_source: 'mqtt' subscribes to a broker, 'ws-binary' streams binary frames over a WebSocket, 'midi-mmc' listens for MIDI Machine Control transport bytes (play/stop/record/locate). Same downstream shape as create_data_source — a Null DAT for the raw text/bytes and a Null CHOP whose channels are ready for bind_to_channel / create_data_visualization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transport | Yes | Which transport branch to build. 'mqtt' subscribes to a broker, 'ws-binary' streams binary frames over a WebSocket, 'midi-mmc' listens for MIDI Machine Control transport bytes. | |
| parent_path | No | COMP to build the sub-network inside. | /project1 |
| name | No | Base name for the created sub-network. | |
| host | No | (mqtt/ws-binary) Broker or WebSocket host. Ignored by midi-mmc. | 127.0.0.1 |
| port | No | (mqtt/ws-binary) TCP port. Defaults: mqtt=1883, ws-binary=9001. | |
| topic | No | (mqtt) Subscription topic(s), comma-separated. (ws-binary) URL path, e.g. '/stream'. | |
| username | No | (mqtt) Broker auth user. | |
| password | No | (mqtt) Broker auth password. | |
| tls | No | (mqtt/ws-binary) Use TLS — flips mqtts:// or wss://. | |
| device | No | (midi-mmc) MIDI input device name. Omit to use the first device. | |
| frame_format | No | (ws-binary) How each frame's bytes decode into numeric samples. | float32-le |
| channels | No | (ws-binary) Number of numeric channels per frame to expose on the Null CHOP. | |
| fields | No | (mqtt) JSON keys to extract from each message into the sample table → Null CHOP channels. | |
| expose_controls | No | Surface an 'Active' toggle (and a 'Reconnect' pulse for mqtt/ws-binary). |