# Use Timecode in PHOTON

## MIDI Timecode

### Prerequisites

* 1 PHOTON servers connected on a dedicated network.&#x20;
* A MIDI timecode generator (the Rosendahl mif4 MIDI Timecode Interface is used in this example).

### 1. Add a MIDI Device

{% embed url="<https://vimeo.com/489462902>" %}
I/O Manager: Add a MIDI Device
{% 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 MIDI device from the Available Devices list to assign it as the Active Device.

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

### 2. Manage MIDI Timecode

{% embed url="<https://vimeo.com/489437998>" %}
Timecode: Manage MIDI Timecode
{% endembed %}

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

Select {System >Tools > Timecode} or press \[Alt+D].
{% endhint %}

1. Add a new timecode slot by clicking the \[+] button or by pressing \[Ctrl++].
2. Select a the timecode slot.
3. Select the timecode framerate from the FPS dropdown menu.
4. Select MIDI as the timecode type.
5. Select the {MIDI device} from the dropdown menu.
6. Make sure the timecode \[Enable] toggle is activated.

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

### 3. Bind the Timeline to a Timecode

{% embed url="<https://vimeo.com/489466066>" %}
Timeline: Bind the Timeline to a Timecode
{% endembed %}

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

Select {Show > Timeline} or press \[Alt+T].
{% endhint %}

1. Locate the Time Code window section.
2. Select the {timecode slot} from the dropdown menu.
3. Activate the \[Enable] toggle to listen to incoming timecode.
4. Activate the \[Auto Play] toggle to lock the Playhead to incoming timecode.

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

## Audio Timecode (LTC)

### Prerequisites

* An audio timecode generator.
* An audio interface (the DAnte Via is used in this example).

### 1. Add an Audio Device

{% embed url="<https://vimeo.com/489479351>" %}
I/O Manager: Add an Audio Device
{% endembed %}

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

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

1. Select the Audio Devices tab.
2. Select an empty slot from the Active Devices list.
3. Select an audio interface from the Available Devices list to assign it as the Active Device.
4. Incoming audio timecode will be displayed in the Preview window if set correctly.

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

### 2. Manage Audio Timecode

{% embed url="<https://vimeo.com/489481608>" %}
Timecode: Manage Audio Timecode
{% endembed %}

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

Select {System >Tools > Timecode} or press \[Alt+D].
{% endhint %}

1. Add a new timecode slot by clicking the \[+] button or by pressing \[Ctrl++].
2. Select the timecode slot.
3. Select the timecode framerate from the FPS dropdown menu.
4. Select Linear as the timecode type.
5. Select the {Audio Device} from the dropdown menu.
6. Select the {Audio Channel} from the dropdown menu.
7. Make sure the timecode \[Enable] toggle is activated.

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

### 3. Bind the Timeline to a Timecode

{% embed url="<https://vimeo.com/489466066>" %}
Timeline: Bind the Timeline to a Timecode
{% endembed %}

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

Select {Show > Timeline} or press \[Alt+T].
{% endhint %}

1. Locate the Time Code window section.
2. Select the {timecode slot} from the dropdown menu.
3. Activate the \[Enable] toggle to listen to incoming timecode.
4. Activate the \[Auto Play] toggle to lock the Playhead to incoming timecode.

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