# Receiving OSC

## Receiving OSC

OSC receiver can receive different types of values (e.g. integer, float, string) on a specific OSC message address.

### Setup in the Devices window

Insert an **OSC Receiver** node and after you set *Stream* parameters check the **Receive** checkbox.​

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

### Setup in the Layouts window

In the *Search* menu type **Read OSC** and choose the type of data you are receiving.

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

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.

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

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.*


---

# 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/receiving-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.
