# Controls

You can control the playback of the song using the toolbar buttons (image below), [keyboard shortcuts](https://jjazzlab.gitbook.io/user-guide/playback-control/midi-remote-commands), bar or song part's [popup menu](#popup-menu-controls), or [MIDI remote commands](https://jjazzlab.gitbook.io/user-guide/playback-control/midi-remote-commands).

![Playback-related buttons](https://1057949908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQE7B7yjVY3xzlsorS4-887967055%2Fuploads%2FtoAFBdkB7G0iI06bK81E%2FMusicControlToolbarText.png?alt=media\&token=71fa2478-f891-4e0d-aa0f-b3282d3a054e)

## Keyboard shortcuts

{% hint style="warning" %}
The shortcuts are given for Windows and Linux. Some of them might need to be adapted for Mac.
{% endhint %}

|                                                 |                                                     |
| ----------------------------------------------- | --------------------------------------------------- |
| <mark style="background-color:blue;">Key</mark> | <mark style="background-color:blue;">Command</mark> |
| space                                           | Start / Pause / Resume                              |
| shift-space                                     | Stop                                                |
| ctrl-space                                      | Start from the selected bar or song part            |
| ctrl-shift-space                                | Play only selected bars or song parts               |
| F1                                              | Jump playback to previous song part                 |
| F2                                              | Jump playback to next song part                     |
| F3                                              | Jump playback to song start (restart)               |
| J or -                                          | Decrease tempo                                      |
| K or +                                          | Increase tempo                                      |
| L                                               | Toggle loop mode                                    |

## Popup menu controls

This lets you start playback **from the selected lead sheet bar or song part** (ctrl-space).

You can also play only the **current selected bars or/and song parts** (ctrl-shift-space), possibly looped if [loop mode](#loop-mode) is active.

<figure><img src="https://1057949908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQE7B7yjVY3xzlsorS4-887967055%2Fuploads%2FQbmJUyAJTjOcKtZC3sPl%2FBarPlayFromHere.png?alt=media&#x26;token=825ee053-d4cf-4766-89cb-3213534dba6b" alt=""><figcaption><p>Play from selected bar</p></figcaption></figure>

<figure><img src="https://1057949908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQE7B7yjVY3xzlsorS4-887967055%2Fuploads%2F3DiMZubKx3pMVwA6M5CC%2FSongPartPlayFromHere.png?alt=media&#x26;token=6e25538c-802f-426c-8823-a808ceb417df" alt=""><figcaption><p>Play from selected song part</p></figcaption></figure>

## Loop mode

When loop mode is activated, the playback restarts when playback reaches the end (the end of the song, or the end of the selection if **Play selection** was used).

<figure><img src="https://1057949908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQE7B7yjVY3xzlsorS4-887967055%2Fuploads%2FTEGD54hqDCQ7J7dyc0x1%2FLoopButton.png?alt=media&#x26;token=1a14df7c-8fdc-4d32-b935-1f73fd83a496" alt=""><figcaption></figcaption></figure>

### Loop restart bar

You can define a **loop restart bar** which is different from the first bar. It is represented by 2 bars on the left, as shown below.

<figure><img src="https://1057949908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQE7B7yjVY3xzlsorS4-887967055%2Fuploads%2FerYMqLLZdSl6P7i5VJZm%2FloopRestartBar.png?alt=media&#x26;token=3f08a1bc-3599-4308-ab98-a9541ce42d22" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Loop restart bar is ignored when using **Play selection**.
{% endhint %}

## Click settings

The **metronome** and **precount mode** can be configured via the **Click** panel in the **Options menu**.

<figure><img src="https://1057949908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQE7B7yjVY3xzlsorS4-887967055%2Fuploads%2FjSF9UEvwuffGlC1qQZ1b%2FOptionsClick.png?alt=media&#x26;token=dad5f93d-c0ea-4eeb-aa88-75b9ac3128da" alt=""><figcaption></figcaption></figure>

**Precount mode** can also be directly changed from the toolbar button using **shift-click**.

<figure><img src="https://1057949908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQE7B7yjVY3xzlsorS4-887967055%2Fuploads%2F1q2gJFrOif7Q2iRpkGy3%2FPrecountModeTooltip.png?alt=media&#x26;token=a9831c57-86ac-414b-97c0-b3acdf882886" alt=""><figcaption></figcaption></figure>
