Audiokinetic Wwise Knowledge Base

Controlling audio content using RTPC's

This article explains how Real-time Parameter Controls can be used to determine what audio elements are played by a container in your Wwise project. For the purposes of this article, we will use an RTPC, called “Crash_Intensity” to determine the impact level of car crash sounds played within a Switch container.

To achieve this, the following elements need to be created:

Creating the RTPC
RTPC’s are managed in the Game Syncs tab of the Project Explorer.

  • In the Game Parameters section, we will create a new parameter called “Crash_Intensity”, with a min/max range of 0 to 100 respectively.

Creating Switch Groups, and associated Switches
Switch Groups and Switches are also managed in the Game Syncs tab of the Project Explorer.

  • In the Switches section, create a Switch Group (Crash_Intensity), with the following child switches (Low, Medium and Hard).
  • Double-click the Switch Group “Crash_Intensity” to load its property editor.
  • Enable the “Use Game Parameter” option, making sure to select the “Crash_Intensity” parameter from the drop-down list in the lower portion of the Property Editor.
  • Now create a series of points creating the desired relationship between the RTPC and the Switches.



 

Creating the Switch Container
A Switch Container can now be created in the Actor-Mixer Hierarchy.

  • Load the Switch Container into the Property Editor.
  • Set the Switch Type to Switch and then select the “Crash_Intensity” RTPC from the Group drop-down list.


 

Depending on the play mode needed, select either “Step” or “Continuous”. For our example, we want a single play one-shot type of playback, so select the “Step” option.

  • Add the different car crash sounds to this container as child objects. Using drag and drop, assign these child objects to the desired switch in the Content Editor.

 

Now play the Switch Container in the Transport Control. Since the container is in “Step” mode, you will need to press play each time you want to trigger a new playback instance. What you hear is determined by the value of the “Crash_Intensity” RTPC, which can be changed directly in the Game Syncs section of the Transport Control as well.





Article Details

Last Updated
4th o March, 2008

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

Related Articles

No related articles were found.

Attachments

No attachments were found.

Continue