Game Audio Implementation
eBook - ePub

Game Audio Implementation

A Practical Guide Using the Unreal Engine

Richard Stevens

Share book
  1. 464 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Game Audio Implementation

A Practical Guide Using the Unreal Engine

Richard Stevens

Book details
Book preview
Table of contents
Citations

About This Book

Game Audio Implementation offers a unique practical approach to learning all about game audio. If you've always wanted to hear your sound or music in a real game then this is the book for you. Each chapter is accompanied by its own game level where you can see the techniques and theories in action before working through over 70 exercises to develop your own demo level. Taking you all the way from first principles to complex interactive systems in the industry standard Unreal Engine© you'll gain the skills to implement your sound and music along with a deep transferable knowledge of the principles you can apply across a range of other game development tools.

The accompanying website (www.gameaudioimplementation.com) includes:

  • 12 downloadable demonstration games
  • A unique exercise level for you to develop for your portfolio
  • An up-to-date online bibliography with further reading for each chapter
  • A free sound library with hundreds of game SFX

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Game Audio Implementation an online PDF/ePUB?
Yes, you can access Game Audio Implementation by Richard Stevens in PDF and/or ePUB format, as well as other popular books in Informatica & Programmazione di giochi. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Routledge
Year
2015
ISBN
9781317679455

07
Making It Real

Summary: Nested reverbs and prioritization, distance falloff algorithms, occlusion effects, moving sounds and sounds for moving systems, physics-based audio, sound for animations, cameras and the listener position
Project: DemoCh07Warfare01 Level: Warfare01

Introduction

Many game environments are imitations or at least hyperreal versions of environments that might be found in the real world. Therefore a player will have pretty clear expectations of what they might sound like, having experienced them in some form before. Even if the game is set in a fantasy world, we will still have expectations about the way sound will behave that have been developed through our lifetime of experience in the physical world. Although we shouldn’t necessarily always focus on realism (see Chapter 08), the soundscape needs to be consistent and believable in order to support the verisimilitude (the appearance or semblance of truth or reality) of the experience.
You can skip between areas of the level in game by using the keys 1–9.

Sound Propagation

Summary: Nested Reverbs, spatialization, revealing detail over distance, ambient zones for occlusion, obstruction and exclusion
The way sound travels through air (and other substances) and reflects around an environment is generally approximated and fudged in various ways for games. This is in part due to the unrealistic dimensions in game worlds, but mostly due to the massive resources it would take to calculate it accurately in real time.

Reverb: Advanced

We looked briefly at adding {Reverb Effects} to areas of the game through the [Audio Volumes] in Chapter 01, but we will now return to look at a few more advanced techniques.
Sound emanates from a source and travels through matter in waves. Your ears either receive the sound directly (dry) or indirectly (wet) after it has bounced off the various materials it comes into contact with. We refer to this as reverb (short for reverberation). Typically you’d receive both these types of sound, and this gives you important audio-based information about the environment you are in. Non-technical people might sometimes use the word echo to describe this effect, but unlike an echo, which is a distinct separate version of the sound being reflected, reverberation is a much more dense collection of reflections.
fig0329
You can create and edit your own reverb effects in the
ifig0006.webp
Content Browser
. If there don’t happen to be any preset {Reverb Effects} in your game already, you can change the View Options (bottom right) of the
ifig0006.webp
Content Browser
to Show Engine Content and see some in the engine content folder you can use (enabling this will also allow you to choose these {Reverb Effects} from the drop down menu of the [Audio Volume]). Double-click the {Reverb Effect} to open the
ifig0006.webp
Generic Asset Editor
and see the pop-up tips for an explanation of each parameter.
fig0330
Constructing a reverb that sounds good is a hugely complex task in itself. Trying to model the way sound would actually reflect around a specific space in a game would require a significant amount of computing power, so in most games we usually use these kinds of precalculated reverb effects to apply to sounds in a given area.
As you’ll remember from Chapter 01, reverb is controlled using [AudioVolume]s in the game level (you can also apply reverb as an effect via the <Activate Reverb Effect> node in the [Level Blueprint]). With these you can set the reverb effect, the volume of the reverb effect, and the amount of time it takes to be applied once the player enters the [AudioVolume]. This fade time is important since a sudden change between the reverb of two rooms can sound unnatural and jarring.

Nested Reverbs and Prioritization

When you start the level you are in the *Sewer Pipe* (Bookmark 1), which leads into a basement room in a bank. From here you can make your way up across the debris into the bank lobby.
fig0331
The sewer pipe and basement room are straightforward [AudioVolume] s, but the lobby and back room in the lobby are more problematic. We could make a series of volumes, but the main L-shape of the lobby is clearly the same space, and the crossover of the [AudioVolume]s could lead to some audio artifacts.
fig0332
Sometimes it is useful to enter geometry edit mode (Shift + 5, and then Shift + 1 to return to place mode) to see the [AudioVolume]s more clearly, and we can use this mode to edit the shape of the volumes to better suit the environment (hold shift while selecting a corner of the volume to move it). You can also choose different brush shapes as starting point...

Table of contents