WSC-Docs

Sound

When you want to play sound effects or start background music, you do so via the wiiSound object.

var sound = new wiiSound();

Members

Member Name Discussion
sound.playSE(effect) Plays the sound effect designated by effect. See Effects for further information.
sound.playBGM() Plays the Wii Shop Channel’s well-known theme.

Effects

There are 13 available sound effects to play. You specify an effect index as the effect.

The effect names are derived from their listing within IplSound.brsar, such as WIPL_SE_CHAR_DELETE_ERROR.

IndexSound EffectDiscussion
1"Push"Seemingly silent.
2Hover/TargetThe sound played when hovering over buttons.
3"Decide"/SelectA success-like sound, played upon button selection.
4CancelA sound played when pressing the Back button.
5Choice ChangeThe sound played when selecting another option in a ratio menu.
6ErrorA short sound designating an error. Internally called WIPL_SE_CHAR_DELETE_ERROR, it appears to be the same effect from the Wii's keyboard.
7Add PointAn effect played upon successful point addition.
8Copy FinishedA success sound played upon download completion.
9Small Mario JumpA small jump effect.
10Large Mario JumpA larger jump sound effect.
11Fire BallThe expected fire ball effect.
12CoinA coin hit effect.
13Hit BlockThe hit block sound effect from various Mario games.
14CopyingSomething very close to the existing Mario jump sounds.
15LoadingThe loading sound displayed with the spinner.