snd - SimplePlayer Demo

Description

This sample demonstrates how to play, stop, and convert the pitch of 8-bit and 16-bit PCM audio.

Required Environment

None.

How to Use

Input Operation
A Button Plays and stops 8-bit/16-bit PCM.
+Control Pad Left/Right Changes the pitch.
+Control Pad Up/Down Switches the audio.

Notes

None.

Execution Procedure

When you run the demo, it displays operation instructions and the playback status and pitch of each voice.

The following log is also displayed in debugger output.

Loading wav files...
rom:/yoshi_16bit_fs16kHz_1ch.wav (1ch, 16000Hz, 16-bit wav file)
rom:/wihaho_16bit_fs22kHz_1ch.wav (1ch, 22050Hz, 16-bit wav file)
rom:/fanfare_16bit_fs32kHz_1ch.wav (1ch, 32000Hz, 16-bit wav file)
rom:/L-sin440Hz_R-sin660Hz_8bit_fs44kHz_2ch.wav (2ch, 44100Hz,  8-bit wav file)

Revision History

2011/03/24
Added support for applets, and modified How to Use and the screen display.
2011/02/02
Initial version.

CONFIDENTIAL