버전

menu_open

Playing All Objects Within the Container

In other situations, you will want all the objects within the container to be played each time it is called. For example, when certain guns within your game are fired, there are a series of sounds that must be played in sequence. In these situations, you would set the play mode of the container to Continuous.

The following illustration shows how Wwise manages the sequence of sounds played when a particular gun is fired using a Sequence Container in continuous mode.

In Continuous mode, all objects within the container are played, which means you can also add looping and various transitions between the objects.

[Note] Note

When a Random Container is in Continuous mode, some objects may be repeated several times before the complete list has played once. This is due to the weighting applied to each object within the container.

To play all objects within the container:

  1. Load a Random or Sequence Container into the Property Editor.

  2. In the Play Mode group box, select the Continuous option.

    The Continuous options become available.

  3. For Sequence Containers, select the Always reset playlist option to return the playlist to the beginning each time the container is played. If you clear this option, the container will continue playback from where it was stopped or more precisely at the beginning of the next object in the playlist.

  4. Select the Loop option to loop the entire contents of the container.

    The Loop options become available.

  5. Select one of the following options:

    • Infinite to specify that the container will be repeated indefinitely.

    • No. of Loops to specify a particular number of times that the container will be played.

  6. If you selected the No. of Loops option, type the number of times you want the container to be played.

  7. Select the Transitions option to apply a transition between the objects in the playlist.

    The Transition options become available.

  8. From the Type list, select one of the following options:

    • Xfade (amp) to add a crossfade between two objects using constant amplitude.

    • Xfade (power) to add a crossfade between two objects using constant power.

    • Delay to add a silence between two objects.

    • Sample Accurate to create a seamless transition with no latency between objects. Please note that the Vorbis and XMA audio formats are not reliable codecs for sample accurate transitions.

    • Trigger rate to define a specific rate at which the objects within the container will be triggered. This option is useful for simulating rapid gun fire.

    [Note] Note

    There are some limitations and restrictions when using Xfade, Sample accurate, and Trigger rate transitions. A couple of notable ones are:

    • Blend and Switch Containers do not work with crossfades (Xfade). A Random/Sequence Container's Xfade will fail when any of its child Blend or Switch Containers play; and

    • Fade outs of stop Actions do not propagate on containers using Xfade or Trigger rate transitions. Whenever a StopEvent is called on the container, with a fade out value that is longer than the current segment that's playing, the sound will just cut off abruptly when that segment ends. The workaround to this is to use a Set Voice Volume action to create the fade and delay the Stop action.

  9. In the Duration text box, type the length of time you want for the crossfade, delay, or Trigger rate.

    [Note] Note

    The Duration option is not available for sample accurate transitions.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요