Describes the flanger attributes.
typedef struct
{
long lDryMix;
long lWetMix;
long lDelay;
long lFeedback;
long lRate;
long lSweep;
long lStereo;
BOOL bEnabled;
long lDDryMix;
long lDWetMix;
long lDDelay;
long lDFeedback;
long lDRate;
long lDSweep;
long lDStereo;
BOOL bDEnabled;
} FLANGER_ATTRIBUTES;
Controls the level of unprocessed signals. Adjust to control the pass-through volume of the unprocessed signal.
Controls the level of processed signals. Adjust to control the pass-through volume of the processed signal.
Controls the level of flange effect. Larger values result in greater delay times.
Feedback of the repeated signal, by default from -100 to 100. Zero feedback will result in only a single repeat, while nonzero feedback settings will generate numerous repeats.
This parameter refers to the rate at which the LFO waveform repeats itself. By increasing the speed, the flanger will have to sweep through the depth in less time.
The sweep depth determines how wide the sweep is in terms of delay time - essentially the width of the LFO. This sweep depth is the maximum additional delay that is added to the signal in addition to the delay in the delay parameter.
Stereo represents the phase difference between the left and right channel.
Indicates whether the Flange effect is enabled (TRUE) or not (FALSE).
Default Dry Mix value. Original default value is 70.
Default Wet Mix value. Original default value is 50.
Default delay value. Original default value is 500.
Default feedback value. Original default value is 25.
Default rate value. Original default value is 5.
Default sweep value. Original default value is 10.
Default stereo value. Original default value is 90.
Default for bEnabled value. Original default value is TRUE.
Gets the number of channels per sample of the current connected media format.
Valid pointer to an integer variable to be updated with the number of channels.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Sets the properties for the flange effect.
FLANGER_ATTRIBUTES structure that contains the attributes to set.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Retrieves the current flange attributes.
Valid pointer to a FLANGER_ATTRIBUTES structure to be updated with the current flange attributes.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |