Opening document…

The interface could not load. You can still read below. Retry

The Harken Studio Container Collection

Harken Studio container tutorial series preview

Before the Harken Studio tutorials are released, this article introduces several common audio use cases and explains how containers in Harken Studio work.

  • When the same gun fires repeatedly, it should not sound exactly the same every time.

  • A reload has several stages, and its sounds need to follow the action order.

  • When a character moves from grass onto stone, the footsteps need to change with the surface.

  • As a forest changes from day to night, the two environments should transition naturally rather than switch abruptly.

These requirements may seem straightforward, but they call for more than suitable audio assets: you also need to arrange how those assets play.

Harken Studio is free, open-source game audio middleware. Its four container types—Random Container, Sequence Container, Match Container, and Blend Container—can each address one of these common audio needs.

Container menu: four container types
Container menu: four container types

This article first looks at the problems each container can solve. We will then release four hands-on tutorials, introducing the four container types and how to use them, one at a time.

Note: All practice sound effects will be provided with the upcoming tutorials. You do not need to find or create your own. Following along with the same assets as the demonstrations lets you focus on organizing containers and hearing the playback results.


A Container Is More Than a Folder for Sounds#

A Sound object plays an audio asset. A container organizes related sounds and decides which one to select, how several segments follow one another, or which sounds should play together.

For example, putting several footstep sound effects in the same folder simply makes them easier to find. Putting them in a container also lets them follow shared playback rules. A folder answers “Where are these sounds?” A container answers “How does this group play?”


Random Container: Add Variation to Repeated Actions#

Scenario:

Gunfire and footsteps recur throughout a game. Playing the same sound effect every time can soon sound mechanical and repetitive.

The aim is to retain the identity of the sound while adding a little variation each time!

A Random Container picks a sound at random from a group, making it suitable for recurring sounds such as gunfire and footsteps. Its role is to preserve the character of the sound while reducing the monotony of repeating the same sound effect—not to make the sound behave without any pattern.

Independent random selection for shot body and mechanical detail
Independent random selection for shot body and mechanical detail
Fire Action: trigger the body and mechanical layers together
Fire Action: trigger the body and mechanical layers together

The Random tutorial uses gunfire as its example. Alongside the shot body, it adds an independent Mech (mechanical action) layer: the body provides the impact and tail, while the mechanical layer adds details from the weapon’s mechanism. The two layers vary independently and play together as one shot. Variation then comes not just from “choosing another sound effect,” but also from different combinations of sonic details. You still hear the same gun.

You will learn to control repetition and maintain consistency within a sound group, and understand why layered variation offers more combinations than simply replacing a complete sound.

Random selection cannot replace asset preparation. If the sound effects are nearly identical, alternating them will still produce little audible difference. If their distance or intensity varies too much, the same gun may sound like a different model. This example considers both variation and a consistent sound identity.

Random Container: select one sound from each layer and play both together

Sequence Container: Connect Sounds in Action Order#

Scenario:

Some actions have distinct stages rather than happening all at once. A reload, for example, involves removing the magazine, inserting a magazine, and finally chambering a round.

These sounds cannot be chosen in an arbitrary order. We need to arrange them in the order of the action.

A Sequence Container plays a group of sounds in a specified order. It suits actions made up of several stages with a clear sequence.

Magazine removal, magazine insertion, and chambering
Magazine removal, magazine insertion, and chambering
Reload Child table: three stages in playback order
Reload Child table: three stages in playback order

In this example, we divide a reload into magazine removal, magazine insertion, and chambering. We can prepare several assets for each stage, use a Random Container to select one, and then let a Sequence Container arrange the three Random Containers in order. The reload sequence stays the same while the details can sound different each time!

We may encounter two different playback needs:

  • With successive triggers, hear one stage at a time.

  • When auditioning the complete group, use one trigger to play all three stages in sequence.

Sequence Container: play three stages in order

Match Container: Choose Sounds for the Current State#

Scenario:

On grass, footsteps should have the texture of soft contact and grass brushing. On stone, they should produce a harder footfall.

Rather than choosing an arbitrary sound, we need the sound group to change with the situation in the game.

A Match Container selects the appropriate sound for the current state. Random asks “Which sound in this group?” Match asks “Which group should be used now?”

Footstep hierarchy: separate grass and stone groups
Footstep hierarchy: separate grass and stone groups
Surface variable: 0 for grass, 1 for stone
Surface variable: 0 for grass, 1 for stone

The upcoming tutorial uses grass and stone footsteps to demonstrate this relationship. You will learn to organize sounds by state while retaining variation within one material: the Match Container decides which material to use, then a Random Container selects a sound from that group.

A Match Container does not detect the ground beneath a character on its own. The game supplies states such as surface material, and the container selects sounds according to its settings. The tutorial first simulates state changes in Studio so you can hear the difference before and after a switch.

Match Container: choose sounds for the current surface material

Blend Container: Make Smooth Transitions Between Complete Environments#

Scenario:

Imagine a forest gradually changing from day to night: daytime birds become quiet, nighttime ambience grows clearer, and an owl calls occasionally.

Stopping the daytime sounds abruptly and starting the nighttime sounds immediately would feel unnatural. Instead, one group should gradually recede as the other joins, giving the audible change time to develop.

A Blend Container can play multiple sound groups together and create a natural transition by adjusting their levels. In the day-and-night example, the aim is not an abrupt change of sound, but a natural transition between the daytime and nighttime environments.

Day-and-night hierarchy: ambience bed and randomized bird calls in each group
Day-and-night hierarchy: ambience bed and randomized bird calls in each group
Crossfade ambience at 5–7 and 17–19 on a 24-hour cycle
Crossfade ambience at 5–7 and 17–19 on a 24-hour cycle

The environment should not be filled with owl calls from beginning to end, either. Between calls, the ambience bed needs to remain continuous to preserve the forest’s sense of space. The next owl call then adds fresh detail. Alongside the day-to-night transition, this example shows how to organize a continuous background and occasional sonic details so the environment sounds more natural.

Blending multiple sounds does not mean playing everything equally loudly. You will learn to organize several layers into a cohesive, comfortable environment and combine different container types. When using them together, listen for a smooth day-to-night transition, a continuous ambience bed, and a well-balanced level between the calls and the bed.

Blend Container: a smooth transition between daytime and nighttime forest ambience

Make Sounds Play the Way You Intend#

Once the audio assets are ready, how they serve the game still needs design. Containers provide that capability: each sound remains independent, while playback rules let a group of sounds vary and work together.

Each of the four upcoming tutorials builds an example you can audition, with all practice sound effects, complete instructions, explanations of key parameters, and before-and-after listening comparisons. You can follow along to create the result and hear what each adjustment contributes, even if you are just getting started with Harken Studio.

What you take away will extend beyond four examples.

Use your own assets, listen and refine, and bring your sound design ideas to life step by step!