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.

Posting Events using Wwise types and Animations

0 votes
Hello Everyone

I hope everyone is having a wonderful day.

I am Currently in Wwise 301 Certification Lesson 4.

I learned to post events using wwise type and animation. My question is what's the use of using animation when you can just post an event using the a wwise type.

Like for example i have a Footstep audio and an event called Player_Footsteps. So I can just link that audio to that Event and the footstep sound is added, So whats the point of posting events using animation??

 

Best

Yash
asked Dec 6, 2022 in General Discussion by Yash B. (130 points)

1 Answer

0 votes
 
Best answer
Hello Yash,

Wwise-types are simply properties in which you can select an Event, Game Sync, SoundBank, and so on. The setting/triggering of that property will still need to be set up from code (components like AkEvent's are just also code, made more user-friendly). Animation Events are just a way to activate a function e.g. PlayFootstep() in code. You could also use another function like Start() to call that function, but it wouldn't necessarily be timed correctly with the player animation placing a foot on the ground. So to ensure that the animation and sound are in sync, you can insert "markers" in the animation timeline, and the animation will then call the function that posts the event.

In other words, Animation Events are points inserted in the animation timeline, which can be used to call other game functionality, like creating footstep dust particles, placing a footprint on the ground, or playing a footstep sound.

Hope this makes it more clear.
answered Dec 14, 2022 by Mads Maretty S. (Audiokinetic) (38,720 points)
selected Dec 15, 2022 by Mads Maretty S. (Audiokinetic)
Hey Mads

Thank you so much for taking some time out and answering my Question. Really Appreciate it.
 Your answer was really helpful :)

Best
Yash
...