DEV Community

Cover image for Video Game Music: How It Is Composed and Implemented
A Plus Games Studio
A Plus Games Studio

Posted on Originally published at aplusgamesstudio.com on

Video Game Music: How It Is Composed and Implemented

The short answer

Video game music is composed as loops, short stingers and layered stems rather than finished songs, so it can repeat without audible joins and change with what the player is doing. Developers implement it with the engine's audio tools or middleware such as FMOD and Wwise, which switch sections, fade layers in and out and duck the music under dialogue and effects. The composer and the audio implementer decide together how the music should react before a note is written.

How game music differs from film music

A film score follows a fixed edit. A game has no fixed timeline: a player might spend thirty seconds or thirty minutes in an area, win or lose a fight at any moment, and pause whenever they like. Music therefore has to:

  • Loop cleanly , with no audible gap or click at the loop point.
  • Transition gracefully between states, such as exploring and fighting.
  • Stay out of the way of sound effects and dialogue, which carry gameplay information.
  • Not become tiring after the hundredth repetition, which shapes melody and arrangement choices.

The building blocks

Piece What it is Example use
Loop A section written to repeat cleanly Menu, exploration, a puzzle level
Stinger A short musical phrase triggered by an event Level complete, item found, defeat
Stems Separate tracks of the same piece (drums, bass, strings) Adaptive layering by intensity
Transition A bridge that links two sections musically Moving from calm to combat
One-shot Music that plays once and ends Cutscenes, credits, trailers

Adaptive music: two main techniques

Vertical layering

The composer writes one piece as several stems that sound good alone and together. The game adds layers as intensity rises, for example percussion when enemies appear and brass when the boss arrives, and removes them as things calm down. Because all stems share tempo and key, changes feel natural.

Horizontal resequencing

The music is split into sections, and the game jumps between them at musical boundaries such as the next bar or beat, often through a short transition. This suits bigger mood changes, like moving from a town theme to a battle theme.

Most games combine both: resequencing for big state changes, layering for intensity within a state.

Implementation: engine audio or middleware

Option Strengths Best for
Unity Audio Mixer Built in; groups, effects, snapshots for ducking Smaller games with simple music logic
Unreal MetaSounds Built-in procedural, node-based audio Unreal projects wanting interactive audio without middleware
FMOD Studio Visual timeline and parameters for adaptive music; widely used by indies Adaptive music and complex sound behaviour
Audiokinetic Wwise Deep interactive music system, profiling, large-team workflows Larger productions and complex audio

Middleware lets the composer and sound designer build the music behaviour themselves, with programmers only sending a few parameters such as "intensity" or "in combat". Both FMOD and Wwise offer free or low-cost licences for smaller projects; check their current terms for your budget.

Mixing and loudness

Music sits underneath the mix. Sound effects tell players what is happening, and dialogue carries the story, so music usually ducks when they play. For overall loudness, the Sony Audio Standards Working Group recommends about -24 LUFS integrated for console and PC games and about -18 LUFS for mobile, where players often listen through small speakers in noisy places. Always give players separate volume sliders for music, effects and voice.

How composers work on a game

  1. Read the design document and play the prototype to understand the tone and pace.
  2. Write a short main theme and get it approved before producing the rest.
  3. Agree the adaptive plan with the developer: which states exist and how the music reacts.
  4. Compose cues as loops and stems, with marked loop points and tempo.
  5. Deliver files in the agreed format, usually high-quality WAV stems, plus versions for the trailer.
  6. Test in the build and revise; music that works alone may clash with effects in game.

Briefing and hiring a composer

A good brief includes: genre and references (three or four tracks you like and why), the list of cues with rough lengths, which ones must adapt, platform, delivery format, deadline and budget. Be clear about rights. A buyout transfers the music to you; a licence lets you use it while the composer keeps ownership, often with the right to sell the soundtrack. Either is fine if it is written down.

Making game music yourself

If you are learning, free tools are enough to start: LMMS for composing, Audacity for editing, and the free tiers of FMOD or Wwise to practise adaptive music. Begin with one exploration loop and one stinger, put them in a prototype, and play for ten minutes. If the loop annoys you by then, it will annoy players too. Our guide on making a game for free lists other free tools.

Audio in our projects

We plan music and sound from the prototype stage, implement adaptive audio in Unity, and work with composers and sound designers on original scores. See Unity game development or request a quote.

Sources: FMOD Studio · Audiokinetic: Wwise overview · Unity: Audio Mixer · Unreal Engine: MetaSounds · Audiokinetic: loudness measurement · LMMS. Checked October 20, 2026.

Related: Unity game development · Mobile game development · Get a quote


Originally published on A Plus Games Studio, a game, AR and VR development studio in Sacramento, CA.

Top comments (0)