Previous Topic Index Next Topic
[API function]

FSOUND_FX_SetFlanger

Sets the parameters for the flanger effect on a particular channel

signed char F_API FSOUND_FX_SetFlanger(
int fxid,
float WetDryMix,
float Depth,
float Feedback,
float Frequency,
int Waveform,
float Delay,
int Phase
);

Parameters

fxid fx handle generated by FSOUND_FX_Enable, to set flanger parameters for.
WetDryMix Ratio of wet (processed) signal to dry (unprocessed) signal. Must be in the range from 0 through 100 (all wet).
Depth Percentage by which the delay time is modulated by the low-frequency oscillator (LFO), in hundredths of a percentage point. Must be in the range from 0 through 100. The default value is 25.
Feedback Percentage of output signal to feed back into the effects input, in the range from -99 to 99. The default value is 0.
Frequency Frequency of the LFO, in the range from 0 to 10. The default value is 0.
Waveform Waveform of the LFO. By default, the waveform is a sine. Possible values are defined as follows:
0 - Triangle.
1 - Sine.
Delay Number of milliseconds the input is delayed before it is played back, in the range from 0 to 4. The default value is 0 ms.
Phase Phase differential between left and right LFOs, in the range from 0 through 4. Possible values are defined as follows:
0 -180 degrees
1 - 90 degrees
2 0 degrees
3 90 degrees
4 180 degrees

Return Value

On success, TRUE is returned.
On failure, FALSE is returned.

Remarks

Make sure you have enabled this effect with FSOUND_FX_Enable and FSOUND_FX_FLANGER before using this function.
___________________
Supported on the following platforms : Win32

See Also

FSOUND_FX_Disable , FSOUND_FX_Enable , FSOUND_FX_MODES , FSOUND_FX_SetChorus , FSOUND_FX_SetCompressor , FSOUND_FX_SetDistortion , FSOUND_FX_SetEcho , FSOUND_FX_SetGargle , FSOUND_FX_SetI3DL2Reverb , FSOUND_FX_SetParamEQ , FSOUND_FX_SetWavesReverb

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Dec 15 17:31:29 2005 by SourceDoc v0.10, the automated source code documenter.