コミュニティQ&A

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

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

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

0 支持
How do you persist sound events across a level change?  I've read some stuff online about adding an AkComponent to the Game Instance - but the GameInstance is not an actor, you cannot attach components to it?

We have a level  that we want to start silent and then ramp up the sound.  The various ambient sounds are kicking in automatically a few frames before we post the audio event to silence the sound in the level's BeginPlay.  We tried doing it in the construction event, but that still did not work.

We're thinking that we need to set the volume to 0 before the level change, so that all the ambient stuff won't be audible from the very start.  How would I do that?
Bob S. (230 ポイント) General Discussion

回答 1

+2 支持
 
ベストアンサー

In fact, it's not necessary to use a real AkComponent, but the AkGameObjectID, a uint64 variable.So DUMMY_GAMEOBJ is the solution.Good luck for you!

guoli d. (500 ポイント)
Mads Maretty S. (Audiokinetic) 選択
Thanks - can you explain further?  Is this something that needs to be done from C++ or can I do it from blueprint?  Sorry I am new to WWise, just trying to help out our musician.
Use FAkAudioDevice::Get()->PostEvent as usual,but set the AAcotr parameter nullptr,and use string EventName as event parameter, you'l do it!
...