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_REVERBHI/AXFX_REVERBHI_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_REVERBHI/AXFX_REVERBHI_DPL2</H1> 14 15<H2>Syntax</H2> 16<dl><dd><pre class="construction"> 17#include <revolution.h> 18#include <revolution/axfx.h> 19 20/*----------------------------------------------* 21 For mono, stereo, surround 22 *----------------------------------------------*/ 23 24typedef struct AXFX_REVERBHI 25{ 26 // do not write to these 27 AXFX_REVERBHI_EXP reverbInner; 28 29 // user parameters 30 f32 coloration; 31 f32 mix; 32 f32 time; 33 f32 damping; 34 f32 preDelay; 35 f32 crosstalk; 36 37} AXFX_REVERBHI; 38 39/*----------------------------------------------* 40 For Dolby Pro Logic II 41 *----------------------------------------------*/ 42 43typedef struct AXFX_REVERBHI_DPL2 44{ 45 // do not write to these 46 AXFX_REVERBHI_EXP_DPL2 reverbInner; 47 48 // user parameters 49 f32 coloration; 50 f32 mix; 51 f32 time; 52 f32 damping; 53 f32 preDelay; 54 f32 crosstalk; 55 56} AXFX_REVERBHI_DPL2; 57</pre></dd></dl> 58 59<h2>Elements</h2> 60<TABLE class="arguments" border="1" > 61 <TR> 62<TH><CODE><STRONG><EM>coloration</EM></STRONG></CODE></TH> 63<tD>Tunes the coefficients of the all-pass filter. Specify a value as 0.0 <= <EM>value</EM> <= 1.0. This number is used to simulate the acoustic properties of sound-reflective walls. In general, the smaller this value becomes, the coarser the reverberation density. In the opposite way, as this value increases the reverberation becomes more dense, but waveform interference may cause the high frequencies to stand out.</TD> 64 </TR> 65 <TR> 66<TH><CODE><STRONG><EM>mix</EM></STRONG></CODE></TH> 67<TD>Output gain for reverb. Specify a value as 0.0 <= <EM>value</EM> <= 1.0.</TD> 68 </TR> 69 <TR> 70<TH><CODE><STRONG><EM>time</EM></STRONG></CODE></TH> 71<TD>Time until reverb attenuates. Specify a value of 0.0 or greater (units of sec). Specifying 0.01 seconds for <CODE><STRONG><EM>time</EM></STRONG></CODE> can achieve simulation of an extremely small room. If <CODE><STRONG><EM>time</EM></STRONG></CODE> is set as 10.0 seconds, the simulation is that of a cathedral or stadium.</TD> 72 </TR> 73 <TR> 74<TH><CODE><STRONG><EM>damping</EM></STRONG></CODE></TH> 75<TD>Tunes the filter coefficient of the low-pass filter (LPF). Specify a value as 0.0 <= <EM>value</EM> <= 1.0. As this value approaches 0.0, the signal's low-frequency portion becomes its main content and reverb begins to stand out. In the opposite way, as this value approaches 1.0, the high-frequency portion of the signal is passed with less attenuation, and reverb becomes less noticeable.</TD> 76 </TR> 77 <TR> 78<TH><CODE><STRONG><EM>preDelay</EM></STRONG></CODE></TH> 79<TD>Time until reverb begins. Specify a value of 0.0 or greater (units of sec). When simulating a large room, specify a large value for <CODE><STRONG><EM>preDelay</EM></STRONG></CODE>. This increases the distance between the sound source and the sound-reflecting walls.</TD> 80 </TR> 81 <TR> 82<TH><CODE><STRONG><EM>crosstalk</EM></STRONG></CODE></TH> 83<TD>Sets the amount of interaction between channels. Specify a value as 0.0 <= <EM>value</EM> <= 1.0. If <CODE><STRONG><EM>crosstalk</EM></STRONG></CODE> is set to 0.0, the reverberation does not seep into other channels at all, and any interaction among the channels is eliminated. Specifying a value larger than 0.0 will cause the reverberation to affect other channels.</TD> 84 </TR> 85</TABLE> 86 87<H2>Description</H2> 88<P>When using High-Quality Reverb, you must assign appropriate values to the various parameters of the <code>AXFX_REVERBHI</CODE> or <CODE>AXFX_REVERBHI_DPL2</code> structure. The <code>AXFX_REVERBHI</code> structure is used normally, while the <code>AXFX_REVERBHI_DPL2</code> structure is used with Dolby Pro Logic II.</P> 89 90<H2>See Also</H2> 91<P class="reference"> 92</P> 93 94<H2>Revision History</H2> 95<P> 962007/08/08 Initial version.<br> 97</P> 98 99<hr><p>CONFIDENTIAL</p></body> 100</HTML> 101