Adaptive Music

Horizontal Resequencing vs Vertical Layering: What's the Difference?

By the Starchild Music team · November 12, 2026 · 7 min read

A sunlit wooden desk with a small mixer whose four sliders sit at different heights, beside a long strip of colored cards laid in a line with two of them being swapped, and a game controller and headphones in the foreground

The short answer

Horizontal resequencing changes which piece of music plays next, by switching between separate segments at a musical point such as the next bar. Vertical layering changes which parts play together, by fading synchronized layers in and out of one running track. Use layering for intensity that shifts often, use resequencing for a new section or a real ending, and combine them when a scene needs both.

Horizontal resequencing changes which piece of music plays next. Vertical layering changes which parts of one piece play together. That single difference decides how you write the music, how fast it can react and what can go wrong.

Both answer the same problem: a game cannot tell the composer how long a player will stay. The manual for Wwise, a tool game teams use to build interactive audio, puts the scale plainly: making one hour of composed music last for thirty hours of gameplay "is not unusual."

Horizontal resequencing: change what plays next

Picture the score as a line that runs left to right. Horizontal resequencing cuts that line into segments and lets the game decide which one follows. Composer Winifred Phillips, in her book A Composer's Guide to Game Music, says segments can "range from a scant few to a large number of measures." Each can carry markers where the engine may switch: on every beat, at the start of each measure, or at chosen points.

Her work on the racing game Speed Racer shows the mechanics. When a player triggers "zone mode," the engine switches to a new track on the beat. Each zone-mode track opens with kick drum hits in tempo with the track before it, which, she told MIX, "allowed a good overlap and synchronization between the two pieces of music."

Tools build this in. In Wwise, a Music Playlist Container plays segments in random or sequential order, and a Music Switch Container plays the music that matches the current game state. In Godot, an AudioStreamInteractive stream combines clips with a transition table, and a transition can wait for the next beat, the next bar or the end of the clip. For more on the tools, read what game audio middleware taught music makers.

Vertical layering: change what plays together

Picture the tracks of a recording session stacked on top of each other. Vertical layering keeps one timeline running and changes the mix. Phillips defines it as playing "multiple independent audio files simultaneously," stacked "in perfect synchronization," so the game can reshape the track by raising and lowering layers.

In the Apple Arcade game Spyder she used it on its own for missions. In one mission, she says, there are "no horizontal segments, so the vertical layers do all the work," and the music grows from simple to full as the player progresses. Cale Plut and Philippe Pasquier add that in Mass Effect the music adds layers as combat intensifies.

In Wwise, a Music Segment "is like a multi-track sequencer, where tracks and sub-tracks can be arranged to create the layered musical score." In Godot, an AudioStreamSynchronized stream plays its sub-streams in sync and lets you set the volume of each one.

The hard part is the writing. MIX reported that Phillips treats layers as "little ensembles," not simple stems such as all the percussion on one track. Each layer "has to be able to stand alone and feel like a song." She called splitting a piece into three synchronized sections that also work alone "complicated," and six layers "exponentially more headache inducing."

Side by side

  • What changes: with resequencing, the section. With layering, the density of the mix.
  • Best at: resequencing suits a new mood, a new section or a real ending. Layering suits intensity that rises and falls often. Phillips says layering can give "a sense of progression and variety without needing to fragment the composition."
  • Hard part: resequencing needs a good transition for every route between segments. Layering needs parts that sound right alone and in every combination.
  • Timing: resequencing usually waits for a musical point, such as the next bar, so the response can lag. Layers already play in sync, so one can fade in the moment it is needed.
  • Cost: both multiply the music you write and test. Plut and Pasquier say the work "can increase exponentially with more complex musical adaptivity."

How to choose: five questions

  • Does the music need to go somewhere new, or just get bigger and smaller? A new section, key or finish points to resequencing. More or less of the same music points to layering.
  • How fast can the situation flip? If it can change every few seconds, layers react without waiting for a new section. If it changes about once a minute, segments usually cope.
  • Does the moment need an ending? A victory or a defeat often wants a real cadence. A segment can give you that, and so can a stinger, a short phrase played over the music.
  • How long might a player stay? For long, unpredictable stays, a pool of segments in shuffled order fights repetition. Phillips says every level of Spyder had "over thirty music segments," played in a randomized order, and some settle into silence on purpose.
  • How much music can you afford to write and test? Start with the smaller system that does the job.

A made-up example: ruin, guard, escape

Say a player explores a ruin, is spotted by a guard and escapes. Every part shares one tempo and key.

  • Exploring: one looping segment with four layers, such as pad, pulse, strings and bells. More layers join as the player goes deeper. That is layering.
  • Spotted: the game waits for the next bar, then switches to a chase segment. Its first bar repeats the pulse, the way Speed Racer's zone-mode tracks open with kick drums in tempo. That is resequencing.
  • Chase: three layers rise and fall with the guard's distance. Layering again.
  • Escaped: on another bar line, the game switches to a short segment that ends on a resolved chord, then returns to the exploring loop. Resequencing again.

Four moves, two techniques. Phillips mixes them in her level for Sackboy: A Big Adventure. Seven horizontal segments follow progress, a choir layer comes and goes, and a six-note reward melody on its own layer "merged harmonically with whatever horizontal segment" was playing.

Mistakes that cost the most time

  • Layers that are really stems. If a layer cannot stand alone, some combinations will sound unfinished.
  • Transitions written for one direction only. Wwise keeps transitions in a matrix of rules for moving from each music object to every other, with a default "Any to Any" rule you can override. Four segments already have twelve one-way routes, and eight have fifty-six. Test them all.
  • Fades that cut a phrase in half. A 2021 paper on adaptive audio in Unity warns that plain fades "might cut a track in the middle of the execution," which "can sound off." Waiting for a bar helps, and so does a short bridge. Wwise calls the bridge a transition segment, and Godot lets a transition use a filler clip.
  • Parts that do not match. Patrick Hutchings and Jon McCormack report that most of Red Dead Redemption's music sequences share A minor and 130 beats per minute so instrument tracks can be recombined.

Try both in ten minutes

You can feel the difference in a clip launcher. In Ableton Live's Session View, each vertical column, or track, "can play only one clip at a time," and the horizontal rows are scenes, which launch every clip in the row together.

  • Make four one-bar loops in one key and tempo: drums, bass, pad, melody. Put each in its own track, in one row.
  • Launch them alone and in different combinations. That is layering.
  • Add a second row of different but compatible loops and switch between the rows. That is resequencing. The manual suggests a large quantization setting, "one bar or greater," for toggling between loops in a track without losing sync.
  • Try Legato Mode. A clip launched in it "takes over the play position" of the one before, so you can switch at any moment and stay in sync.
  • Listen for the switch that fails, then ask whether the writing or the timing is to blame.

Songs face the same choice

A song with several finished productions on one shared timeline can switch between them mid-phrase. That is a horizontal move, and it works because the timelines match. If the vocal keeps singing through the change, it acts like a layer. You can hear a version of this on Starchild's adaptive music page: press play and switch styles mid-chorus. To write parts that fit together, see designing a song so it can adapt. For stingers and the wider toolkit, see how video games make music adapt.

Sources

Find a song to license

Every song on Starchild can be heard in different styles and in your key before you license it.