Adaptive Music

What Is Audio Middleware in Games?

By the Starchild Music team · December 5, 2026 · 6 min read

A tidy game audio workstation with a wide monitor showing colored blocks along a timeline and a mixing panel, a pair of studio headphones, a small keyboard and a cup of coffee, afternoon sun on the desk

The short answer

Audio middleware is software that sits between a game's sound content and its game engine. It has two parts: an authoring tool where sound designers and composers build how audio behaves, and a runtime engine that plays it inside the game. Wwise and FMOD are two well-known examples. The game sends signals such as events, parameters, states and switches, and the composer decides how the music responds, including transitions and stingers.

Audio middleware is software that sits between the sounds a team makes and the game engine that runs the game. It exists so that the people who make audio can decide how it behaves, without waiting for a programmer to write every rule.

Most middleware has two halves. The first is an authoring tool, where a sound designer or composer imports audio and builds the logic: which sound plays when, how loud, how it changes. The second is a runtime engine, a piece of code that goes inside the game and plays what the authoring tool built, reacting to what the game tells it.

Wwise and FMOD

Two names come up most. Wikipedia describes Wwise, made by Audiokinetic, as software for interactive media and video games, with a graphical authoring tool and a cross-platform sound engine. In the authoring tool, designers import audio, apply effects, mix in real time, define game states and simulate audio environments. Wikipedia says that over a local network, designers can tweak sounds while the game runs on another machine. It lists integrations with engines including Unreal Engine, Unity, CryEngine and Open 3D Engine.

Wikipedia describes FMOD, made by Firelight Technologies, as a sound engine and authoring tool for games and applications. FMOD Studio is its creation tool, styled like a digital audio workstation, and it runs on platforms from Windows and macOS to Android, iOS and major consoles. It names Celeste, Dark Souls and Minecraft: Bedrock Edition among games that use it.

We are naming these as examples of the category, and we do not rank or compare them. Other tools exist, and many studios build their own.

Events: how the game asks for sound

The basic unit is the event. Audiokinetic's Wwise documentation says Wwise uses Events to drive the sound, music, dialogue and motion in the game. An event holds one or more actions, such as play, pause or stop. So when a character walks from an open field into a cave, a single event can stop one ambience and start the other.

FMOD's documentation uses the same idea. It defines an event as an instanceable unit of sound content that can be triggered, controlled and stopped from game code.

Here is the part composers care about. The game calls the event by its name or ID. Wwise's documentation notes that as long as the name or ID does not change, you can keep building and fine-tuning what the event does without re-integrating it into the game. The game only says what happened. The audio team decides what that sounds like.

Parameters, states and switches

Events say when. The next group of signals says how things are right now. Both tools have a few kinds, with different names.

  • Game parameters (RTPCs). In Wwise, a Real-time Parameter Control links a game value to a sound property along a curve you draw. For example, a character's tiredness could raise the volume of breathing sounds. In FMOD, a parameter is an event property that can trigger and control an event's instruments and other settings.
  • States. Wwise describes States as a way to make different mixer snapshots for the same sound and apply the changes globally when the game changes. For example, going underwater can muffle every sound that is already playing. FMOD has its own snapshots, which change the mix and are started and stopped from game code like events.
  • Switches. A Switch stands for one of several alternatives, such as ground surface or weather. Wwise groups the alternatives in a Switch Container, which plays the right object when an event or a game parameter signals a change. Footsteps on concrete, grass or dirt are the classic case.

What this looks like for music

Interactive music adapts to gameplay: more driving in combat, calmer in quiet moments. It often also has to stretch a limited amount of composed music across many hours of play, so the tools are built to keep it sounding fresh.

Here are the pieces a composer meets.

  • Segments and playlists. Wwise builds music from Music Segments, which are placed in containers. A Music Playlist Container plays its segments in an order you choose. A Music Switch Container picks what plays based on a state or switch.
  • Transitions. These do much of the work, because a badly fitted change between segments is jarring. A transition goes from a source music object to a destination. You set when it happens, whether it fades, and you can add a transition segment that plays during the change. FMOD does this on an event's timeline with transition markers, which make the playback position jump to a destination marker or loop region.
  • Stingers. Wwise describes stingers as snippets played on top of existing music. A game trigger calls one, and you choose when it starts, such as the next beat, the next bar or the next cue. You can also block a stinger from repeating too soon after it plays.
  • A simple setup: an adventure game reports one of three states, exploring, sneaking or fighting, and a music switch container picks the music for each.

How the signals reach the tool

The authoring tool does not talk to the game directly. It builds data, and the runtime reads it. FMOD says its Studio content is built as bank files, which the FMOD Engine loads and plays using the FMOD Studio API. A game programmer connects the game to that API, so that when something happens, the game posts an event or sets a parameter or state. After that connection exists, the composer can keep changing the music behind it.

Why music teams care

For fixed music, a game could just play a file. Adaptive music needs rules: add this layer when danger rises, finish the bar before switching, fade out when the player enters a menu. Middleware is where those rules live. In Dale Crowley's series on the technical composer, Part 3 walks through building an adaptive score called Blade Revisited in both Wwise and FMOD, and notes that both take what he calls a blank slate approach. In other words, the tool gives you the building blocks, and the musical design is up to you. (The article was first published on November 30, 2015, and reprinted on Game Developer on January 5, 2016.)

Our article on what game audio middleware taught music makers covers the ideas that came out of this way of working. For the two main moves composers make inside these tools, see horizontal resequencing vs vertical layering.

What it replaced

Before shared tools, audio was often built by hand inside each game. LucasArts' iMUSE, described in our history of iMUSE, was one in-house answer. Middleware turned that kind of custom work into products that many teams could use.

What middleware does not do

  • It does not write the music. A layered score still has to be composed so that layers fit together in any combination.
  • It does not decide what the game reports. Someone still has to define the signals, such as danger level or location, that the music listens to.
  • It does not fix a bad transition. If two sections clash in key or tempo, a smooth crossfade will not rescue them.

Do this today

  • Write down three things a game could tell your music, for example danger, location and speed.
  • For each one, decide what the music should do: add a layer, change section, change tempo.
  • Then ask what your tool needs to receive and what it needs to send. That list is what you would hand a programmer.
  • If you want to try this hands-on, both tools named above have free options for non-commercial use, as Wikipedia notes, but check the maker's current terms before you start.

Sources

Find a song to license

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