社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,Wwise 和游戏引擎版本以及所用操作系统等等。
  • 阐明所做努力:阐明自己为了排除故障都采取了哪些措施。
  • 聚焦问题本身:聚焦于问题本身的相关技术细节,以便别人可以快速找到解决方案。

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!
分类:General Discussion | 用户: Mario P. (140 分)

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.
...