Blog homepage

Building a Car Racing System Using Wwise

Sound Design

Growing up, I was very keen on car racing games; from playing Namco’s R4: Ridge Racer Type 4 on PS1 in high school, to the realistic Gran Turismo (GT) series, to the Need for Speed series on PC. I still love racing, but I never had a chance to get involved in a car racing project with complex Wwise feature requirements in my work, so I decided to build a simple yet comprehensive car racing system for GT Sport myself, using Wwise (2019.2.10.7490). I hope that this experimental project of mine will bring a bit of functional and design inspiration to my audio friends. I believe that my general workflow will be familiar to most sound/audio designers when starting new projects. My process consisted of: research and analysis, settings optimization, asset creation, Wwise authoring, and overall implementation. This project is certainly not perfect, and I would appreciate any ideas, improvements, and/or corrections you may have!

This article consists of 7 parts:

1. Optimizing Audio Elements

2. Core Engine Features

3. Ambient Sounds

4. Braking, Collision, ESP Anti-skid, Curb Materials

5. UI Sound Effects

6. Sound Variations for Different Perspectives

7. Overall Implementation

1: Optimizing Audio Elements

In addition to the original audio elements,  I decided to add some UI sound effects (timing extension, ready, final timing, overtaking), gear-shifting, and UI tones (to align with the steering wheel visuals). Also, as you'll see in the video below, in addition to the 3 default views, I added left and right look-arounds, as well as a backward perspective change.

Here's what that looks and sounds like:

2: Core Engine Features

The engine uses a Blend Container to hold the going-backward, idling, and going-forward loops. The RTPC curves are defined by the pitch, volume and low-pass filter, and are associated with the "Speed" Game Parameter.

I used Switches to associate with the "Speed" Game Parameter, identify the gears at certain speed values, and determine whether the vehicle is going-forward or going-backward.

When the car goes forward, each time it shifts up to a higher gear (from the 1st gear), there will be an UI tone indicating the gear-shifting. However, when it goes backward, idles, and then shifts up to the 1st gear, there will be no UI tone. This is the forward gear logic.

From the highest speed down to the 1st gear, each downshift is accompanied by the exhaust-pipe sound. However, when going from the 1st gear, then to idle, and then backward, there is no exhaust-pipe sound. This is the reverse gear logic.

If we don’t make the distinction between the forward and reverse gear logic, both the gearing-up and gearing-down sounds will be triggered.

Let's have a look at the logic all together:

Gearing up:

1. Goes backward, idles, then shifts up to the 1st gear: without the UI tone

2. Shifts up to a higher gear (from the 1st gear): with the UI tone

Gearing down:

1. Shifts down to the 1st gear, idles, and then goes backward: without the exhaust-pipe sound

2. Shifts down to a lower gear (till the 1st gear): with the exhaust-pipe sound

3: Ambient Sounds

Tire noises and wind sounds: Same as before, I used a Blend Container to hold the light/heavy wind sounds and the light/heavy tire noises. The RTPC curves are defined by the volume, and it's associated with the "Speed" Game Parameter.

4: Braking, Collision, ESP Anti-skid, Curb Materials

For braking, I added 3D audio and applied an Attenuation ShareSet. This makes the braking sounds more real. Also, I created a "BrakeSense" Game Parameter (with values 1 - 100). A higher value means a shorter braking sound (i.e. a harder braking), and vice versa. It’s also associated with Switches.

For collision, I also added 3D audio and I applied an Attenuation ShareSet. When the car hits the curb, a natural collision sound will be triggered.

When you steer the car, there will be a subtle ESP anti-skid sound. To do this, I created a Random Container with 3D attenuations. It can be attached to the front-left and front-right wheels.

When the car runs on a gravel curb, there will be a 3D sound too. It makes sense to attach the sounds to the curb of the racing track. And you can expect a longer distance for the Attenuation ShareSet.

5: UI Sound Effects

I created a 3D Attenuation ShareSet for the UI_BeSurpassed sound so that it will be more convincing when the car is overtaken.

6: Sound Variations for Different Perspectives

In addition to the engine sounds, tire noises and wind sounds, the "Speed" Game Parameter is also associated with the gearing-up, gearing-down, collision, ESP anti-skidding, and braking sounds. A higher speed means a higher volume.

The busses are organized in detail. Note that the UI bus is ducked against the Race bus.

As I mentioned before, I added some view changes: left and right look-arounds, as well front and back views. By default, it only has three views: cockpit, hood, and third-person. Let’s see how this works:

Let’s take the front and back views for example. We only need a State Group to change the engine’s volume.

When you are in the cockpit and move your head from left to right (or vice versa), there will be panning effects and volume changes. To do so, I created a "ViewWindTyrePan" Game Parameter (-1 - 1). -1 indicates panning left, 0 indicates no panning, 1 indicates panning right. And I used RTPCs to control the panning and adjust the ViewWindTyrePan value.

I created an RTPC to control the spatialization and adjust the ViewEngineSpatial value (0 - 1). 0-0.3 indicates cockpit view (central mono channel), 0.3-0.6 indicates hood view (with subtle stereo effects), and 0.6-1 indicates third-person view (with full stereo dual channel effects).

7: Overall Implementation

Finally, I created the "Engine-Start" and "Engine-End" Events with delay applied. Now, let’s start/stop the engine, and try to gear-up/down. See what happens in the video below!

And that's my version of a car racing system for GT Sport using Wwise! Thanks for reading!

Johnson Jiang (江山)

Sound Designer

Johnson Jiang (江山)

Sound Designer

I am a sound designer with ten years of professional symphony orchestra experience and graduated from the Orchestral Department of the Wuhan Conservatory of Music. "Like the popularization and promotion of symphony, it is the mission of every audio designer to promote and popularize good audio design."

 @AudioJohnsonJ?s=05

Comments

Leave a Reply

Your email address will not be published.

More articles

Audio Dynamic Range Calibration System

The Audio Dynamic Range Calibration System is an attempt to improve the way players use the dynamic...

15.11.2016 - By Martin Bussy-Pâris

Game Audio Gamefication (Part 1)

This blog post is about using informant audio in video games and how to combine game design and...

17.4.2018 - By Bjørn Jacobsen

The Differences Between Working in Game Audio and Film: Part 1

Have you been working in the film industry and are wondering what it would be like to work in game...

18.6.2019 - By Jesper Ankarfeldt

The Interactive Music Systems of Divinuet: Part 2

Hi, it’s me again! I’m here to tell you more about the interactive music in my upcoming tarot music...

3.3.2020 - By Megan Carnes

What Early Access Users Said About the Strata Multitrack SFX Library

The Inception of Strata SFX library creators have produced and distributed their content in roughly...

13.10.2022 - By Simon Ashby

Adding Realism to Your Sound With Impulse Response Reverb

Impulse responses are well known for ultra-realistic reproduction of real rooms. Recording impulse...

8.9.2023 - By BOOM Library

More articles

Audio Dynamic Range Calibration System

The Audio Dynamic Range Calibration System is an attempt to improve the way players use the dynamic...

Game Audio Gamefication (Part 1)

This blog post is about using informant audio in video games and how to combine game design and...

The Differences Between Working in Game Audio and Film: Part 1

Have you been working in the film industry and are wondering what it would be like to work in game...