ILMAFlanger

Data Types

FLANGER_ATTRIBUTES

Summary

Describes the flanger attributes.

Syntax

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; 

Members

lDryMix

Controls the level of unprocessed signals. Adjust to control the pass-through volume of the unprocessed signal.

lWetMix

Controls the level of processed signals. Adjust to control the pass-through volume of the processed signal.

lDelay

Controls the level of flange effect. Larger values result in greater delay times.

lFeedback

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.

lRate

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.

lSweep

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.

lStereo

Stereo represents the phase difference between the left and right channel.

bEnabled

Indicates whether the Flange effect is enabled (TRUE) or not (FALSE).

lDDryMix

Default Dry Mix value. Original default value is 70.

lDWetMix

Default Wet Mix value. Original default value is 50.

lDDelay

Default delay value. Original default value is 500.

lDFeedback

Default feedback value. Original default value is 25.

lDRate

Default rate value. Original default value is 5.

lDSweep

Default sweep value. Original default value is 10.

lDStereo

Default stereo value. Original default value is 90.

bDEnabled

Default for bEnabled value. Original default value is TRUE.

Methods

HRESULT GetNumChannels (int *nChannels)

Description

Gets the number of channels per sample of the current connected media format.

Parameters

pnChannels

Valid pointer to an integer variable to be updated with the number of channels.

Returns

Return Description
S_OK Successful.
S_FALSE Otherwise.

HRESULT SetFlangerAttributes(FLANGER_ATTRIBUTES FlangerAttributes)

Description

Sets the properties for the flange effect.

Parameters

FlangerAttributes

FLANGER_ATTRIBUTES structure that contains the attributes to set.

Returns

Return Description
S_OK Successful.
S_FALSE Otherwise.

HRESULT GetFlangerAttributes(FLANGER_ATTRIBUTES* pFlangerAttributes)

Description

Retrieves the current flange attributes.

Parameters

pFlangerAttributes

Valid pointer to a FLANGER_ATTRIBUTES structure to be updated with the current flange attributes.

Returns

Return Description
S_OK Successful.
S_FALSE Otherwise.
Help Version 23.0.2024.9.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Filters C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.