Using Templates in Wwise

Wwise 技巧和工具

WwiseTemplates_01.png 

Like many tools in a game developer's toolbox, Wwise is a deep, complex program with documentation longer than most novels. Who has time to read through entire documentation these days? I wanted to show off a simple, often overlooked feature in Wwise, which may not be readily apparent to someone who hasn’t read the manual. The ability to import a folder structure and apply a Wwise structure as a template to it can save a ridiculous amount of time when setting up structures in your project that may have a similar layout to other ones already in your project. With a little forethought and a few mouse clicks, the process of setting up complex structures in Wwise becomes an automated dream.

To start, let’s say we have a series of impact sounds which blend between soft and hard impacts based on the force of the impact and an additional layer of bounce sweeteners which only play above a certain force. We also do some filtering and pitch randomization based on the force and hardness of the objects colliding (via an RTPC). This is organized in Wwise as a Blend Container with some child Random Containers, which each contain audio files:

 Wwise_template_blend_container_layout-1024x472.png

 

Now, let’s start thinking about each of these structures as a folder. If we want to use this structure layout elsewhere in Wwise, we can “rebuild” or emulate this structure layout in Windows using folders. Where we have structures in Wwise (the Audiokinetic nomenclature for containers, Actor-Mixers, Virtual Folders, and so on) we create folders in Windows, which will serve as a guide for Wwise when we import new sounds. A Windows folder-based layout mirroring the impact structure above would look something like this:

 

3-_PC_folder_layout_02.png

 

Similar to the Blend Container in the Wwise example above, we have a “master folder,” in this case obj_sheet_metal_impact, which contains three folders: bounce, impact hard, and impact soft. And within each of those folders are corresponding WAV files. With a folder structure in Windows that mirrors the structure we want in Wwise, we can import it into Wwise—complete with all of our bussing, RTPCs, crossfades, and so on created for us! (As an aside, I always build my folder structures directly in the Originals folder so that the organization is already in place without having to move WAV files and folders around as an extra step in the File Manager.)

Once your folders are laid out in a similar manner to your Wwise hierarchy, open the Audio File Importer in Wwise and click the “Add Folders” button. Navigate to the top-level folder of your new structure, in my case “obj_sheet_metal_impact,” and click “Select Folder.” This will open that folder in the Audio File Importer. You can now assign each folder level as a different structure in Wwise, such as a Random, Sequence, or Blend Container. The magic, however, happens when we click the arrow in the Template column and select “Browse,” then navigate to an existing sequence whose layout and parameters we want to emulate:

 

4-_Wwise_template_layout-1024x657.png

 

As you can see above, Wwise automatically fills in which structure each folder should represent and even handles having more (or less) audio assets in a folder. Shuffle things around as needed, then click Import and you’ll have a new structure mirroring the template structure complete with all RTPCs, crossfades, and other structures.

 

5-_Wwise_template_blend_container_new-1024x487.png

 

Once we import the folder structure using an existing structure in Wwise as a template, we’re then free to tweak it to our hearts’ (or games’) content; but, most of the grunt work has been taken care of through some simple folder organization. Happy templating!

 

 

 Article originally published on Designing Sound

 

Bradley Meyer

Audio Director

Sucker Punch Productions

Bradley Meyer

Audio Director

Sucker Punch Productions

Audio Director and sound designer with 18+ years of experience in game sound design, systems design, scripting and integration, voiceover direction, and more.

 @AuralSurgeon

评论

Tom Todia

September 07, 2016 at 03:35 pm

Great post Brad, I am going to have to try this out right away.

留下回复

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


更多文章

Wwise Unreal 音频整合指南

在此跟大家介绍一下由我们在 Game Audio Resource 的朋友制作的 Wwise 2019.1.4 Unreal 4 音频整合指南。...

10.9.2020 - 作者:Game Audio Resource

人人都能用 WAAPI(二)wwise.core 分支

大家好,我是溪夜。 在《人人都能用 WAAPI(一)概述》中,我们用思维导图对 WAAPI 进行了重新归纳,并在配置好开发环境后,一起用 Python 写了几个简单的小程序,体验了 WAAPI...

29.10.2020 - 作者:汪洋

Wwise Audio Lab (WAL) 配套更新

Wwise Audio Lab (WAL) 是一个采用 Unreal Engine 4 开发的类似游戏的 3D 开源环境,其可通过 Wwise Launcher 进行下载。在 WAL 中,用户可对...

26.4.2022 - 作者:戴米安·卡斯特鲍尔(Damian Kastbauer)

关于如何在团队工作环境中使用 WAAPI 和 Python

在本文中,我想说说自己很长一段时间以来是如何使用 WAAPI 的。这当中用到了 Python、命令扩展 (Command Add-on) 和一个小的辅助程序 (Helper) 库。藉此,能以比...

10.5.2022 - 作者:尤金•乔尔内 (Eugene Cherny)

WAQL 2.0

自 Wwise Authoring Query Language (WAQL) 的第一个版本发布以来已经有几年了。在此之后,几乎没什么改动。最大的改动就是把 WAQL 集成到了 Wwise...

10.8.2023 - 作者:伯纳德 罗德里格 (Bernard Rodrigue)

离线音乐渲染工具:高效检查音频循环和过渡

高效地整合音乐 在使用 Wwise...

23.7.2025 - 作者:田中 直人(NAOTO TANAKA)

更多文章

Wwise Unreal 音频整合指南

在此跟大家介绍一下由我们在 Game Audio Resource 的朋友制作的 Wwise 2019.1.4 Unreal 4 音频整合指南。...

人人都能用 WAAPI(二)wwise.core 分支

大家好,我是溪夜。 在《人人都能用 WAAPI(一)概述》中,我们用思维导图对 WAAPI 进行了重新归纳,并在配置好开发环境后,一起用 Python 写了几个简单的小程序,体验了 WAAPI...

Wwise Audio Lab (WAL) 配套更新

Wwise Audio Lab (WAL) 是一个采用 Unreal Engine 4 开发的类似游戏的 3D 开源环境,其可通过 Wwise Launcher 进行下载。在 WAL 中,用户可对...