While playing the footstep sound in Wwise is getting you closer to your goal, it’s not complete until you can play the game and hear the result of your work. In many respects, this last step is like the process of bouncing a playable mix of a music project, with the exception that there is a lot more going on than simply generating a single audio file. This is where you get to see the real benefits of the Wwise Audio Engine, as it essentially writes the code necessary to apply your Sound Design to the game for you. In order for Wwise to do this, you must add your Events to so called SoundBanks, generate them and move them to the Streaming Asset Folder of your game project.
In the main menu, click Layouts > SoundBank or press F7. (Pic01 SoundBank Layout)
In the upper right area of the screen you can see the SoundBank Manager and, like other areas of Wwise, it contains a Default Work Unit. The Platformer Game has been coded to look for SoundBanks called Music, PreMixed, Robot, Sfx, Utility and Voice. You can already find them in the Default Work Unit of the project’s SoundBanks, so you don’t have to create them for yourself. If you are working on your own projects, you’ll have to create SoundBanks of your own.
SoundBanks need to be populated with the Events that you intend to have as part of that SoundBank. Events can be assigned to a SoundBank by simply dragging them to the desired SoundBank.
Drag the Play_foley_footstep Event from the Event Viewer to the Robot SoundBank in the SoundBank Manager. (Pic02 Add Events to Soundbank)
In the lower right view, you’ll see the Event you just added in the SoundBank Editor. Wwise can simultaneously generate SoundBanks for multiple game platforms and even multiple languages (if you’ve provided dialogue content and used Wwise’s localization features) in one swift step . This is a huge time saver considering that different game platforms have different ways in which audio code must be implemented. In essence, Wwise is like having multiple codewriters that know the specifics of each game platform working for you. Because of this, you need to specify which game system and language you want to generate SoundBanks for.
The specific steps you'll need to take in the following exercise will differ depending on if you are using a Windows or Mac computer. The images following each step reflect using the Windows platform. For Mac users, simply choose the available Mac option instead.
Because multiple SoundBanks can be generated for a single game, you must first select the SoundBanks that you want to be generated.
Select the Robot SoundBank and appropriate Platform and English (US) language check boxes. (Pic03 Platforms + Languages)
Next you must define the path indicating where the SoundBanks should be placed within the game’s file structure. This information would typically be given to you by the game programmers.
In the SoundBank Manager, click User Settings.
You can see that there is a default SoundBank path. This path is a folder called GeneratedSoundBanks in the Wwise Project Folder on your harddrive. (Pic04 User Settings) If you leave it as it is and like to hear the SoundBank changes in your Game after generating the SoundBanks, you would have to manually copy the SoundBanks from this location to the Asset Folder of your Game Engine’s project directory. Sounds difficult? It is! Instead you could specify the path to the Asset Folder of your Game Engine’s project directory directly by clicking the Override Project SoundBank Paths check box and tell Wwise where your SoundBanks need to go.
Click the … button of your respected platform and navigate to the subfolder WindowsNoEditor\Platformer_Game\Content\WwiseAudio of your Platformer_DevBuild folder, then choose the folder of your respected platform and click Select Folder. (Pic05 SoundBank Paths)
The updated SoundBank path appears for the platform you selected.
Click OK to close the SoundBanks Settings window then click Generate Selected in the SoundBank Manager. (Pic06 Generate SoundBank)
The SoundBank Generation View is displayed. In this moment, the code and all necessary files to implement your footstep sound have been generated. The SoundBank Generation View always shows you which SoundBanks have been newly created and if there are problems and errors within your Wwise playback systems. (Pic07 SoundBank Generation View)
Click Close for this view.
Play the Game and listen to the footstep sound.