Sound Library (snd) Sample Demos

Location

$NW4C_ROOT/demos/snd

Compiling

Change directories to $NW4C_ROOT/demos/snd, and execute

% omake
  The executable (.cci) file is generated in:
$NW4C_ROOT/demos/snd/(sample demo name)/images/(platform)/(target)/
    For example:
$NW4C_ROOT/demos/snd/SimpleDemo/images/CTR-TS.Process.MPCore.fast/Release/
 

Executing

After the sample demo is compiled, load the generated executable file (.cci file) using PARTNER-CTR debugger software and execute.

Description

createSoundThreadManually Demonstrates how to create sound threads in user applications.
effect This is an effect demo.
externalFile Demonstrates how to play sounds in a file not included in a sound archive.
filter Demonstrates how to play sounds using LPF or Biquad filters.
hioSoundArchive This demo demonstrates how to use the HioSoundArchive class.
holdSound Demonstrates how to use the HoldSound function.
labelString Demonstrates how to use label strings instead of sound IDs.
memorySoundArchive Demonstrates how to use the MemorySoundArchive class.
originalSoundHeap Demonstrates how to use a user-implemented sound heap.
playerHeap Demonstrates how to use a player heap for memory management.
simple Demonstrates the basics for starting and stopping sound playback.
sound3d Demonstrates how to use 3D sounds.
soundActor Demonstrates how to use a sound actor.
withSdk Demonstrates the joint use of nw::snd and nn::snd.

Revision History

2010/11/15
Added the hioSoundArchive demo.
2010/10/21
Revised the effect demo
2010/10/15
Added the filter demo
2010/09/27
Initial version.

CONFIDENTIAL