# Sending OSC

## Sending OSC

OSC sender can send different types of values (e.g. integer, float, string) to specific OSC message addresses.

### Setup in the Devices window

<div align="left"><figure><img src="/files/Gh0wSwXwhWDKbfFPMjUC" alt=""><figcaption></figcaption></figure></div>

Insert a **OSC Sender** node and after you set *Stream* parameters check the **Send** checkbox.​

### Setup in the Layouts window

<div align="left"><figure><img src="/files/iRFz7ieVroQlJq4MoDsg" alt=""><figcaption></figcaption></figure></div>

In the *Search* menu type **Send** **OSC** and choose which data type of data you would like to send.

<div align="left"><figure><img src="/files/0OETCS23pdWZuZ3gEivd" alt=""><figcaption></figcaption></figure></div>

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.

### Bundle messages

<div align="left"><figure><img src="/files/WzacJ3XhnsDTDesre3yn" alt=""><figcaption></figcaption></figure></div>

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.

<div align="left"><figure><img src="/files/GHSTqGcu6iYxetOu5sb6" alt=""><figcaption></figcaption></figure></div>

In order to enable sending a bundle check **Send as bundle** checkbox.

The received message will look like this:

<div align="left"><figure><img src="/files/3B3i1xxbp8WSDxfOPpGV" alt=""><figcaption></figcaption></figure></div>

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:

<div align="left"><figure><img src="/files/z4HoBu2iI1DD54okc7bm" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lightact.com/osc-and-midi/sending-osc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
