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
Hey, I'm wondering if it's possible to keep individual instances of a music switch container in time with one another? In the game I have objects that can be created at any time by the player. The creation of one of these objects posts an event to play the music switch container. This has worked fine so far, each object creates its own instance of the container no problem. However the music of the newly created objects don't stay in time with those already created. Instead the event is posted, and the container plays immediately, regardless of the timing on the other objects.

I've tried adding a parent switch container, to act as a 'global controller', and posting a play event at runtime for it. However this doesn't seem to have worked, at least with the settings I've tried.

Is there any way to do this with Wwise or are separate instances always going to be out of time with one another?

Thanks!
in General Discussion by Andrew H. (100 points)

2 Answers

0 votes
I'm actually looking for the same information.  Andrew, were you able to find a solution?  Does anyone else out there have any ideas on the matter?
by Scott L. (140 points)
+1 vote
Hi Andrew

I've done a bit of experimenting with this kind of stuff, and in my experience, you can only really keep layers of music in sync if they are all playing under one instance of the container.

I think I had a support email a while back that suggested that sync is only guaranteed when triggered from the same event.

One work around might be to have a global music container, with several music tracks. Each music track is essentially the music you want to play on your object.

Use states to kick off an object's music track when it spawns, and it should be in sync.
by Simon G. (1.0k points)
...