# Common MIDI setups

These are step-by-step setups for the most common uses of MIDI. Each one starts with MIDI turned on and your device connected. See [MIDI](https://songstead.app/docs/midi.md) to get that far.

> [!PLAN] Backstage
> MIDI needs Backstage.

## Turn pages with a MIDI footswitch

Two switches on a MIDI foot controller can move forward and back through [Live Mode](https://songstead.app/docs/live-mode.md).

1. On the **Triggers** tab, select **Add Trigger** in the **Inbound** card.
2. Select **Edit Custom Command**, then **Add Command**. Select **Listen** and press your forward switch, then select **Add**, then **Save**.
3. Leave the **Event** on **Received**, and choose **Step Forward** as the **Action**.
4. Select **Add**.
5. Do the same for your back switch, with **Step Backward**.

The same two switches can also jump a whole song when you hold them. Add a trigger to each with the **Held** event: **Go to Next Song** on the forward switch and **Go to Previous Song** on the back one. See [Control Songstead with MIDI](https://songstead.app/docs/midi-inbound-triggers.md#events).

## Change patches as each song starts

Your keyboard, amp modeler or effects can change to the right sound the moment each song starts in Live Mode.

1. On the **Saved** tab, select **Add Command**, and give it a **Name**, like Clean tone.
2. Select **Add Command**, then **Listen**, and pick the patch on your device. Select **Add**, then **Add** again.
3. Make a saved command for each sound you use.
4. On the **Triggers** tab, select **Add Trigger** in the **Outbound** card.
5. Choose **Song starts** as the **Event**, and the song as the **Song**.
6. Open the **Saved** tab under **Then send these MIDI commands**, and choose the saved command.
7. Select **Add**, and do the same for each song.

A song can change several devices at once. Give its saved command one command for each device, each with its own **To**. See [Send MIDI from Live Mode](https://songstead.app/docs/midi-outbound-triggers.md).

## Let another device pick the song

A lighting desk, a backing-track computer or a footswitch with numbered presets can choose the song in Live Mode by sending a Program Change.

1. On the **Triggers** tab, select **Add Trigger** in the **Inbound** card.
2. Choose **Go to Song by Number** as the **Action**.
3. Select **Edit Custom Command**, then **Add Command**. Select **Listen** and send any Program Change from the device, then select **Add**, then **Save**.
4. Select **Add**.

Program 0 now goes to the first song in the set, Program 1 to the second, and so on. See [Go to Song by Number](https://songstead.app/docs/midi-inbound-triggers.md#go-to-song-by-number).

## Keep tempo-synced gear in time

A delay pedal, drum machine or arpeggiator can follow each song's tempo.

1. Give each song its tempo. See [Songs](https://songstead.app/docs/songs.md).
2. On the **Setup** tab, turn on **Send Clock**.
3. Set your device to follow external MIDI clock, in its own settings.

See [Send Clock](https://songstead.app/docs/midi-setup.md#send-clock).

## Pass a press on to the rest of your rig

One footswitch press can turn the page and switch on an effect at the same time.

1. Add an inbound trigger for the switch, as in [Turn pages with a MIDI footswitch](https://songstead.app/docs/midi-examples.md#turn-pages-with-a-midi-footswitch).
2. Add a second inbound trigger for the same switch and the same **Event**, and choose **Send MIDI Command** as its **Action**.
3. Under the action, select **Edit Custom Command** and add what the effect needs, like a Control Change.
4. Select **Add**.

## A remote for your keyboard rig

A tablet on the music stand can hold the controls you reach for most.

1. On the **Remote** tab, select **New Remote**, name it, choose **Tablet**, and select **Create**.
2. Select the plus on an empty square, and add a **Toggle** named Rotary, sending one Control Change to turn on and another to turn off.
3. Add a **Fader** named Expression, driving your keyboard's expression controller, often Control Change 11.
4. Add a **Text** control named Organ over them as a heading.
5. Select **Save**, the disk button at the top right.

See [MIDI Remote](https://songstead.app/docs/midi-remote.md).
