Audiokinetic Wwise Knowledge Base

Playing an audio object at a specific RTPC range or value

This assumes you have read the following article:

Controlling audio content using RTPC's
 

By modifying the above example slightly, a Wwise object can be played when a specific RTPC value or range is reached.

  • For this example, we want a looped warning type sound to be played when the “Crash_Intensity” RTPC value is between 80 and 100.

The Switch Container
The Switch Container’s Play Mode needs to be set to “Continuous”. This will allow the looping sound to play continuously after the Switch Container has been triggered.

 

  • Using drag and drop, assign the warning sound to the “Hard” switch in the Contents Editor.

 

Fade-In
A volume-based RTPC curve can also be attached to the warning sound to create a fade in after the game parameter value of 80 has been reached.

 

When the Switch Container is played, you will hear the warning sound fade in after the game parameter value exceeds 80.




Article Details

Last Updated
28th o May, 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

Attachments

No attachments were found.

Continue