コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

0 支持
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.
Linus N. (100 ポイント) General Discussion

回答 1

0 支持
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.
Simon G. (1.0k ポイント)
...