menu
 
版本
2015.1.9.5624

2024.1.5.8803

2023.1.13.8732

2022.1.19.8584

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


menu_open

RTPC Tips & Best Practices

Before using RTPCs, you may want to review the following sections, which provide you with a series of tips and best practices that can help you get the most of your sound and motion in game.

RTPC Naming

  • Before changing the name of a game parameter, be sure to check how your programmer integrated it into the game engine. If it was integrated using the game parameter's name, you should try to avoid changing it in Wwise as it will require additional work for your programmer.

Performance

  • Although RTPCs can be created for all objects, busses, effect and attenuation instances, switch groups, and blend tracks within your project, it is important to use them selectively as they can consume a significant amount of the platform's memory and CPU.

Valid Ranges for Smart Pitch Curves

  • Smart pitch curves tend to give good results around their native value, but will not necessarily sound good around extreme values. For example, an engine sound recorded at 2000 RPM will sound perfect at 2000 RPM, and probably quite good in the range from 500 to 3,500 RPM. Beyond that, however, it might not sound natural. One way to remedy this situation is to use multiple recordings at various native values, then assemble the recordings in a blend container. For more information about blend containers, refer to Defining the Contents and Behavior of the Blend Container.

Creating Doppler Type Effects Using RTPCs

The pitch property used in the Wwise Sound Engine pipeline has been highly optimized for re-sampling, allowing for playback to be sped up or slowed down in real time. The “best-practice” approach for creating Doppler type effects in Wwise is to have the game engine keep track of the position delta between the listener and the sound source, which basically equates to a speed value. This 'speed' game parameter can then be mapped to the pitch property of a sound using an RTPC. As the listener and sound move closer or farther away from each other in game, the sound will be pitched up or down. This is by far the least CPU intensive procedure for creating Doppler effects.

When multiple listeners (including split screen) are used in Wwise, Doppler effects using pitch require special design considerations. In real-life, the sound may result in a different pitch value for each listener based on the velocity and distance between the object and each listener. Since in Wwise, game objects use a single instance for each playing sound, having two unique pitch values for a single sound is not possible. Therefore, a single pitch value needs to be determined programmatically.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅