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.

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