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.

Help needed to trigger interactive music score in Unity 4

0 votes
Hi all! I've built a Wwise project that contains my SFX and an interactive music score. I was new to the software but have learned from the YouTube channel, this forum and some other kindly souls who posted various info around the place! The programmer I'm working with is also completely new to the software although knows Unity very well...

Between us, we have implemented all the SFX via their play events but we cannot get any of the state changes to work in order to shift the music track along. I have a Music Switch Container called In-Game Music with Music Playlist Containers PRE, NORMAL, GOOD and BAD containing relevant music segments.

I setup corresponding states in the Game Syncs tab and when I scroll through the states in my soundcaster, all the transitions I set in the Music Switch Container work perfectly.

The trouble we have is recreating these in game... Please can anyone help to define the events I need to send and if possible, what commands are needed on the scripting side? From what I can gather, states and switches do much the same thing, is one preferential to the other in the case of interactive music?

Unity is alien to me but if I can get my programmer on board now, it sets us up to be able to make great things in the future!

Many thanks in advance,
asked May 28, 2015 in General Discussion by Matt sneakSounds (460 points)
edited Jul 13, 2015 by Matt sneakSounds
I'm still stuck on this problem if anyone can shed some light please?

1 Answer

0 votes
The long-standing problem however should be the use of aksoundengine.setstate(),

and there is now a very rich source of information on the subject,

such as Mads's Wwise301
answered Oct 21, 2020 by Hou Chenzhong (Audiokinetic) (6,010 points)