# Soundboard

Source: https://docs.lightair.app/desktop/audio/soundboard

> Play sound effects on stream with a click: add sound files as pads in the Soundboard panel, loop them, and trigger them from MIDI or the Remote API.

In short:
- Open **Window › Soundboard**, click **Add sounds…** and pick sound files. Each file becomes a pad.
- Click a pad to play it. It goes through the mixer's **Soundboard** track, so the stream and recordings hear it.
- One sound plays at a time. Right-click a pad to loop it, recolour it, move it or remove it.

In the app: Window › Soundboard; Settings › MIDI

The **Soundboard** panel holds pads that play sound files into your show: a laugh track, a drum
roll, an airhorn. Open it from **Window › Soundboard**; it opens in the bottom dock, with the Audio
Mixer.

## Add sounds

1. In the Soundboard panel, click **Add sounds…**.
2. Pick one or more sound files.

Each file becomes a pad named after the file, in the next of eight colours. Adding sounds is one
step you can undo.

The first time you add a sound, Lightair also adds a **Soundboard** track to the
[mixer](/desktop/audio/mixer). Every pad plays through it, so its fader, mute and effects apply to
all of them, and the stream and recordings hear them.

A [package](/desktop/chat-and-widgets/packages) with sound files adds them as pads too.

## Play a pad

Click a pad to play it. It fills with its colour while it plays.

- Only one sound plays at a time: clicking another pad stops the first and starts the new one.
- Clicking a pad that's playing starts it again from the beginning.
- **Stop**, in the panel's toolbar while something plays, stops it.

## Loop a pad

Right-click a pad and choose **Loop**. A looped pad shows a repeat icon and plays over and over
until you click it again or click **Stop**. Choose **Play once** to turn looping off.

## Arrange pads

Right-click a pad for:

- **Loop** or **Play once**
- **Next colour**
- **Move earlier** and **Move later**, to reorder the pads
- **Remove**

Pads are saved with your workspace.

## Play pads from a controller or another app

- **MIDI**: in **Settings › MIDI**, click **Learn a control**, press a pad or key on your
  controller, then open **Choose what it does…** beside it and pick **Pad · *name***. See [MIDI](/desktop/control-and-automate/midi).
- **Remote API**: [soundboard.play](/developers/remote-api/soundboard.play) plays a pad by its name
  or id, or stops the sound when no pad is given. [soundboard.list](/developers/remote-api/soundboard.list)
  lists the pads.

## Related

- [The audio mixer](/desktop/audio/mixer)
- [MIDI](/desktop/control-and-automate/midi)
- [Automations](/desktop/control-and-automate/automations)
