社区问答

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

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

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

0 投票
I'm implementing a piece of interactive horror music into a small-scale 3D Unity game.  The music has 3 distinct parts: a main track that loops, a track for high string staccato figures, and a track for low string staccato figures.  The staccatos have to match up with the main track, but I only want the staccato tracks triggered when the player loses a certain amount of health. i.e. when the player is down to 60% health, the low strings start playing their staccato figure.  The main track is contained within its own playlist and set to loop infinitely.  The two staccato tracks are their own music segments.  I can't, for the life of me, figure out a way to trigger these staccato tracks so that they satisfy all of the following criteria: 1) Are in-sync with the main track, 2) Loop infinitely once triggered, and 3) Start from their respective beginnings.

Triggering the staccato tracks as Stingers satisfies criteria 1 and 3, but since there is no infinite loop option on a music segment, I have to click and drag the track out to something ridiculous like 20 minutes.  While this kind of solves my problem, it's A) Really annoying, and B) Impractical bc the loop is not truly infinite.  If this were a longer game, I'd have to sit there and drag the track out even farther..!

Am I missing some functionality here?  I feel like this is something super basic that Wwise should be able to handle easily.
分类:General Discussion | 用户: Thomas S. (100 分)

1个回答

0 投票
Create a Sequence Container, Create a child music segment, Create 3 child music tracks, create a state group with the number of different states you need (low Health, High Danger etc.)

Add the Music Segment to the sequence container, Set the Sequence container toContinous, and the Segment to Infinite loop.

Set the Start end loop points in the segment.

Add the State to the Music Track (not the Segment)

On each track in turn,  set the volumes for each track in each State. Adjust State Transition times in the Game Sync. You might want to set Virtual voice to play from elapsed time for economy.

I think this will do what you need.
用户: Simon P. (270 分)
Why not a loop checkbox like in a sound SFX?This would be so much simpler
...