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.

0 votes
Hi,

I want to do a breathing system where when the player is calm you hear a slow breathing then when the player starts to run the breathing intensifies and another one when he stops running and is tired.

Right now I have a switch container with a state which tells me what the player is doing, and I play an event that stops the switch container then changes the state and play the switch container again, but I don't really like the transition between them.

What would be the best way to do something like this?

Thanks :)
in General Discussion by Alexandre S. (560 points)

1 Answer

0 votes
First of all, I would probably use blend containers controlled via RTPC instead of switch containers. You'll be able to crossfade between breaths a lot better.

Secondly, it would be very useful to check how the Playdead audio team implemented their breathing, because it's way better than what I would do.

That's here: https://blog.audiokinetic.com/inside-game-audio-using-wwise/

 

If you have questions, I can give a little more in depth answer when I'm not at work.
by Ian S. (2.1k points)
...