Open World Ambient Design Using Image Based Parameters

游戏音频 / 声音设计 / Wwise 技巧和工具

The Blend Container can be a powerful sequencing and mixing tool. Simply learning its functions can bring all sorts of new ideas into the mind of a game sound designer. This is especially true when combined with the power of the RTPC, and a good amount of brainstorming with your game designer and programmer.

I am going to share a recent Blend Container idea with you. It can be a great method for “painting” ambient audio zones around a landscape. This developed in two different stages, both of which I will outline.

All of the pictures, audio assets, and approaches I am going to share with you are part of a prototype scenario. Here is an aerial picture of part of a map we are going to use to demonstrate.

A 3D Perspective with a small viewable area - Wwise

A 3D Perspective with a small viewable area

 

Development Stage 1 of 2

The gameplay of this map takes place mostly while you swim underwater or cruise along at the waterline as a Shark. You are able to access deep parts of the ocean where the waves are several feet high, or you can travel away from the ocean where the inland water is very calm. I started implementing ambient audio with a series of actors to trigger the wave assets, but this was not a good solution as it left the ambient water sounding both static and disconnected from the visuals. Swimming is a fundamental part of this title and it must look, feel, and sound immersive. The waves in this map are dynamic, so the audio events should be as well. Somewhere there was a new RTPC value, and we were going to find it.

It occurred to me that if there were a game value commanding the waves when and how to grow in height, then maybe I could use that value as an RTPC to control the dynamic mix of the wave assets.

I asked our game producer about the ocean wave modulation and he explained how it worked. Then I asked him to explain it in a way that a sound designer might understand, and it began to make sense. Basically, the ocean wave modulation is created by mapping a world space coordinate to a UV coordinate in the HeightMap and then the color information is read from a pixel. The code that influenced the RTPC value we ended up creating is part of an Unreal community project called Ocean Simulation, Weather and Dynamic TOD system.

 

The RTPC value was named WaveHeight. When the value is 0 there is no wave modulation, and at 1 we have our most dynamic wave modulation. I created a Blend Container with three tracks.

Blend Container and RTPC Value - Stage 1 of 2 - Wwise

Blend Container and RTPC Value - Stage 1 of 2

 

The pictured Blend Tracks from top to bottom are Big Waves, Medium Waves, and Light Waves. You can see the Wave Height RTPC controlling Volume in red envelopes across each track.

This scenario worked far better than static ambient actors, but there were two main issues with this setup. The RTPC value would occasionally produce inconsistent value jumps which did not create a reliable or smooth transition. Also, when you were close to the beach the wave height was already at 0. That meant that we would hear the same background water behavior near the beach shore as we would all the way inland in the rivers and canals. As is often the case with implementing game audio with Wwise, there was a more elegant option.

 

Stage 2 of 2

Converting the values from the HeightMap to an RTPC was the starting point, but using a simple color channel to drive our RTPC was where we ended up. In Photoshop, we were able to “draw” and map out the ambient areas on top of the 2D World Texture.

A 2D World Texture - RTPC Value Stage 2 of 2 - Wwise

A 2D World Texture - RTPC Value Stage 2 of 2

 

The Ocean would be pure white with a Wave Height RTPC Value of 1. The inland water areas would be black with a Wave Height RTPC value of 0. The transition areas near the shore would blend with the intensity of gray from about 0.2 up to 0.8. This ended being very smooth and efficient for processing and voice count, and it offered a lot of control between the 3 zones.

 

2D World Texture map converted into colors with Photoshop - RTPC Value Stage 2 of 2 - Wwise

2D World Texture map converted into colors with Photoshop - RTPC Value Stage 2 of 2

 

This second Blend Container has a 4th Blend Track added at the bottom. This asset was made up of very gentle inland water lapping. The ocean ambience is the Blend Track just above that, which picks up around 0.2 on the Wave Height RTPC value.

 

“WaveHeight” Blend Container - Stage 2 of 2 - Wwise

“WaveHeight” Blend Container - Stage 2 of 2

 

This is a video capture of the Stage 2 Blend Container in game. Although it is very small, the Wave Height RTPC value is being printed to the top left-hand corner of the editor screen. in purple text.

 

Demonstration video 

 

This painting of ambient areas method could be used for a variety of audio events. We are currently only utilizing the red channel, but blue and green are just waiting to be painted into a new RTPC value!

 

  

 

 

Tom Todia

Game Audio Designer

Engine Audio

Tom Todia

Game Audio Designer

Engine Audio

Tom is the Co-owner and an audio developer at Engine Audio, a game audio contract group. Tom has been in audio production for 20 years, and currently teaches audio for video games at Full Sail University.

 @EngineAudioTom

评论

Alex Quick

September 22, 2016 at 12:16 pm

RTPC'in like a boss!

留下回复

您的电子邮件地址将不会被公布。

更多文章

为何在制作高预算游戏时有必要使用音频中间件?

在本文中,我将从个人观点出发简要阐述使用 Wwise 的几点好处。尤其是在制作高预算游戏时,它的优势会更加明显。 我们先来总结一下使用音频中间件的普遍好处: 提升工程的声音品质。 ...

29.4.2019 - 作者:_Samy Elia Colombano_

从 UI 设计角度探讨如何制作 UI 音频 – Part 2

下面,我们接着阐述 UI 设计的后三项原则。倘若尚未阅读本文的第 1 部分,请务必先点击此处查看。接着第 1 部分,我们来说说…...

21.10.2019 - 作者:约瑟夫·马尔丘克 (Joseph Marchuk)

关于局部线性与联动控制在Wwise中的应用探讨

引言...

18.11.2019 - 作者:王润琦

Tell Me Why | 音频日志 – 第 4 部分:混音和母带制作

《Tell Me Why》已在 Xbox 和 PC 上发布,并且完全支持 5.1...

29.6.2022 - 作者:马休•菲奥伦蒂尼 (Mathieu Fiorentini)

Wwise Spatial Audio 2023.1 新增功能 | 减弱相位偏移效应

在今天的博文中,我们将深入探讨在对给定环境进行声学建模时可能会遇到的一种有趣声学现象:相位偏移。我们先简单了解一下相位偏移的基本物理特性,然后再展示 Reflect 在 Wwise 23.1...

25.1.2024 - 作者:艾伦•李 (Allen Lee)

通过 ReaWwise 在 ReaScript (Lua) 中调用 WAAPI

ReaWwise 有个大家可能不太知道的功能,就是将原始 WAAPI 函数暴露给 REAPER。藉此,用户可在自己的 ReaScript 中使用这些函数。在本文中,我们将探讨如何使用 WAAPI 在...

23.4.2024 - 作者:安德鲁·科斯塔 (Andrew Costa)

更多文章

为何在制作高预算游戏时有必要使用音频中间件?

在本文中,我将从个人观点出发简要阐述使用 Wwise 的几点好处。尤其是在制作高预算游戏时,它的优势会更加明显。 我们先来总结一下使用音频中间件的普遍好处: 提升工程的声音品质。 ...

从 UI 设计角度探讨如何制作 UI 音频 – Part 2

下面,我们接着阐述 UI 设计的后三项原则。倘若尚未阅读本文的第 1 部分,请务必先点击此处查看。接着第 1 部分,我们来说说…...

关于局部线性与联动控制在Wwise中的应用探讨

引言...