OSC
OSC stands for open sound protocol and is often used in live-event and broadcast industries to transmit various values in high framerates.
Last updated
OSC stands for open sound protocol and is often used in live-event and broadcast industries to transmit various values in high framerates.
Last updated
OSC receiver can receive different types of values (e.g. integer, float, string) on a specific OSC message address.
Insert an OSC Receiver node and after you set Stream parameters check the Receive checkbox.
In the Search menu type Read OSC and choose the type of data you are receiving.
In the Read OSC node, choose the device in Device input, enter the OSC address In the Address string input and you are ready to receive data that is being sent to that address.
Since OSC protocol allows multiple values to be sent to the same OSC address, there is the Index input. This index is the index in the array of values that have been received in a bundle. We will explain how to send these bundle messages at the end of the next paragraph Sending OSC.
OSC sender can send different types of values (e.g. integer, float, string) to specific OSC message addresses.
Insert a OSC Sender node and after you set Stream parameters check the Send checkbox.
In the Search menu type Send OSC and choose which data type of data you would like to send.
In the Send OSC node, choose the device in Device input, enter the OSC address in the Address string input and you are ready to send data to that address.
LightAct offers the option to send multiple values in a bundle message. This means that you can send multiple values to the same address by using only 1 OSC Sender device. For this option, we need to create multiple Send OSC layer nodes and connect them via Lifeline input/output.
In order to enable sending a bundle check Send as bundle checkbox.
The received message will look like this:
This is very useful because we can pack multiple values in a single message and extract them via an index in a Read OSC layer node like this: