Lesson 4

Table of Contents

Configuring a Basic Sampler

The MIDI track and its clips reference an instrument called a suling, a type of bamboo flute from Southeast Asia. Individual recordings of notes being played on a suling at different pitches have been provided. These recordings will serve as the sound source for the Boss-D-Sampler-Suling Music Track. These audio recordings need to be imported into a Sound SFX object, which will then later become the target for the MIDI track.

  1. In the Actor-Mixer Hierarchy, right-click the Music Work Unit and choose Import Audio Files. Navigate to the Wwise-201 Cube Music > Boss > Boss-D > Boss-D Suling Samples folder. Import the Suling_C#5 file.

  2. Select and play the Suling_C#5 Sound SFX object.

    You hear the haunting sound of the suling play a single note. The specific note being played is C#5, as indicated in the filename. Now you need to target the Suling C#5 Sound SFX object from the Suling MIDI track, using the same process you used when targeting the Synth One objects you created.

  3. In the Interactive Music Hierarchy, select the Boss-D-Sampler-Suling1 Random-Step track, then in the Music Track Property Editor, click the Override parent check box within the MIDI Target group, and drag the Suling_C#5 object into the target field.

  4. Select and pin the Boss-D Music Segment to the Transport Control and then play.

    You hear the suling play, but all of the played pitches are identical, even though the MIDI track contains multiple note positions. You can fix this by adjusting MIDI properties that affect how the object responds to incoming MIDI information.

  5. Select the Suling_C#5 Sound SFX object and verify the MIDI tab is selected.

    Here you see various properties that control how the Sound SFX object will react to MIDI information. When a Sound SFX is targeted by a MIDI track, it will interpret each MIDI Note-On command as a play command; however, by default the pitch of the MIDI note is ignored. You need the pitch of the flute sound to change with different MIDI note positions.

  6. In the Note Tracking group, click the Enable check box and play the track again.

    Now you can hear various pitches. While there may be pitch variation, the note pitch you hear may not match the MIDI note pitches contained in the MIDI sequence. In other words, the MIDI sequence may be playing note D3, but it’s being heard as F#3. The reason for this is because Wwise raises or lowers the pitch of a sound by changing its playback speed. In order for Wwise to make the right choice about how much to speed up or slow down, it needs to have a reference as to what the actual pitch of the sound is in the recording that the Sound SFX object is referencing. This reference is called the Root Note, which must be manually entered into the Sound SFX object's Property Editor. Once known, Wwise can then compare the MIDI note it receives from the Music Track to the known pitch in the audio file and then calculate precisely how to change the referenced audio file’s speed to properly transpose the sound to match the MIDI note being played.

  7. Using the slider, set the Root Note property to C#5 and play the track.

    Now the pitches you hear match the actual notes played in the MIDI sequence.


Was this page helpful?