menu
 

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
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)
...