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
Hello,

Sorry if this is a double post, but couldn't find my previous post on this. I'm trying to make a sort of rhythm machine in Unity and I'd like the sound to trigger on beat when the player presses a button.

Right now I'm using stingers for this which works pretty well, however, I'd like the sound to cut itself off and repeat if the player presses the button twice and the sound's still playing from the last press. It seems I am unable to have the singer do this.

Is there another way to play the sound so that it can cut itself off and repeat in sync with the music? If I were playing the sound direction from an event action, I could just cut it off, but it seems stingers don't work that way.

Thanks!
in General Discussion by David M. (150 points)

1 Answer

0 votes
Cant you add a 'stop' event to the stinger event ? I think if you triggered the stop event before a play event for the same sound, it would cut the currently playing event and then immediately trigger again ? Wouldnt you just have to put the stop event before the play in the hiearchy ?
by damon i. (890 points)
Hmm. I tried using a stop action in the event, but it won't stop a stinger, only a play action.

I found a way to do it where I limit it to one voice in the sound set where the stinger sounds are. But there's now some delay even when I turn on sreaming. That's a different issue though.  Thanks for the suggestion.
...