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.

0 votes
I'm trying to play a randomized musical one shot that is in the same key as my bg music.  I'd love to do this with a stinger so the game doesn't have to (independently of wwise) have to keep track of what music is playing to know what sound to play.  A stinger seems like the perfect way to do this, except that stingers will only accept music segment containers and NOT music sequence containers (which would allow me to randomize.)

 

Any way to do this with stingers?  The only other solution I can think of is to use these as sfx with a switch container.  Not a huge deal, but seems like this is the perfect job for a stinger.
in General Discussion by Matthew G. (130 points)

1 Answer

0 votes
Hi Matthew,

The Music Segment you'll use as your Stinger can contain "random tracks". That's your best way to randomize (or sequence, or switch) content in a segment. To create a random track: Right-click on a music track and select "Random Step", then, add "Sub-Tracks".

Simon
by Simon A. (Audiokinetic) (3.6k points)
...