Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
Hi all!

I have a random container with a couple of long rumble sounds (7sec aprox) that sometimes (probability = 60%) are played after distant explosions. During the gameplay it's very possible to have those explosions played within 1 or 2 seconds only. So, if the long rumble sound was played together with the first explosion I would like to avoid this rumble to be played again if it didn't finish.

The instruction would be: If the rumble sound is playing then do not play it again, until it finishes.

Any ideas?

Thanks!
in General Discussion by Guido M. (270 points)

2 Answers

0 votes
I might have a solution but not 100% sure if it's what you're after. If you go to the random container that contains your rumbles and then go to advanced settings -> Playback Limit. You can set the amount of simultaneous sounds that can be playing within that container. You want to set 'limit sound instnaces to: 1' and then 'when priority is equal: discard newest'. This will stop any new sounds playing if the old ones are still not finished playing.

Tom
by Tom W. (140 points)
0 votes
This sounds like a job for instance limiting.
 

https://www.audiokinetic.com/library/edge/?source=Help&id=limiting_object_playback_instances

 

If you limit instances of the rumble sound to one and kill the oldest instance, a new rumble sound will stop playback of the currently playing one. The truncation of the older sound should be masked by the transient of your new explosion, so you probably won't hear the sounds switching.
by Ian S. (2.1k points)
...