# OSC to MIDI

1\. Add the Required Elements

![](/files/-LuZre05DAOf_l7qWNle)

On the Elements section, click the Add button to add the required elements to the project:

* External Control > OSC > Generic OSC
* External Control > MIDI > MIDI Output

Click the toggle buttons on the the elements to enable them.

2\. Configure OSC Inputs

Double-click the Generic OSC element and add your OSC controls to the Inputs list:

![](/files/-LuZu-hr6Zke2Z_dNwI6)

* Name: name identifier of your control
* Address: the OSC address
* ValueIndex: in case the message carries more than one value, select which one to take (zero-based)
* Range: min and max values for internal normalization
* Type: button, fader or encoder
* Note: Name and ValueIndex must be unique (no duplicates)

3\. Map OSC controls to MIDI Output

Open the Mapping section and select the desired MIDI Output functions. Start by selecting the MIDI Output element on the left list (functions). Select a desired output (Note On, Control Change, etc.) and tune the parameters.

![](/files/-LuZuLOxLu4jWamflZaq)

Finally select the Generic OSC on the right list (controls) and assign the previously selected MIDI Out function to one of your controls.

{% hint style="info" %}
In case your previously mapped controls do not show up, you can click the **Refresh** button to reload the controls list.
{% endhint %}


---

# 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://academy.showcockpit.com/showcockpit-for-windows/tutorials/protocol-conversion/osc-to-midi.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.
