## OSC

The OSC publisher sends published values as [Open Sound Control](https://opensoundcontrol.stanford.edu/) messages over UDP. Each value is sent to an address matching its path in the workspace.
*[OSC]: Open Sound Control

Since OSC has no array type, collections are expanded into multiple messages:
- Point clouds send their size to `<address>/count`, then one message per point to `<address>/<index>`.
- Bounding boxes are sent as one message of their minimum corner followed by their maximum corner.

### Publisher Properties
- **Host**: the IP address of the receiving application.
- **Port**: the UDP port of the receiving application.
- **Position Encoding**: send positions as integer millimetres, or as floating point metres.
- **Max Cloud Points**: the maximum number of points sent for any single point cloud. Extra points are dropped.

---

::: buttonlink
[View publisher source](https://github.com/matth-av/pointcaster/blob/qt/src/publishers/osc/osc_sender.cc)
:::
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9