Building a Car Racing System Using Wwise

사운드 디자인

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

댓글

댓글 달기

이메일 주소는 공개되지 않습니다.

다른 글

Wwise CPU 최적화: 기본 가이드라인

오디오 제작자에게 힘을 실어준다는 것은, 한편으론 이들의 손에 일부 게임 리소스의 책임을 넘긴다는 것을 뜻합니다. Wwise는 편집기와 SDK를 통해 최소한의 CPU 예산을 지킬...

29.5.2019 - 작성자: 아드리앙 라보아 (Adrien Lavoie)

AI를 활용한 Pagan Online의 다이얼로그(대화) 관리 개선

오디오 프로그래밍 / 게임 오디오 / 사운드 디자인 니콜라 루키치 (NIKOLA LUKIĆ) 우리는 인공지능의 연구개발이 상당한 추진력을 얻고 있는 시대에 살고 있습니다....

24.3.2020 - 작성자: 니콜라 루키치 (NIKOLA LUKIĆ)

Wwise State-based Mixing의 새로운 기능 - 온갖 파라미터들!

2017.1 이전에는 States 탭에서는 볼륨, 피치, 저역-통과 필터, 하이패스 필터 및 메이크업 게인과 같은 비교적 적은 수의 파라미터에만 액세스할 수...

9.6.2020 - 작성자: Bradley Meyer

가상 음향을 통해 소리 풍경 가청화하기

이 시리즈에서는 과거, 현재, 그리고 새로운 잔향 기술을 집중적으로 살펴보고 몰입적 공간적 관점에서 이 기술을 검토해봅니다. 이전 글에서는 가상 현실에서 몰입적인 잔향을 제작하는...

16.3.2021 - 작성자: 브누아 알라리 (BENOIT ALARY)

노 스트레이트 로드(No Straight Roads)의 음악적 게임 세계 설계하기

안녕하세요, 게임 오디오 여러분들! 저희가 Wwise와 Unreal Engine을 사용해서 '노 스트레이트 로드(No Straight Roads, NSR)'의 극도의 스타일링을...

29.3.2023 - 작성자: Imba Interactive (임바 인터랙티브)

상호작용 음악: '여러분이 직접 선택하는 모험' 스타일의 발라드

2018년 크라우드 펀딩 캠페인을 성공적으로 마친 inXile Entertainment(인엑사일 엔터테인먼트)는 '웨이스트 랜드 3(Wasteland 3)' 게임의 본격적인 제작에...

23.5.2023 - 작성자: Alexander Brandon (알렉산더 브랜드)

다른 글

Wwise CPU 최적화: 기본 가이드라인

오디오 제작자에게 힘을 실어준다는 것은, 한편으론 이들의 손에 일부 게임 리소스의 책임을 넘긴다는 것을 뜻합니다. Wwise는 편집기와 SDK를 통해 최소한의 CPU 예산을 지킬...

AI를 활용한 Pagan Online의 다이얼로그(대화) 관리 개선

오디오 프로그래밍 / 게임 오디오 / 사운드 디자인 니콜라 루키치 (NIKOLA LUKIĆ) 우리는 인공지능의 연구개발이 상당한 추진력을 얻고 있는 시대에 살고 있습니다....

Wwise State-based Mixing의 새로운 기능 - 온갖 파라미터들!

2017.1 이전에는 States 탭에서는 볼륨, 피치, 저역-통과 필터, 하이패스 필터 및 메이크업 게인과 같은 비교적 적은 수의 파라미터에만 액세스할 수...