# 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="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2FePOyLAshqqUkZhMk3iMQ%2Fimage.png?alt=media&#x26;token=62395a8e-3628-4442-a1fc-721079842bc5" 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="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-ed56a042af4c8fe9571d36d3a79c344baaa990c1%2Fimage.png?alt=media" 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="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-8fe81a19283fad63b8826a7cd82f0c6df3dd640b%2Fimage.png?alt=media" 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.*
