Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Issue with pre-entry when using states to change the music

0 votes
This issue occurs when using states or switches to change the background music depending on the character's emplacement in a level.

When the Source Segment contains a pre-entry (the song's "intro", not contained in the subsequent loop), the "Exit source at: Immediate" doesn't work as it should, it instead waits until the pre-entry is done playing before switching.
This creates a problem as the source's pre-entry will continue playing on top of the destination segment.
Furthermore, if the switch is set again to its originale value, the same pre-entry segment will be triggered again (on top of the last one if it had not done playing).

Is there any way to make pre-entries coexist correctly with a state-changing music system?
asked May 1, 2015 in General Discussion by Antoine V. (170 points)

1 Answer

0 votes
Right, that's how it works because the Entry Cue is the sync point for the transition.

I'd recommend splitting your "intro" and "loop" into separate segments.
answered Mar 3, 2017 by Monty M. (2,190 points)