# Map a MIDI Slider in Photon

## Gear

* 1 PHOTON servers connected on a dedicated network.
* A MIDI Controller (the AKAI MPD24 is used in this example).

## 1. Add a MIDI Controller

{% embed url="<https://vimeo.com/488601531>" %}
I/O Manager: Add a MIDI Controller
{% endembed %}

{% hint style="info" %}
**OPEN THE I/O MANAGER MODULE**

Select {System > I/O Manager} or press \[Alt+I].
{% endhint %}

1. Select the MIDI tab.
2. Select an empty slot from the Active Devices list.
3. Select a device from the Available Devices list to assign it.
4. Enable the \[Show midi messages] button.
5. Validate the MIDI Controller assignation by watching the incoming MIDI messages.

{% content-ref url="../../../modules/i-o-manager" %}
[i-o-manager](https://docs.vyv.ca/modules/i-o-manager)
{% endcontent-ref %}

## 2. Bind a Physical Slider to PHOTON

{% embed url="<https://vimeo.com/488585034>" %}
Mapping Manager: Bind a Physical Slider to PHOTON
{% endembed %}

{% hint style="info" %}
**OPEN THE OUTPUT CONTROL TOOL**

Select {System > Tools > Output Control} or press \[Alt+O].
{% endhint %}

{% hint style="info" %}
**OPEN THE MAPPING MANAGER MODULE**

Select {System > Mapping Manager} or press \[Alt+N].
{% endhint %}

1. Activate the \[Control Learning] toggle. (The UI will be tinted in red as long as Control Learning is enabled.)
2. Navigate back to the Output Control module and select the Master Contrast slider.
3. Assign the Master Contrast slider to the MIDI controller by moving one of its sliders.
4. Deactivate the \[Control Learning] toggle.
5. Validate the slider assignation by watching its the repercussion in the UI.

{% content-ref url="../../../modules/mapping-manager" %}
[mapping-manager](https://docs.vyv.ca/modules/mapping-manager)
{% endcontent-ref %}

{% content-ref url="../../../modules/output-control" %}
[output-control](https://docs.vyv.ca/modules/output-control)
{% endcontent-ref %}

{% content-ref url="../../../modules/network-monitor" %}
[network-monitor](https://docs.vyv.ca/modules/network-monitor)
{% endcontent-ref %}
