nn::snd::CTR::DspFxDelay::Param StructureA structure for delay parameters.
m_DelayTime expresses the delay time. This is measured in milliseconds. Increasing the value of m_DelayTime increases the time by which echoes are delayed. In addition, as this value increases so does the required memory size obtained by the nn::snd::CTR::DspFxDelay::GetRequiredMemorySize function. The initial value is 250.
m_FeedbackGain expresses the feedback gain for the delay sound. It needs to be set in the 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. The initial value is 0.4f.
The value of m_Damping affects the behavior of low-pass filters. It needs to be set in the 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. The initial value is 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. When this is true, on the other hand, the processing load increases as does the required memory size obtained by the nn::snd::CTR::DspFxDelay::GetRequiredMemorySize function.
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.
Call the nn::snd::CTR::DspFxDelay::SetParam function to change parameters while an effect is running.
m_DelayTime
|
u32 | The delay time (in milliseconds). The initial value is 250. |
|
|---|---|---|---|
m_FeedbackGain
|
f32 | Feedback gain. Specify a value between 0.0f and 1.0f. The initial value is 0.4f. |
|
m_Damping
|
f32 | The behavior of low-pass filters. Specify a value between 0.0f and 1.0f. The initial value is 0.5f. |
|
m_IsEnableSurround
|
bool | A flag that determines whether to enable delays for surround channels as well. |
Param
|
Constructor. |
|---|
CONFIDENTIAL