1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../css/manpage.css" type="text/css" /> 7 <title>Sound Library (snd) Sample Demos</title> 8 </head> 9 <body> 10 <h1>Sound Library (snd) Sample Demos</h1> 11 12 <h2>Location</h2> 13 <div class="section"> 14 <p> 15 <code>$NW4C_ROOT/demos/snd</code> 16 </p> 17 </div> 18 19 <h2>Compiling</h2> 20 <div class="section"> 21 <p> 22 Change directories to $NW4C_ROOT/demos/snd, and execute 23 <pre><CODE>% omake</CODE></pre> 24 The executable (.cci) file is generated in: 25 <pre>$NW4C_ROOT/demos/snd/(sample demo name)/images/(platform)/(target)/</pre> 26 For example: 27 <pre>$NW4C_ROOT/demos/snd/SimpleDemo/images/CTR-TS.Process.MPCore.fast/Release/</pre> 28 29 </p> 30 </div> 31 32 <h2>Executing</h2> 33 <div class="section"> 34 <p> 35 After the sample demo is compiled, load the generated executable file (.cci file) using PARTNER-CTR debugger software and execute. 36 </p> 37 </div> 38 39 <h2>Description</h2> 40 <div class="section"> 41 <table class="demos"> 42 <tbody> 43 <tr> 44 <th><a href="demo/createSoundThreadManually.html" target="_self">createSoundThreadManually</a></th> 45 <td>Demonstrates how to create sound threads in user applications.</td> 46 </tr> 47 <tr> 48 <th><a href="demo/effect.html" target="_self">effect</a></th> 49 <td>This is an effect demo.</td> 50 </tr> 51 <tr> 52 <th><a href="demo/externalFile.html" target="_self">externalFile</a></th> 53 <td>Demonstrates how to play sounds in a file not included in a sound archive.</td> 54 </tr> 55 <tr> 56 <th><a href="demo/filter.html" target="_self">filter</a></th> 57 <td>Demonstrates how to play sounds using LPF or Biquad filters.</td> 58 </tr> 59 <tr> 60 <th><a href="demo/hioSoundArchive.html" target="_self">hioSoundArchive</a></th> 61 <td>This demo demonstrates how to use the HioSoundArchive class.</td> 62 </tr> 63 <tr> 64 <th><a href="demo/holdSound.html" target="_self">holdSound</a></th> 65 <td>Demonstrates how to use the HoldSound function.</td> 66 </tr> 67 <tr> 68 <th><a href="demo/labelString.html" target="_self">labelString</a></th> 69 <td>Demonstrates how to use label strings instead of sound IDs.</td> 70 </tr> 71 <tr> 72 <th><a href="demo/memorySoundArchive.html" target="_self">memorySoundArchive</a></th> 73 <td>Demonstrates how to use the MemorySoundArchive class.</td> 74 </tr> 75 <tr> 76 <th><a href="demo/originalSoundHeap.html" target="_self">originalSoundHeap</a></th> 77 <td>Demonstrates how to use a user-implemented sound heap.</td> 78 </tr> 79 <tr> 80 <th><a href="demo/playerHeap.html" target="_self">playerHeap</a></th> 81 <td>Demonstrates how to use a player heap for memory management.</td> 82 </tr> 83 <tr> 84 <th><a href="demo/simple.html" target="_self">simple</a></th> 85 <td>Demonstrates the basics for starting and stopping sound playback.</td> 86 </tr> 87 <tr> 88 <th><a href="demo/sound3d.html" target="_self">sound3d</a></th> 89 <td>Demonstrates how to use 3D sounds.</td> 90 </tr> 91 <tr> 92 <th><a href="demo/soundActor.html" target="_self">soundActor</a></th> 93 <td>Demonstrates how to use a sound actor.</td> 94 </tr> 95 <tr> 96 <th><a href="demo/withSdk.html" target="_self">withSdk</a></th> 97 <td>Demonstrates the joint use of nw::snd and nn::snd.</td> 98 </tr> 99 100 </tbody> 101 </table> 102 </div> 103 104 <h2>Revision History</h2> 105 <div class="section"> 106 <dl class="history"> 107 <dt>2010/11/15</dt> 108 <dd>Added the <CODE>hioSoundArchive</CODE> demo.<br /> 109 </dd> 110 <dt>2010/10/21</dt> 111 <dd>Revised the effect demo<br /> 112 </dd> 113 <dt>2010/10/15</dt> 114 <dd>Added the filter demo<br /> 115 </dd> 116 <dt>2010/09/27</dt> 117 <dd>Initial version.<br /> 118 </dd> 119 </dl> 120 </div> 121 122 <hr><p>CONFIDENTIAL</p></body> 123</html> 124 125