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.

+1 vote
Hi
 
We have a problem where we are trying to synchronize music tracks playing from one global music gameobject, and many 3D positioned gameobjects.
The 3D positioned gameobjects are spawned in the game at various points, so we are trying to find a way to trigger a piece of music on the gameobject when it is spawned, but have it play back in sync with the music playing on the global music game object. 
Any ideas? 
We have tried using the On Bar callbacks through our game editor, but the latency between the wwise callback, going through the game and back to wwise means that the music started is always very slightly out of sync with the main music. 
We have a set up using Triggers, where the music to be played exists as a layer in the global music system, and a trigger starts it on the next beat, but the problem is that that layer is playing from the global music system and thus is being emitted from the global music gameobject, but we would need it to be played from the 3D spawned in gameobject so it;s position in-game is correct.
Any ideas or thoughts on how we might achieve this?
 
Cheers
in General Discussion by Simon G. (1.0k points)

1 Answer

0 votes
The only way to synchronize different music objects together is by starting them (Play) on the same render frame.  

Unfortunately, using Trigger to play a Stinger on a different game object is currently not possible.
by Bernard R. (Audiokinetic) (35.8k points)
...