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 (snd) Sample Demo</title> 8 </head> 9 <body> 10 <h1>Sound (snd) Sample Demo</h1> 11 12 <h2>Location</h2> 13 <p> 14 <code>$NW4C_ROOT/demos/snd</code> 15 </p> 16 17 <h2>Compilation</h2> 18 <p> 19 Change directories to $NW4C_ROOT/demos/snd, and execute 20 <pre><CODE>% omake</CODE></pre> 21 The executable (.cci) file is generated in: 22 <pre>$NW4C_ROOT/demos/snd/(sample demo name)/images/(platform)/(target)/</pre> 23 For example: 24 <pre>$NW4C_ROOT/demos/snd/SimpleDemo/images/CTR-TS.Process.MPCore.fast/Release/</pre> 25 26 </p> 27 28 <h2>Execution</h2> 29 <p> 30 After the sample demo is compiled, load the generated executable file (.cci file) using PARTNER-CTR debugger software and execute. 31 </p> 32 33 <h2>Description</h2> 34 <table class="demos"> 35 <tbody> 36 <tr> 37 <th><a href="demo/createSoundThreadManually.html" target="_self">createSoundThreadManually</a></th> 38 <td>Demonstrates how to create sound threads in user applications.</td> 39 </tr> 40 <tr> 41 <th><a href="demo/effect.html" target="_self">effect</a></th> 42 <td>This is an effect demo.</td> 43 </tr> 44 <tr> 45 <th><a href="demo/externalFile.html" target="_self">externalFile</a></th> 46 <td>Demonstrates how to play sounds in a file not included in a sound archive.</td> 47 </tr> 48 <tr> 49 <th><a href="demo/filter.html" target="_self">filter</a></th> 50 <td>Demonstrates how to play sounds using LPF or Biquad filters.</td> 51 </tr> 52 <tr> 53 <th><a href="demo/holdSound.html" target="_self">holdSound</a></th> 54 <td>Demonstrates how to use the HoldSound function.</td> 55 </tr> 56 <tr> 57 <th><a href="demo/labelString.html" target="_self">labelString</a></th> 58 <td>Demonstrates how to use label strings instead of sound IDs.</td> 59 </tr> 60 <tr> 61 <th><a href="demo/memorySoundArchive.html" target="_self">memorySoundArchive</a></th> 62 <td>Demonstrates how to use the MemorySoundArchive class.</td> 63 </tr> 64 <tr> 65 <th><a href="demo/originalSoundHeap.html" target="_self">originalSoundHeap</a></th> 66 <td>Demonstrates how to use a user-implemented sound heap.</td> 67 </tr> 68 <tr> 69 <th><a href="demo/playerHeap.html" target="_self">playerHeap</a></th> 70 <td>Demonstrates how to use a player heap for memory management.</td> 71 </tr> 72 <tr> 73 <th><a href="demo/simple.html" target="_self">simple</a></th> 74 <td>Demonstrates the basics for starting and stopping sound playback.</td> 75 </tr> 76 <tr> 77 <th><a href="demo/sound3d.html" target="_self">sound3d</a></th> 78 <td>Demonstrates how to use 3D sounds.</td> 79 </tr> 80 <tr> 81 <th><a href="demo/soundActor.html" target="_self">soundActor</a></th> 82 <td>Demonstrates how to use a sound actor.</td> 83 </tr> 84 <tr> 85 <th><a href="demo/withSdk.html" target="_self">withSdk</a></th> 86 <td>Demonstrates the joint use of nw::snd and nn::snd.</td> 87 </tr> 88 89 </tbody> 90 </table> 91 92 <h2>Revision History</h2> 93 <div class="section"> 94 <dl class="history"> 95 <dt>2010/10/21</dt> 96 <dd>Revised the effect demo<br /> 97 </dd> 98 <dt>2010/10/15</dt> 99 <dd>Added the filter demo<br /> 100 </dd> 101 <dt>2010/09/27</dt> 102 <dd>Initial version.<br /> 103 </dd> 104 </dl> 105 </div> 106 107 <hr><p>CONFIDENTIAL</p></body> 108</html> 109 110