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 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48<title>nn::snd::CTR::FxDelay::Param</title> 49 </head> 50 <body> 51<h1><CODE><a href="../../../../../nn/Overview.html">nn</a>::<a href="../../../../../nn/snd/Overview.html">snd</a>::<a href="../../../../../nn/snd/CTR/Overview.html">CTR</a>::<a href="../../../../../nn/snd/CTR/FxDelay/Overview.html">FxDelay</a>::Param</CODE> Structure</h1> 52<h2>Syntax</h2> 53 <div class="section"> 54<pre class="definition">struct Param 55{ 56 u32 m_DelayTime; 57 f32 m_FeedbackGain; 58 f32 m_Damping; 59 bool m_IsEnableSurround; 60}; 61</pre> 62 </div> 63<h2>Description</h2> 64 <div class="section"> 65<p>A structure for delay parameters.</p><p><CODE>m_DelayTime</CODE> expresses the delay time in milliseconds. Increasing the value of <CODE>m_DelayTime</CODE> increases the time by which echoes are delayed. In addition, when you increase the size of <CODE>m_DelayTime</CODE>, you need to increase the size of memory that can be obtained by the <CODE><a href="../../../../../nn/snd/CTR/FxDelay/GetRequiredMemSize.html">GetRequiredMemSize</a></CODE> function. The initial value is 250.</p><p><CODE>m_FeedbackGain</CODE> expresses the feedback gain for the delay sound. It needs to be set in range from 0.0f to 1.0f. Increasing the value of <CODE>m_FeedbackGain</CODE> prevents the delay sound from vanishing. Specifying a value of 0.0f (no feedback) indicates a one-shot delay. This value is initially 0.4f.</p><p>The value of <CODE>m_Damping</CODE> affects the behavior of low-pass filters. It needs to be set in range from 0.0f to 1.0f. Increasing this value decreases the cutoff frequency. If you specify a value of <CODE>0.0f</CODE>, a low-pass filter is not applied. This value is initially 0.5f.</p><p>When <CODE>m_IsEnableSurround</CODE> is <CODE>true</CODE>, the surround components (rear left and right) are also delayed. When <CODE>false</CODE>, delay processing is skipped for the surround components and that processing load is decreased. On the other hand, when <CODE>true</CODE>, the processing load increases, and the amount of needed memory to be obtained from the <CODE><a href="../../../../../nn/snd/CTR/FxDelay/GetRequiredMemSize.html">GetRequiredMemSize</a></CODE> function increases.</p><p>When you change <CODE>m_DelayTime</CODE> while an effect is executing, there is the possibility that noise will occur.</p><p>In addition, if you continually change m_FeedbackGain and m_Damping even while an effect is executing, noise will not occur.</p><p>To change a parameter while an effect is executing, call the <CODE><a href="../../../../../nn/snd/CTR/FxDelay/SetParam.html">SetParam</a></CODE> function.</p><!-- write here --></div> 66 <a name="variable" id="variable"> 67<h2>Member Variables</h2> 68 <div class="section"> 69 <table class="members"> 70 <tr> 71 <td width="100"> </td> 72 <th> 73<span class="argument"><CODE>m_DelayTime</CODE></span> 74 </th> 75<td width="100">u32</td> 76<td>The delay time (in milliseconds). The initial value is 250.</td> 77 </tr> 78 <tr> 79 <td width="100"> </td> 80 <th> 81<span class="argument"><CODE>m_FeedbackGain</CODE></span> 82 </th> 83<td width="100">f32</td> 84<td>Feedback gain. Specify a value between 0.0f and 1.0f. This value is initially 0.4f.</td> 85 </tr> 86 <tr> 87 <td width="100"> </td> 88 <th> 89<span class="argument"><CODE>m_Damping</CODE></span> 90 </th> 91<td width="100">f32</td> 92<td>The behavior of low-pass filters. Specify a value between 0.0f and 1.0f. This value is initially 0.5f.</td> 93 </tr> 94 <tr> 95 <td width="100"> </td> 96 <th> 97<span class="argument"><CODE>m_IsEnableSurround</CODE></span> 98 </th> 99<td width="100">bool</td> 100<td>A flag that determines whether to enable delays for surround channels as well. The initial value is <CODE>false</CODE>.</td> 101 </tr> </table> 102 </div> 103 </a> <a name="function" id="function"> 104<h2>Member Functions</h2> 105 <div class="section"> 106 <table class="members"> 107 <tr> 108 <td width="100"> </td> 109 <th> 110<a href="../../../../../nn/snd/CTR/FxDelay/Param/Param.html"><CODE>Param</CODE></a> 111 </th> 112<td>Constructor.</td> 113 </tr> </table> 114 </div> 115 </a> 116<h2>Revision History</h2> 117 <div class="section"> 118 <dl class="history"> 119 <dt>2010/11/10</dt> 120<dd>Initial version.<br /> 121 </dd> 122 </dl> 123 </div> 124 <hr><p>CONFIDENTIAL</p></body> 125</html> 126