コミュニティQ&A

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

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

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

+1 支持
Hello

I'm working on a python script to create and import wavs for game dialogue, but I can't seem to create sound voice objects.

I'm using the ak_wwise_core_object_create function and passing in a dictionary of arguments, including parent, type etc.

I have everything working correctly to create all kinds of containers and children, including Sound SFX objects. I can also set various properties like Volume and IsLoopingEnabled, so I'm pretty confident I have all the structures and functions set up correctly.

I have tried changing the type to Sound Voice, but that returns an error about unrecognised type.

I have also tried setting the type to Sound and setting the IsVoice property to True, but this returns an error claiming that property cannot be set.

I know IsVoice is valid, because I have it in the return arguments of my GetSelectedObject function.

Can anyone shed some light into how to create Sound Voice object types with the core.object.create function?

Thanks
Simon G. (1.0k ポイント) General Discussion

回答 1

+1 支持
 
ベストアンサー
Hi Simon,

creating Sound Voices using ak.wwise.core.object.create will cause you trouble. It is preferable to use ak.wwise.core.audio.import

https://www.audiokinetic.com/en/library/2017.1.2_6361/?source=SDK&id=ak__wwise__core__audio__import.html

-Bernard
Bernard R. (Audiokinetic) (35.8k ポイント)
Simon G. 選択
Thanks Bernard. I've changed my script around to use the Import call instead.
Out of interest, is there a specific reason the Object Create call doesn't support creating voice type objects?
It is for historical reasons. In Wwise's user interface, we were never able to transform a Sound Voice to Sound SFX, and vice versa. Unfortunately, this limitation still applies in WAAPI, until we decide to refactor that area.
...