struct Param
{
u32 m_EarlyReflectionTime;
u32 m_FusedTime;
u32 m_PreDelayTime;
f32 m_Coloration;
f32 m_Damping;
FilterSize * m_pFilterSize;
f32 m_EarlyGain;
f32 m_FusedGain;
};
The structure for reverb parameters.
Reverb can be broadly thought of in terms of an initial reflection and a back-end reverberation.
The initial reflection can be adjusted with m_EarlyReflectionTime and m_EarlyGain.
m_EarlyReflectionTime represents the time for the initial reflection to return. The larger its value, the longer it takes for the sound to be reflected and return. The units are in milliseconds and must be set in multiples of 5, at a value of 5 or larger. The initial value is set to 60.
m_EarlyGain represents the initial reflection's output gain. Configure a value between 0.0f and 1.0f. When you set it to 0.0f, you will no longer hear the initial reflection. The initial value is set to 0.6f.
The back-end reverberation can be adjusted with m_FusedTime, m_FusedGain, m_PreDelayTime, m_Coloration, m_Damping and m_pFilterSize.
m_FusedTime represents how long the back-end reverberation will continue to sound. The larger this value is, the easier it is to express the space as one in which echoes occur. The units are in milliseconds and the initial value is set to 4,000.
m_FusedGain represents the back-end reverberation's output gain. Configure a value between 0.0f and 1.0f. When you set it to 0.0f, you will no longer hear the back-end reverberation. The initial value is set to 0.4f.
m_PreDelayTime represents the delay time placed before the back-end reverberation. The larger this value is, the greater the delay before we hear the back-end reverberation. The units are in milliseconds and must be set in multiples of 5, at a value of 5 or larger. The initial value is 100.
m_Coloration represents the coefficient for the back-end reverberation's all-pass filter. The larger this value, the more detailed the back-end reverberation, and the more complex the reverberation will become. Configure a value between 0.0f and 1.0f. When set to 0.0f the all-pass filter will be completely open. This value is initially 0.5f.
m_Damping represents the behavior of the low-pass filter (LPF) on the back-end reverberation. Configure a value between 0.0f and 1.0f. Increasing this value decreases the cutoff frequency. If you specify a value of 0.0f, the LPF is not applied. This value is initially 0.4f.
See the description of FilterSize for more on the member variables of m_pFilterSize.
The necessary memory that you can get with the GetRequiredMemSize function is dependent on m_EarlyReflectionTime, m_PreDelayTime and m_pFilterSize.
Changing the following values while an effect is executing can cause noise. ・m_EarlyReflectionTime
・m_PreDelayTime
Continually changing the following values even while an effect is executing can cause noise. ・m_FusedTime
・m_Coloration
・m_Damping
・m_EarlyGain
・m_FusedGain
To change a parameter while an effect is executing, call the SetParam function.
| m_EarlyReflectionTime | The initial reflection time (in msec). | |
|---|---|---|
| m_FusedTime | The attenuation time (in msec) of the back-end reverberation. | |
| m_PreDelayTime | The pre-delay time (in msec) of the back-end reverberation. | |
| m_Coloration | The coefficient of the all-pass filter for the back-end reverberation. | |
m_Damping
|
The behavior of the LPF for the back-end reverberation. | |
| m_pFilterSize | The filter size. If you specify NULL, the default value of the FilterSize structure is set. |
|
| m_EarlyGain | Output gain for the initial reflection. | |
| m_FusedGain | Output gain for the back-end reverberation. |
Param
|
Constructor. |
|---|
CONFIDENTIAL