spsimple Demo

Location

$CAFE_ROOT/system/src/demo/ax

Description

Demonstrates how to load and play sound effect samples using the Sound Pipeline. Specifically, it shows how to:

Console Output

After the program is invoked, it will loop four times playing each sound with a momentary pause.

Loop 1/4
    Playing sound 0
    Playing sound 1
    Playing sound 2
...

Files

$CAFE_ROOT/system/src/demo/ax/spsimple.c Demo source code.
$CAFE_ROOT/system/src/demo/ax/spsimple.h Sample ID defines.
$CAFE_ROOT/data/disc/content/axdemo/spsimple/spsimple.txt sndconf.exe script.
$CAFE_ROOT/data/disc/content/axdemo/spsimple/spsimple.spt SoundPipe Table.
$CAFE_ROOT/data/disc/content/axdemo/spsimple/spsimple.spd SoundPipe Sample Data.

Samples

STRATCH Looped damped E2 string.
STRAT Looped open E2 string.
CHIMES Looped Chinese chimes.

See Also

AXAcquireVoice
AXSetVoiceState
SPGetSoundEntry
SPInitSoundTable
SPPrepareEnd
SPPrepareSound

Revision History

2013/05/08 Automated cleanup pass.
2012/01/26 Updated for SDK 2.02 Release


CONFIDENTIAL