1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
6<TITLE>AXFX_CHORUS/AXFX_CHORUS_DPL2</TITLE>
7<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
8<META http-equiv="Content-Style-Type" content="text/css">
9</head>
10
11<BODY>
12
13<H1 align="left">AXFX_CHORUS/AXFX_CHORUS_DPL2</H1>
14
15<H2>Syntax</H2>
16<dl><dd><pre class="construction">
17#include &lt;revolution.h&gt;
18#include &lt;revolution/axfx.h&gt;
19
20/*----------------------------------------------*
21    For mono, stereo, surround
22 *----------------------------------------------*/
23
24typedef struct AXFX_CHORUS
25{
26    // do not touch these!
27    AXFX_CHORUS_EXP  chorusInner;
28
29    // user parameters
30    u32        baseDelay;      // Base delay of chorus effect in ms
31    u32        variation;      // Variation of base delay in ms
32    u32        period;         // Period of variational oscillation in ms
33
34} AXFX_CHORUS;
35
36/*----------------------------------------------*
37    For Dolby Pro Logic II
38 *----------------------------------------------*/
39
40typedef struct AXFX_CHORUS_DPL2
41{
42    // do not touch these!
43    AXFX_CHORUS_EXP_DPL2  chorusInner;
44
45    // user parameters
46    u32        baseDelay;      // Base delay of chorus effect in ms
47    u32        variation;      // Variation of base delay in ms
48    u32        period;         // Period of variational oscillation in ms
49
50} AXFX_CHORUS_DPL2;
51</pre></dd></dl>
52
53<h2>Elements</h2>
54<TABLE class="arguments" border="1" >
55  <tr>
56<TH><STRONG><CODE><EM>baseDelay</EM></CODE></STRONG></TH>
57<TD>Length of delay line (=standard delay time of input audio). Specify a value as 1 &lt;= <EM>value</EM> &lt;= 50 (in msec).</TD>
58  </tr>
59  <tr>
60<TH><STRONG><CODE><EM>variation</EM></CODE></STRONG></TH>
61<TD>Range over which the output position from the delay line (=delay time) is varied in time by the LFO. Specify a value as 0 &lt;= <EM>value</EM> &lt;= <CODE><STRONG><EM>baseDelay</EM></STRONG></CODE> (in msec). The output position varies in time along the range of (<CODE><STRONG><EM>baseDelay</EM></STRONG></CODE> - <CODE><STRONG><EM>variation</EM></STRONG></CODE>) to (<CODE><STRONG><EM>baseDelay</EM></STRONG></CODE> + <CODE><STRONG><EM>variation</EM></STRONG></CODE>).</TD>
62  </tr>
63  <tr>
64<TH><STRONG><EM><CODE>period</CODE></EM></STRONG></TH>
65<TD>Fluctuation period of LFO. Specify a value as 500 &lt;= <EM>value</EM> &lt;= 10000 (in msec).</TD>
66  </tr>
67</TABLE>
68
69<H2>Description</H2>
70<P>When using Chorus, you must assign appropriate values to the various parameters of the <code>AXFX_CHORUS</CODE> or <CODE>AXFX_CHORUS_DPL2</code> structure. Normally, the <code>AXFX_CHORUS</code> structure is used, while the <code>AXFX_CHORUS_DPL2</code> structure is used with Dolby Pro Logic II.</P>
71
72<H2>See Also</H2>
73<P class="reference">
74</P>
75
76<H2>Revision History</H2>
77<P>
782007/08/06 Initial version.<br>
79</P>
80
81<hr><p>CONFIDENTIAL</p></body>
82</HTML>
83