3.4 The 64aud3 Sample Program

The 64aud3 is a sample program which uses a number of sample banks to playback songs and sound effects. The audio is played back by switching bank files, as shown in Figure 3-1.

Figure 3-1 Memory map of audio heap used in the 64aud3 sample program

When you execute the program, the audio is played back while switching between the stage 1 and stage 2 screens and sounds. You cannot stop this sample with the Z Trigger button.

Stage 0
Select START GAME with on the Control Pad and then press the A Button to change to stage 1. Select OPTION and then press the A Button to display the L/R menu. Play the different sound effects by pressing the L Button and R Button.

Stage 1
Select RESTART GAME with on the Control Pad and then press the A Button to change to stage 0. Select EFFECTS, select a value with on the Control Pad and then press the A Button to playback the sound effect of the specified value.

With the explanations provided in this tutorial you can actualize almost all of the functionality related to audio. Unless you are going to do something special, there is really no need to understand the N64 OS al functions.