Lesson 2

Table of Contents

Using Controlled Randomization

While the gem break sounds are randomized, it’s still possible that the same gem breaking sound could be randomly selected multiple times in a row. This can be avoided by adjusting properties that let you control how randomization occurs.

  1. In the Gems Breaking Property Editor, confirm that the Avoid repeating last check box is selected and change the value to the last 2 played.

    Now it will be impossible to hear the same exact gem breaking sound played multiple times in a row.

    You may notice the Standard and Shuffle randomization options and wonder how they differ. Remember that you have the Property Help view that you used earlier that will explain each property's functionality when selected. In addition, you can easily view the documentation for all of the properties found within a view by clicking the Help button displayed as a "?" in the upper-right corner of each view.

    [Note]

    By default, Wwise uses an online help system that requires an Internet connection. If you know you might be working without an Internet connection, you can choose to install an offline set of documentation from the Audiokinetic Launcher. You must indicate that you want to use the offline documentation by selecting Help > Documentation Source > Offline from the Wwise menu bar.

  2. Click the help button in the upper-right corner of the Property Editor view.

    A web browser page will open to the Wwise online documentation that provides information about all of the properties currently displayed in the Property Editor.

    At the top there's an article describing the difference between the Random Container object you just created, and a Sequence Container that you'll create later in this lesson. Scrolling down, you'll see all of the properties for the current view along with the same information that is available in the Property Help view.

  3. Scroll down the web page until you reach the Random type property and review the difference between Standard and Shuffle.

    You can see that Shuffle provides even more protection from hearing the same Gem Breaking sound played closely together.

  4. Close the web browser and go back to Wwise. Then click the Shuffle option and play the Gems Breaking Random Container to hear the effect.


Was this page helpful?