Version

menu_open

RTPC tips and 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.

[Note]Note

The RTPC cursors for LFO and Envelope modulators do not tell you their specific values at any point in time since they are determined by the modulator's internal properties.

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.

Copying RTPCs to multiple objects

If you have a large collection of objects and want them all to use the same list of RTPCs, you can configure the desired list in a single object, then copy and paste the RTPCs from that object to one or more other objects through the Paste Properties view. For more information, refer to Copying and pasting object properties.

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 2,000 RPM will sound perfect at 2,000 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 Blend Containers.

Creating Doppler type effects using RTPCs

The pitch property used in the Wwise Sound Engine pipeline has been highly optimized for resampling, 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 game objects in Wwise 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.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise