# Menu music for your game, in a loop with no gap

> Make title screen and menu music for your game that loops with no gap. Ask for a quieter pause version, and only that part changes.

Describe your game, like "a cozy farming game" or "a dark fantasy RPG". Shawarma makes a menu loop for it. It has a whole number of bars and no ending, so it repeats with no gap.

Need a quiet version for the pause screen? Ask for it. The same loop comes back with fewer parts, so the two fit together.

Title screen

96 BPM, harp, flute and soft drums

1. **The menu** harp, bass, pad, drums, lead

[Open this track in Shawarma](https://shawarma.studio/open?example=made-menu-loop)

## The pause screen, from one ask

- Pause screen: the same loop, with no drums and no flute: You asked“a quieter version for the pause screen”: [Make it yours](https://shawarma.studio/open?example=made-menu-pause)

## Then ask for *changes*

Once your track plays, type what it needs. It changes while it plays, and Undo takes a change back.

- You a quieter version for the pause screen
- You make it loop every 8 bars
- You more mysterious, for a dark fantasy game
- You swap the flute for a music box
- You slower, about 80 BPM

## Made for a menu

- It loops with no gap: A menu loop has a whole number of bars and no ending. Its last bar leads back into its first.
- A pause version that fits: Ask for a quieter version. It is the same loop with fewer parts, so you can switch between them.
- WAV for your engine: With Pro, download a WAV file and set it to loop in your game engine.

**See the code of “Title screen”**

```
setcpm(24) // 96 BPM, D minor, a title screen that loops

const harp = note("<[d4 a4 d5 a4]*2 [bb3 f4 bb4 f4]*2 [f3 c4 f4 c4]*2 [c4 g4 c5 g4]*2>").s("harp").gain(.26)
const bass = note("<d2 bb1 f1 c2>").s("gm_acoustic_bass").gain(.38)
const pad = note("<[d3,a3,f4] [bb2,f3,d4] [f2,c3,a3] [c3,g3,e4]>").s("gm_pad_warm").attack(.4).gain(.2)
const drums = s("bd ~ ~ ~ ~ ~ bd ~, ~ ~ rim ~, [~ hh]*4").gain(.24)
const lead = note("<[a5 ~ f5 ~] [d5 ~ ~ ~] [c5 ~ a4 c5] [e5 ~ ~ ~]>").s("gm_flute").gain(.2).room(.4)

// 8 bars and no ending: bar 8 leads back into bar 1, so the loop has no gap
arrange(
  [8, stack(harp, bass, pad, drums, lead)],   // the menu
)
```

## Questions

**Does the music loop with no gap?**

Yes. A menu loop has a whole number of bars and no ending. Its last bar leads back to bar one. Ask for "make it loop every 8 bars" for an exact length.

**Can I get a pause screen version?**

Yes. Ask for a quieter version for the pause screen. Only the parts you name change. Both versions keep the same length, so they fit together.

**How do I get it into my game?**

With Pro, download the track as a WAV file. Put it in your game engine and set it to loop.

**Can I use the music in my game?**

Use in games, apps and client work comes with the Studio plan, $29 a month. Pro is for personal use and social videos. Some built-in sounds ask for a credit; the list is on the Terms page.

The sounds that ask for a credit: [Sound credits on the Terms page](https://shawarma.studio/terms#sound-credits).

## Make your menu loop

Your request is already typed in. Change the words, or press the button.

Free. No sign-up for your first track.

Have an account? [Continue with Google](https://shawarma.studio/auth/google)

By continuing you agree to the [Terms](https://shawarma.studio/terms) and the [Privacy policy](https://shawarma.studio/privacy).

---

The page: https://shawarma.studio/make/game-menu-music
