def_effects.h

 DSFXChorus SetChorusToDefault(DSFXChorus dsChorus)
{
dsChorus.fWetDryMix=50;
dsChorus.fDepth=10;
dsChorus.fFeedback=25;
dsChorus.fFrequency=1.1;
dsChorus.fDelay=16;
dsChorus.lWaveform=DSFXCHORUS_WAVE_SIN;
dsChorus.lPhase=DSFXCHORUS_PHASE_90;

return dsChorus;
}

DSFXCompressor SetCompressorToDefault(DSFXCompressor dsCompressor)
{
dsCompressor.fGain=0;
dsCompressor.fAttack=10;
dsCompressor.fRelease=200;
dsCompressor.fThreshold=-20;
dsCompressor.fRatio=3;
dsCompressor.fPredelay=4;

return dsCompressor;
}

DSFXDistortion SetDistortionToDefault(DSFXDistortion dsDistortion)
{
dsDistortion.fGain=-18;
dsDistortion.fEdge=16;
dsDistortion.fPostEQCenterFrequency=2400;
dsDistortion.fPostEQBandwidth=2400;
dsDistortion.fPreLowpassCutoff=7350;

return dsDistortion;
}

DSFXEcho SetEchoToDefault(DSFXEcho dsEcho)
{
dsEcho.fWetDryMix=50;
dsEcho.fFeedback=50;
dsEcho.fLeftDelay=500;
dsEcho.fRightDelay=500;
dsEcho.lPanDelay=0;

return dsEcho;
}

DSFXFlanger SetFlangerToDefault(DSFXFlanger dsFlanger)
{
dsFlanger.fWetDryMix=50;
dsFlanger.fDepth=100;
dsFlanger.fFeedback=-50;
dsFlanger.fFrequency=0.25;
dsFlanger.fDelay=2;
dsFlanger.lWaveform=DSFXFLANGER_WAVE_SIN;
dsFlanger.lPhase=DSFXFLANGER_PHASE_ZERO;

return dsFlanger;
}

DSFXGargle SetGargleToDefault(DSFXGargle dsGargle)
{
dsGargle.dwRateHz=18;
dsGargle.dwWaveShape=DSFXGARGLE_WAVE_TRIANGLE;

return dsGargle;
}

DSFXParamEq SetParamEqToDefault(DSFXParamEq dsParamEq)
{
dsParamEq.fCenter=7350;
dsParamEq.fBandwidth=12;
dsParamEq.fGain=0;

return dsParamEq;
}

DSFXWavesReverb SetReverbToDefault(DSFXWavesReverb dsReverb)
{
dsReverb.fInGain=0;
dsReverb.fReverbMix=0;
dsReverb.fReverbTime=1000;
dsReverb.fHighFreqRTRatio=0;

return dsReverb;
}

Project Homepage: