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.

留下回复

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


更多文章

怎样控制声部 - 优化CPU(PART 1)

对于任何项目,在开发过程中遇到性能问题都是很常见的。问题原因可能多种多样,但大部分情况下都和同时播放的声音数目直接相关。虚声部(Virtual Voice)只计算音量,而实声部(Physical...

16.11.2017 - 作者:马修.让(MATHIEU JEAN)

基于 State 的 Wwise 混音新功能——控制所有参数!

Wwise 2017.2 已经发布,在大量显著改进和幕后优化之中,包括一个令人激动的新功能——Wwise 中基于 State 的混音功能得到了拓展,能让你更加灵活有效地控制混音。在 2017.1...

14.3.2018 - 作者:布拉德利.梅尔(BRADLEY MEYER)

Wwise 2023.1 对 WAAPI 的更新

Wwise 2023.1 包含自 2017 年引入 API 以来对 Wwise Authoring API (WAAPI) 最大幅度的更新。如果还没看过 Wwise 2023.1...

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

Wwise 开发流程改进 | 针对 Unreal Engine Preview 的 Sim-Patch 发布和开发支持

这篇博文旨在跟各位分享我们在过去几个月里对开发流程所做的一些改进。这些改进是根据 Wwise 社区用户的反馈做出的,目的是更频繁地发布 Wwise 以缩短获取下一小版本的间隔。除此之外,我们还改变了对...

28.5.2024 - 作者:纪尧姆·雷诺 (GUILLAUME RENAUD)

如何在 Unreal Engine 中播放来自 Wwise 的声音

Wwise 有很多功能;不过在开发初期,如果不是很清楚如何使用,其可能无法按照预期运行。我不想各位因为最初的小插曲而觉得 Wwise...

30.7.2024 - 作者:合田浩(Hiroshi Goda)

Wwise 2025.1 新增功能

Wwise 2025.1 现已推出并可通过 Audiokinetic Launcher...

20.11.2025 - 作者:Audiokinetic (音频动能)

更多文章

怎样控制声部 - 优化CPU(PART 1)

对于任何项目,在开发过程中遇到性能问题都是很常见的。问题原因可能多种多样,但大部分情况下都和同时播放的声音数目直接相关。虚声部(Virtual Voice)只计算音量,而实声部(Physical...

基于 State 的 Wwise 混音新功能——控制所有参数!

Wwise 2017.2 已经发布,在大量显著改进和幕后优化之中,包括一个令人激动的新功能——Wwise 中基于 State 的混音功能得到了拓展,能让你更加灵活有效地控制混音。在 2017.1...

Wwise 2023.1 对 WAAPI 的更新

Wwise 2023.1 包含自 2017 年引入 API 以来对 Wwise Authoring API (WAAPI) 最大幅度的更新。如果还没看过 Wwise 2023.1...