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>nn::snd::CTR::FxDelay::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 units of 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>The delay time (in milliseconds). The initial value is 250.</td>
76          </tr>
77          <tr>
78            <td width="100"> </td>
79            <th>
80<span class="argument"><CODE>m_FeedbackGain</CODE></span>
81            </th>
82<td>Feedback gain. Specify a value between 0.0f and 1.0f. This value is initially 0.4f.</td>
83          </tr>
84          <tr>
85            <td width="100"> </td>
86            <th>
87<span class="argument"><CODE>m_Damping</CODE></span>
88            </th>
89<td>The behavior of low-pass filters. Specify a value between 0.0f and 1.0f. This value is initially 0.5f.</td>
90          </tr>
91          <tr>
92            <td width="100"> </td>
93            <th>
94<span class="argument"><CODE>m_IsEnableSurround</CODE></span>
95            </th>
96<td>A flag that determines whether to enable delays for surround channels as well. The initial value is <CODE>false</CODE>.</td>
97          </tr> </table>
98      </div>
99    </a> <a name="function" id="function">
100<h2>Member Functions</h2>
101      <div class="section">
102        <table class="members">
103          <tr>
104            <td width="100">  </td>
105            <th>
106<a href="../../../../../nn/snd/CTR/FxDelay/Param/Param.html"><CODE>Param</CODE></a>
107            </th>
108<td>Constructor.</td>
109          </tr> </table>
110      </div>
111    </a>
112<h2>Revision History</h2>
113    <div class="section">
114      <dl class="history">
115        <dt>2010/11/10</dt>
116<dd>Initial version.<br />
117        </dd>
118      </dl>
119    </div>
120  <hr><p>CONFIDENTIAL</p></body>
121</html>
122