Snd Sample Demos

Location

$TwlSystem/build/demos/snd/

Compilation

Move to the $TwlSystem/build/demos/snd/ directory and run:

% make

 Compiling begins, and the SRL executable file and the NEF or TEF files with the binary information are generated in:

$TwlSystem/build/demos/snd/(sample_name)/bin/(platform)/(target)/

For example:

$TwlSystem/build/demos/snd/simple/bin/ARM9-TS/Release/

The executable file of the release version for the NITRO/TWL hybrid of the simple demo is generated in the path described above.

Execution

Move to the $TwlSystem/build/demos/snd/(sample_name)/bin/(platform)/(target)/ directory. Depending on the type of the built ROM, one of the following methods is used for execution.

For NITRO ROMs

When using the Ensata emulator:

When using IS-NITRO-DEBUGGER:

When using IS-TWL-DEBUGGER:

For TWL/NITRO Hybrid ROMs

When using IS-NITRO-DEBUGGER:

When using IS-TWL-DEBUGGER:

For TWL Limited ROMs

When using IS-TWL-DEBUGGER:

Description

Sample

simple This simple sample replays BGM sequences and SE sequences.
stream This simple sample plays the stream.
stream-2 This sample combines multiple stream data in real time and plays back.
stream-3 This sample applies effects and plays back the stream.
moveVolume This sample fades in and handles the time changes for sequence volume.
reverb This sample adds general reverb to the audio output using sound capture.
effect This sample adds a low pass filter to the audio output using sound capture.
outputEffect This sample switches among surround mode, headphone mode, and mono mode using the output effect feature.
sampling This sample samples the audio output using sound capture and calculates the output volume.
waveout This sample plays back recorded waveform data that was recorded with a microphone.
micThrough This sample plays the microphone input in real time. Operates only in NITRO Mode.
driverInfo This sample displays sound driver information.
onMemory This sample demonstrates how to place the entire sound archive in memory.

Operating Environment

Normal operation for all of the samples using IS-TWL-DEBUGGER and IS-NITRO-EMULATOR has been confirmed.

The current version of ensata is not supported.

See Also

Snd Function List

Revision History

2008/06/20 Updated compile method and execution method for TWL.
2005/02/17 Added driverInfo demo.
2005/01/24 Deleted the description of IS-NITRO-EMULATOR in Execution, deleted the description of TEG in Operating Environment, and changed TS to IS-NITRO-EMULATOR.
2004/12/21 Added micThrough demo.
2004/11/26 Added stream-2 and stream-3 demos.
2004/10/04 Added outputEffect demo.
2004/09/13 Added sampling demo.
2004/08/02 Initial version.


CONFIDENTIAL