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.

How do I transition to another sfx mid sample without starting the second sfx from the beginning?

0 votes
Hello! I’m new to Wwise but I’m already loving it. Im designing sound for a side scroller shooter similar to Metal Slug and I want to achieve the effect where if the player slides on gravel but moves to wood during the slide, it will transition to the wood slide sfx where the gravel sfx left off instead of starting the wood sfx sample from the beginning.

The idea I have in my head is to maybe set it up to where both samples are played at the same time, but one of them gets muted/cross faded when the other floor state is called? But I’m not sure.

Has anyone made this work? What is the best way to accomplish this?
asked May 16, 2019 in General Discussion by Nick (100 points)

1 Answer

0 votes
Yup this is one of the things Blend containers are for! Make a blend container with a blend track hooked up to an RTPC which is how your game engine will tell Wwise which surface you are on. Put the two audio assets or wwise containers for gravel and wood into the blend container, and then click and drag them into the blend track (bottom left). If you set the container to play in "Step" mode, you will get the behaviour you are looking for.
answered May 22, 2019 by Beatrix Moersch (3,280 points)