Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Event and voice cooldown feature request

+41 votes
Current voice limiting options in Wwise are incomplete without adjustable voice cooldown (ie. don't play a new sound of this type unless a certain amount of time has passed.) Voice cooldown is a very handy feature for managing voices, and a default for most other audio middleware.

Furthermore, cooldown for events can be very efficient at managing events that are prone to be posted in quick succession (ie. cull this event if the same event was handled within the given cooldown time), and provides a flexible way for managing sound clutter.

Currently, to implement any type of cooldown, one has to use complex hacks that clutter the actor-mixer hierarchy, or impement a custom solution on the code side. Most other competitors have some type of built-in cooldown feature. Wwise should catch up on this area.
asked Jan 14, 2021 in Feature Requests by AudioCan (490 points)
edited Jan 21, 2021 by AudioCan
We are getting close to 2024 and we still need this!
HUGE +1!!!! We need this please!
+1 Please add this, would very useful!!
that wold be grand, I have been looking for this and now just realized there is no such feature :(
Massive +1!!

The sequencer/silence method is taking the length of the SFX into consideration. Where as a traditional cooldown is more about how frequently a sound/event can be posted. For example, only allow this sound to be posted every 0.2 seconds, but the sound itself is 1 second long. It also causes complications where there's a group of different sounds/events where you want to tune how frequently they can be posted.

Ideally, there is a cooldown that can be modulated by an RTPC.

I understand the reasoning that this is better handled at the root/code level, and sometimes that is true. However that's not always desirable. For one..., that means needing dev support to tune the audio where as the sound designer or technical implementer may want to adjust these values based on other factors.

1 Answer

0 votes
 
Best answer

Hello Everyone, 

Thanks for letting us know you'd like such a feature!

It's true that we don't specifically have such a feature, but try this instead. 

  1. Make a new Sequence Container.
  2. Set it to Playmode > Continuous. 
  3. Add SFX + SIlence to it (also the Sequence Container's Playlist)
  4. In Advanced Settings, set the playback limit to 1 and "Discard newest instance".

This way, the duration of the silence will be the cooldown duration, and you can even control this from an RTPC. 

That's one way to do it, but there's usually an even better solution to this problem.

Voice cooldowns are usually the result of some game code not being properly "optimized" for audio calls. So the best way to fix this, is to go back into the code and somehow set up a mechanism that only calls the sound once. Maybe even use the Callback on AK_EndOfEvent, so once the sound is done playing, it will again be allowed to post the Event. This will minimize your sound engine calls, cause you fix it at the root of the problem. 

answered Dec 7, 2023 by Mads Maretty S. (Audiokinetic) (39,780 points)
selected Feb 14 by Mads Maretty S. (Audiokinetic)
...