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!

 

This is my first game in which we're using Wwise for audio. We have developed our own wrapper for the API, and it's working great!

I'm new to how the flow works in the Wwise editor, but I like it. It's very powerful.

Now that that's been said, let's get down to brass tacks. I've encountered an issue that I'm having trouble solving; I need to post an event when a sound has finished playing.

I have a radio communication in our game, and when the SFX containing the voice starts to play, I delay it with a second or two in order to play a sound effect for the radio comm, like a static buzz. That works great, however, I need to play a sound when the voice is over, another static buzz.

Wwise should be powerful enough to be able to handle this from inside the editor, right? Or do I have to do this from the C++ side?

 

Thanks in advance, I hope that this question is not a duplicate of another in the forums. I searched for a while but didn't find anything.
dans General Discussion par Linus N. (100 points)

1 Réponse

0 votes
Hello

I don't think there is functionality for posting an event when a sound finishes from within the Wwise tool.

One thing you could do is use the event's on finished callback. You'd need to hold on to a handle for the voice event, and subscribe to that events on finished callback. You could then use that callback to post another event.

All that would have to be done in your game engine/API wrapper.

As an alternative, if you just need to play a sound before and after a voice line, you could use a sequence container in Wwise, with the radio statics before and after the voice in the sequence. That way the voice event would trigger Radio On / Voice / Radio Off.
par Simon G. (1.0k points)
...