Questions et réponses de la communauté

Bienvenue sur le forum de questions et réponses d'Audiokinetic, propulsé par la communauté. C'est l'endroit où les utilisateurs de Wwise et Strata s'entraident. Pour obtenir une aide directe de notre équipe, veuillez utiliser la page « Tickets de soutien ». Pour signaler un bug, utilisez l'option Bug Report dans l'Audiokinetic Launcher. (Veuillez noter que les rapports de bug soumis au forum questions-réponses seront rejetés. L'utilisation de notre système de rapport de bug dédié garantit que votre rapport est vu par les bonnes personnes et a les meilleures chances d'être corrigé.)

Pour obtenir rapidement les meilleures réponses, suivez ces conseils lorsque vous posez une question :

  • Soyez précis : qu'essayez-vous de réaliser ou quel est le problème spécifique que vous rencontrez ?
  • Pensez à inclure les détails importants : incluez des détails tels que les versions de Wwise et du moteur de jeu, le système d'exploitation, etc.
  • Expliquez ce que vous avez essayé de faire : indiquez aux autres les mesures que vous avez déjà prises pour essayer de résoudre le problème.
  • Concentrez-vous sur les faits : décrivez les aspects techniques de votre problème. Se concentrer sur le problème aide les autres personnes à trouver rapidement une solution.

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!
dans General Discussion par David M. (150 points)

1 Réponse

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 ?
par 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.
...