コミュニティQ&A

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

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

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

0 支持
I was wondering what the "correct" way is (if it's even possible) to detect the end of a stinger played (in the "Interactive Music Hierarchy") that was started by a trigger, e.g. receive and handle the stinger's exit cue?

I'm integrating this with Godot currently (though may try other engines), using the Wwise API to first start a playlist container, then fire a trigger which then starts a stinger. That part works very well; however, I was wondering what the best way to detect is when the stinger itself finishes playing.

Currently with the Godot integration (again, this might be more possible with a more mature integration for an engine like Unity), I know I can get an event callback, but if the event is firing a trigger, the trigger itself, of course, finishes/returns immediately.

Thanks in advance!
Duncan B. (190 ポイント) General Discussion

回答 2

+2 支持
Hey Duncan!

AFAIK and have tested, stingers are fire and forget.

A workaround I have used in the past is to create an Event that sets a state on a StateGroup (e.g. StingerStatus set to 'Finished'). Then I drag that event onto the stinger segment at the exit cue position as a Music Event Cue. Then I'm able to use that logic in a Music Switch Container's Transitions Matrix to check if the Stinger Segment has reached the exit cue or not. Kind of hacky, but I've used it a bunch.
Cameron Konner (310 ポイント)
Thanks for your answer. I was able to accomplish what I wanted using the method I described in my self-answer. Appreciate your reply, though!
+1 支持
 
ベストアンサー
It looks like this can't be done, but someone had suggested that inserting a WAV marker into the stinger and registering an event callback for markers might work. I was able to accomplish this by doing the following:

- Inserting a marker at the end of the stinger, using Reaper and rendering with the BWF format. I used Reaper. (Pro tip: Audacity doesn't allow you to do this, and while Wavosaur does, it doesn't allow you to set the marker names. I'm sure this isn't an issue with proper commercial tools similar to Reaper.)

- (Re-)importing the WAV into Wwise and verifying the marker's inclusion/existence via the Wwise Wave Viewer.

- Firing the event as described before from Godot, and registering a callback w/ the event for markers.

- Firing the trigger via Godot.

- The marker I set came through in the callback.

Hopefully this helps someone else in the future.
Duncan B. (190 ポイント)
Duncan B. 選択
...