# A win jingle for the end of your level

> Make a level complete jingle for your game, then a calm loop for the results screen. Ask for it shorter or brighter, and only the jingle changes.

Describe the moment, like "level complete in a bright platformer". Shawarma makes a short win jingle, then a loop for the results screen after it.

Too long? Ask for "shorter and brighter". The jingle changes, and the results loop stays as it was.

Level complete

130 BPM, a square fanfare, then a marimba loop

1. **Level complete** fanfare, hit, roll
2. **The results screen** results, bass, drums

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

## Shorter, from one ask

- Shorter and brighter: one bar, an octave up, with a bell: You asked“make the jingle shorter and brighter”: [Make it yours](https://shawarma.studio/open?example=made-win-short)

## Then ask for *changes*

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

- You make the jingle shorter and brighter
- You a sad version for game over
- You add a drum roll before it
- You make the results loop calmer
- You make it sound like an old game machine

## Made for the end of a level

- Short on purpose: A jingle of one or two bars, so the player gets back to the game fast.
- A loop after it: The results screen gets its own loop, which plays until the player moves on.
- WAV for your engine: With Pro, download the jingle and its loop as WAV files for your game engine.

**See the code of “Level complete”**

```
setcpm(32.5) // 130 BPM, C major, a level-complete jingle, then the results screen

const fanfare = note("[c5 e5 g5 c6] [~ g5 c6 ~]").s("square").decay(.15).sustain(.3).gain(.12)
const hit = note("[c3,g3,c4,e4] ~").s("gm_brass_section").gain(.3)
const roll = s("[sd sd sd sd] [cr ~ ~ ~]").gain(.34)
const results = note("<[c4,e4,g4] [a3,c4,e4] [f3,a3,c4] [g3,b3,d4]>").s("marimba").struct("x ~ x ~ x ~ x ~").gain(.3)
const bass = note("<c2 a1 f1 g1>").s("triangle").gain(.4)
const drums = s("bd ~ sd ~, [~ hh]*4").gain(.24)

arrange(
  [2, stack(fanfare, hit, roll)],          // level complete
  [8, stack(results, bass, drums)],        // the results screen
)
```

## Questions

**How long is a level complete jingle?**

Usually one or two bars, two to four seconds. Ask for "shorter" or "longer", and only the jingle changes.

**Can I get a game over version too?**

Yes. Ask for "a sad version for game over". You get the same idea in a minor key, slower.

**How do I put it in my game?**

With Pro, download it as a WAV file. Play the jingle once when the level ends, then start the results 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 win jingle

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/level-complete-music
