procedural game audio Asbjoern Andersen


How do you keep your game audio varied – without needing countless individual audio files? Procedural sound design can help with exactly that, and in this hands-on guide, senior lecturer, teacher fellow and author of the Game Audio Implementation book, Richard Stevens, demonstrates how the concept works in the Unreal Engine.

When creating a sound effect for a movie you’ll know that the audience is only going to hear it on one specific occasion, and you’ll likely build it up through editing and layering different sound elements to get just what you want.

01_game_audio_Explosion

Figure 01 ‘An explosion’

 

Most games, like sports, are about skill and mastery, so the player will be repeating similar actions again and again, and consequently they will be hearing the same sounds again and again. The trouble is that we’re very sensitive to this kind of repetition, since it just doesn’t happen in real life.
 

Video Thumbnail

Video: Explosion Baked


 
The obvious answer is just to have loads and loads of sounds but it would be far too much work to create 30-40 versions of every sound in the game (plus there are obviously limitations as to how much we can fit on a disk!).
If we look at our ‘explosion’ sound again we can see that the final sound is made up of different characteristic components, and this idea is key to starting to think about procedural approaches to sound design.

02_game_audio_Explosion_Components

Figure 02 ‘Explosion Components’

What we want to do is to keep these components separate when we import them into a game so that we can recombine them in different ways at run time. A lot of sounds in games aren’t ‘sounds’ at all, they are systems of sounds. This kind of procedural approach requires a different way of thinking, and sometimes different kinds of sound assets, since we often want to isolate the individual components that make up a sound.

When we bring these components into a Sound Cue in the Unreal Engine we can build a system of playback, and by having a few different versions of each component we can randomly combine them to create variation.

03_game_audio_Procedural_Explosion

Figure 03 ‘Procedural Explosion’

 

Video Thumbnail

Video: Explosion Components


 
By taking this approach we don’t need thousands of complete sounds in our game to be able to get thousands of different sounds out of the system. Randomizing the combinations of layers can vastly increase the number of potential outcomes with only a few additional sounds.

By taking this approach we don’t need thousands of complete sounds in our game to be able to get thousands of different sounds out of the system

In the above example we have four sets of three possible sounds that can potentially be heard so this will give us 81different sound outcomes. If we added just one other ‘Crack’ element then we’d get 108 potential sounds.


WANT MORE LIKE THIS?
FOLLOW A SOUND EFFECT FOR THE LATEST IN FANTASTIC SOUND:
 
          

We can increase this variation even more by adding some slight randomized delays and modulations of pitch and volume to each element, giving us.. erm… a very large number of possible outputs.

04_game_audio_Delay_Mod

Figure 04 ‘Adding Delay and Modulation nodes’

Video Thumbnail

Video: Explosion Delays and Modulation


 

Another thing we might want to do is to change the sound depending on what was being blown up, or the materials of nearby objects. Again by keeping these material components separate we can choose to layer them into the Sound Cue when appropriate by using a switch.
 


Popular on A Sound Effect right now - article continues below:

 

Latest releases:  
  • Destruction & Impact Debris – Ambisonic Play Track 110+ sounds included, 17 mins total $75

    Get all sorts of ambisonic debris recordings in this release from Spheric Collection – perfect for earthquakes, landslides, explosions and beyond. Debris is the material you will need for a house and gallery collapsing. From very small stone and dust to large rocks, this collection is a good set of mineral sounds – covering everything from impacts, continuous falling debris, rocks poured from various heights, light and heavy falling debris sounds, a number of falling rock sounds, to rocky explosions and blasts, glass sounds and more. Always immersive all sounds are ambisonic recordings.

    About Ambisonics:
    This is an Ambisonics sound effects library - and by using the free SoundField SurroundZone 2 plugin you can convert the B-format files into your preferred format (stereo, 5.0, 5.1, 6.0, 6.1, 7.0 or 7.1 surround). Note: The library also contains ready-made stereo mixdowns for your convenience.
    Add to cart
  • Drones & Moods Affright Play Track 208 sounds included, 45 mins total $30 $15

    Affright” is a collection of 208 sounds (Wav, 24 Bit / 48 kHz) aimed to induce tension, fear and urgency in horror productions.

    You will find looped percussive elements (clocks, metals, hits, alarms, musical elements and more at 75 bpm), designed rhythmic elements (75 bpm) and fx (atmospheric elements, reverses, noises, risers, drops).

    If you are a musician who wants to define the building blocks of an intense horror track or maybe you are a sound designer who needs to create a musical moment in a scene from a sound design perspective, this library can help you to achieve those things.

    Metals, vinyl noises, voices, ukuleles, flutes, guitars and clocks were used to create this intense pack of 164 loops and 44 Fx.

    Check the main demo!! It was created very quickly using only the sounds of the pack with NO ADDED EFFECTS, only mixing the levels of the sounds and shows you the intensity of what you can create with this library!!

    50 %
    OFF
    Ends 1569707999
    Add to cart
  • Hum, Buzz & Glitches Vintage Film Tech Effects Play Track 206 sounds included, 5 mins total $120 $99

    Vintage Film Tech Effects features Slate claps, Beeps, Bloops, Film leader tone, Static, 2 Pops, digital dropouts, record player noise and much more. We’ve collected these vintage sounds from old Hollywood dailies reels, and film stock. 206 tracks that recreate the sound of the lost art of classic Film, TV and radio production.

    18 %
    OFF
    Ends 1569016799
    Add to cart
  • City Life Transit: Japan Play Track 40 sounds included, 2.75 hrs mins total $30 $15

    Looking for authentic ambient sounds of Japanese transportation? Look no further! Field recordist and composer Ryan Ayers travelled to Japan in April of 2019 and captured this wonderful collection. His journey took him from Osaka to Tokyo to Fukuoka and all points in-between. Travel aboard the trains of the JR, the famous Shinkansen, the Hanyu Ferry and more! Explore the train platforms and station terminals of Osaka. Get lost in the Kansai International Airport. There is a subway noodle shop as well as specialty food markets. Authentic walla and natural activity give this collection the ear candy necessary to be an integral part of great soundscapes.

    This is a purely recorded sound pack. Nothing is synthetic or layered here. What you hear is exactly what was captured on location. We edited and mastered the files to bring out the best parts of the recordings. Most of the recordings have been ready-made into loops for ease of use. As always, we have embedded the files with detailed metadata for easy database searches.

    50 %
    OFF
    Ends 1569967199
    Add to cart
  • Foley Wooden Ship Ambiences Play Track 50 sounds included, 85 mins total $149.99 $99.99

    Ahoy Mateys! Step aboard the finest sailing ship sound effects library in the land.

    Whether you’re working on an exciting Pirates of the Caribbean style video game or a relaxing sea-faring romance, the hours of exceptional background loops and additional cutting edge ship sounds contained within this sound pack will set your project on a course to excellence!

    EXPLORE AN ENTIRE SHIP

    Whether your adventure takes place in the MAIN DECK, CABIN, BELOW DECK, atop the CROWS NEST, in a MEDIEVAL PORT, or on a DISTANT SHIP in the HIGH SEAS we’ve got you covered! Each ambience contains MULTIPLE VARIATIONS, ALL WEATHER CONDITIONS, and MULTIPLE INTENSITIES to cover each and every part of the ship, on the rough and calm seas, this sound effects library is perfect for every situation you need.

    A JOURNEY TO REMEMBER

    Our expert team of sound designers have meticulously crafted each ambience into CONTINUOUS, NON-REPETITIVE, DRAG AND DROP-READY LOOPS that will serve as perfect background audio for your game, film, animation, live event, or even as relaxing background audio! We have even included FULL and SIMPLIFIED MIXES, ISOLATED WEATHER, OCEAN and WOOD CRACKING versions, SHORT and LONG non-repetitive variants, and numerous other options for your convenience!

    TREASURE APLENTY

    With FREE UPDATES, FOREVER! and FREE BONUS AMBIENCES: MEDIEVAL PORT and isolated, SEA, SAILS and FLAG FLAPPING, Ship’s BELL RINGING, WEATHER and WOOD CRACKING SOUNDS, all supplied in industry standard Hi-Rez WAV and Hi-Quality MP3 formats, there’s no better time to set sail on the high seas with this ONE OF A KIND sound pack!

    So what are you waiting for? Take command of this UNIQUE library and begin your journey on the high seas today!

    KEY FEATURES:

    • Huge variety of Old Wooden Ship Interior and Exterior Ambiences, All Weather Conditions and Additional Useful BONUS Sound Effects for every scene or situation.
    • Multiple variants and intensities for your convenience and additional edit options (lengths, looping versions, stingers, etc.).
    • Ready to use – requires no editing, labelling or splicing. Categorized, organized and individually labeled files for maximum use efficiency
    • All files are included in Hi-Rez WAV, High-Quality WAV and High-Quality MP3 formats
    • FREE Updates to higher versions, FOREVER!

     

    33 %
    OFF
    Ends 1568757599
    Add to cart

Need specific sound effects? Try a search below:
 

By getting information from the game about what type of material is being blown up we can use this to control the switch, and therefore which material components of sound get added to the overall explosion sound.

05_game_audio_Explosion_Materials

Figure 05 ‘Explosion Materials’

Thoughts on the term ‘Procedural Sound Design’:

In writing the book we made a conscious decision to term this kind of sound design, that is typical in the current practice of game audio, ‘Procedural Sound Design’ to differentiate it from ‘Procedural Audio’.

Andy Farnell, who coined or at least popularised the term ‘Procedural Audio’ sees it as any kind of system where the sound produced is the result of a process. He describes these ideas more fully here. So under that definition, as soon as you set up any kind of system of playback you could see it as being procedural audio.

However there has been a lot of important work and progress in terms of procedural audio for games in the last few years (see http://proceduralaudionow.com/), and this has encompassed a variety of techniques, but there has been some emphasis on the idea of these procedural systems being synthesis based, which ultimately is probably the most flexible solution for interactivity.

This is a specialist field which we don’t go into in any depth in the book since there are other great books out there on this (not least Andy’s book ‘Designing Sound’). In the book we attempt to describe the range of procedural approaches by saying, “This approach to sound design exists on a spectrum from procedural sound design, where we tend to be manipulating pre-existing assets, to procedural audio, a term more frequently used when systems of synthesis are used to generate the sounds themselves (with much in between that combine both approaches)”.

To throw another thing into the discussion, when discussing music systems we also use the term algorithmic, which again could be used to describe any kind of system of playback. Although we could just call this procedural music (as others such as Karen Collins have done), but we felt it worth preserving and highlighting ‘algorithmic’ given the long history of algorithmic techniques explored for music in the past, which a search for ‘procedural music’ is going to miss.

 

Video Thumbnail

Video: Explosion Materials


 

Now we have all the elements of a sound as separate components we can also do other things with them, like spatialize them around the player in different ways. For the Game Audio Implementation book we built a simple system that will throw sounds around the player for people listening in 5.1 or 7.1. This could be used for elements of the explosion itself or for debris.

06_game_audio_Spatialized_Diagram

Figure 06 Diagram

 

07_game_audio_Spatialized_Detail

Figure 07 Detail

 

This was done in Unreal’s Blueprint system – which looks a bit daunting at first but once you get the hang of it you can pretty much do anything you might dream up!

08_game_audio_Blueprint

Figure 08 Blueprint

 

Video Thumbnail

Video: Explosion Spatialized


 
By using a procedural approach to sound design we now have an explosion sound that’s different each time, is ‘aware’ of the different materials involved in the explosion, and spatializes around the player in stereo, 5.1 or 7.1.
 

A big thanks to Richard Stevens for his insights on procedural game audio! If you want to know more about procedural sound design for games then check out the Game Audio Implementation book from Focal Press. If you’re new to UE4 you can get UE4 here for free, and you can download all the levels that go alongside the book here (also for free!) to get started.
 

Please share this:


 


 
 
THE WORLD’S EASIEST WAY TO GET INDEPENDENT SOUND EFFECTS:
 
A Sound Effect gives you easy access to an absolutely huge sound effects catalog
from a myriad of independent sound creators, all covered by one license agreement
- a few highlights:
  • Game Audio Packs & Bundles Vintage Anime SFX Play Track 350+ sounds included $69

    The Vintage Anime Sound Effects Library brings all of the excitement of your favorite Japanese animated series to your fingertips. Inspired by classic cartoons from the 80's and 90's, these recognizable and versatile sounds will instantly enhance any FX collection. Vintage synths were used to create the auras, beams, mecha blasters, atmospheres, magic spells, guns, sonic blasts and explosives that makeup this pack of over 350+ custom 24bit/96khz .WAV files. Perfect for film, video games, podcasts and any project that could benefit from a power up!

    Both designed sounds and source recordings:

    • Classic anime sfx from the 80’s and 90’s

    • Auras, mecha, beams, blasters, spells, explosives and more! 350+ sounds!

    • Tons of source material for experimentation

    • Expert crafted metadata

    • Vintage Anime PDF

    Add to cart
  • Human Swordfighter Play Track 479 sounds included $25 $20

    Swordfighter is a robust package with sharp sounding swords, heaps of variations and all the extras you need to make a fight come alive. Build unique sword swings with various hits, swooshes, schings, different fighter vocals and impacts on various surfaces. All up there are 137 sword sounds, 93 surface impact sounds, 15 knife throwing sounds, 48 swooshes and 180 fighter vocals.

    This version includes two sub-folders: one optimised for a film & TV workflow and the other optimised for video games workflow. Plus a few bonus sounds of a charging army.

    20 %
    OFF
    Add to cart
  • Ice Glacier Ice Play Track 300+ sounds included $40

    Glacier Ice is a library containing over 300 high quality sounds of ice cracking, breaking, shattering in various sizes of blocks – recorded entirely in the Italian Alps over the course of two winters.

    The library contains sounds of all dimensions, from ice cubes being dropped in a drink to a designed iceberg collapsing.

    The majority of the material was recorded at 192 KHz with a Sanken CO100K and a stereo pair of Sennheiser MKH8040, making this library greatly flexible for pitch shifting and all sorts of heavy processing.

    A small section recorded at 96KHz features sounds recorded exclusively with contact microphones placed directly on the surface of a frozen water stream.

    Bonus: Two extra libraries included for free:
    This library also includes two additional releases from Mattia Cellotto - for free: Crunch Mode delivers 230 crunchy sounds made with a variety of vegetables, fresh bread, pizza crust and a selection of frozen goods. The Borax Experiment gets you 158 squishy, gory, slimy and gooey sounds.
    Add to cart
Explore the full, unique collection here
 
   
FOLLOW OR SUBSCRIBE FOR THE LATEST IN FANTASTIC SOUND:
 
                              
 
GET THE MUCH-LOVED A SOUND EFFECT NEWSLETTER:
 
The A Sound Effect newsletter gets you a wealth of exclusive stories and insights
+ free sounds with every issue:
 
Subscribe here for free SFX with every issue

3 thoughts on “Why Procedural Game Sound Design is so useful – demonstrated in the Unreal Engine

Leave a Reply

Your email address will not be published. Required fields are marked *

HTML tags are not allowed.