Component:OSC Sender

From Resonite Wiki
Revision as of 19:54, 22 December 2024 by 989onan (talk | contribs) (add info)
Component image 
OSC Sender component as seen in the Scene Inspector

The OSC_Sender component will try to connect to the OSC Server at the URL provided, and send data to it.

If this component does not work as expected, try disabling and re-enabling the Enabled field.

Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
HandlingUser direct UserRef The OSC Sender creates the OSC server on this User's machine.
AccessReason String Displayed in the Host Access Dialog when a connection is trying to be established.
URL Uri Uri of the OSC Server to connect to, must be in the format osc://<ip>:<port>. E.g. osc://127.0.0.1:3001
LocalPort Int Sets the local port. Defaults on 0 which is random.
IsSending Bool Set to true if this OSC Sender is sending data.
SendMode OSC_SendMode The Mode in which data is sent to the OSC Server. See #Usage
AutoResendInterval Float Data will automatically be resent at this interval if it is set. In Seconds. See #Behavior

Usage

Once Handling User and Uri are set, this component will try to connect to the OSC Server at the URL provided. To actually receive data, you should use the Value components:

Examples

Limits

When sending Multi-Dimensional OSC Values, there is a limit of 256 values on a single OSC Path.

There are no limits to the number of OSC Paths that can be used.


See Also