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>C Specification</H2>
16<BLOCKQUOTE>
17<PRE><CODE>
18#include &lt;revolution.h&gt;
19#include &lt;revolution/axfx.h&gt;
20
21/*----------------------------------------------*
22  For mono, stereo, surround
23 *----------------------------------------------*/
24
25typedef struct AXFX_CHORUS
26{
27    // do not touch these!
28    AXFX_CHORUS_EXP  chorusInner;
29
30    // user parameters
31    u32        baseDelay;      // Base delay of chorus effect in ms
32    u32        variation;      // Variation of base delay in ms
33    u32        period;         // Period of variational oscillation in ms
34
35} AXFX_CHORUS;
36
37/*----------------------------------------------*
38  For Dolby Pro Logic II
39 *----------------------------------------------*/
40
41typedef struct AXFX_CHORUS_DPL2
42{
43    // do not touch these!
44    AXFX_CHORUS_EXP_DPL2  chorusInner;
45
46    // user parameters
47    u32        baseDelay;      // Base delay of chorus effect in ms
48    u32        variation;      // Variation of base delay in ms
49    u32        period;         // Period of variational oscillation in ms
50
51} AXFX_CHORUS_DPL2;
52</CODE></PRE>
53</BLOCKQUOTE>
54
55<H2>Description</H2>
56<P>When using Chorus, you must assign appropriate values to the following parameters of the <code>AXFX_CHORUS</CODE> or <CODE>AXFX_CHORUS_DPL2</code> structure. Normally, the <code>AXFX_CHORUS</code> structure is used; the <code>AXFX_CHORUS_DPL2</code> structure is used with Dolby Pro Logic II.</P>
57
58<table border="1" >
59  <tbody>
60	<tr>
61	  <td width="120" align="center" bgcolor="#ffffe8"><STRONG><CODE><EM>baseDelay</EM></CODE></STRONG></td>
62<td width="480">Length of delay line (=standard delay time of input audio). Specify a value as 1 &lt;= <EM>value</EM> &lt;= 50 (in msec).</td>
63	</tr>
64	<tr>
65	  <td width="120" align="center" bgcolor="#ffffe8"><STRONG><CODE><EM>variation</EM></CODE></STRONG></td>
66<td width="480">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>
67	</tr>
68	<tr>
69	  <td width="120" align="center" bgcolor="#ffffe8"><STRONG><EM><CODE>period</CODE></EM></STRONG></td>
70<td width="480">Fluctuation period of LFO. Specify a value as 500 &lt;= <EM>value</EM> &lt;= 10000 (in msec).</td>
71	</tr>
72  </tbody>
73</table>
74
75<H2>Revision History</H2>
76<P>
772007/08/06 Initial version.<br>
78</P>
79
80<hr><p>CONFIDENTIAL</p></body>
81</HTML>
82