menu
 

AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

0 支持
Hi, I'm creating a plugin for the Unreal Engine 4 editor and I want to be able to know the length of an audio associated to a Play Event (obviously only an audio is associated to each play event). I've been navigating through the Wwise plugin code and I haven't seen anything useful for that. I understand that this feature could be against the philosophy of the Event architecture but it limits a lot some features I want to be able to have in my plugin. Is there anyway to have length information of the audios stored in an audio bank?

Thanks!
Mario P. (140 ポイント) General Discussion

回答 1

+1 支持
 
ベストアンサー
When generating banks in wwise be sure to check "generate xml file" under options. It will create an XML file that has the length that you can parse through. It has a minimum and max length. in an event that has one sound they are the same, in one that has multiple it will give you from the shortest to the the full length. That is what my coder and I are doing.

 

-Rob
Robert M. (4.6k ポイント)
Noemie P. (Audiokinetic) 選択
Thank you! It's not a optimal solution but we can work with that, I suppose.
...