nn::snd::CTR::FxDelay::Param Structurestruct Param
{
u32 m_DelayTime;
f32 m_FeedbackGain;
f32 m_Damping;
bool m_IsEnableSurround;
};
A structure for delay parameters.
m_DelayTime expresses the delay time. In units of milliseconds. Increasing the value of m_DelayTime increases the time by which echoes are delayed. In addition, when you increase the size of m_DelayTime, you need to increase the size of memory that can be obtained by the GetRequiredMemSize function. The initial value is 250.
m_FeedbackGain 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 m_FeedbackGain 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.
The value of m_Damping 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 0.0f, a low-pass filter is not applied. This value is initially 0.5f.
When m_IsEnableSurround is true, the surround components (rear left and right) are also delayed. When false, delay processing is skipped for the surround components and that processing load is decreased. On the other hand, when true, the processing load increases, and the amount of needed memory to be obtained from the GetRequiredMemSize function increases.
When you change m_DelayTime while an effect is executing, there is the possibility that noise will occur.
In addition, if you continually change m_FeedbackGain and m_Damping even while an effect is executing, noise will not occur.
To change a parameter while an effect is executing, call the SetParam function.
m_DelayTime
|
The delay time (in milliseconds). The initial value is 250. | |
|---|---|---|
m_FeedbackGain
|
Feedback gain. Specify a value between 0.0f and 1.0f. This value is initially 0.4f. | |
m_Damping
|
The behavior of low-pass filters. Specify a value between 0.0f and 1.0f. This value is initially 0.5f. | |
m_IsEnableSurround
|
A flag that determines whether to enable delays for surround channels as well. The initial value is false. |
Param
|
Constructor. |
|---|
CONFIDENTIAL