ILMAPhaser Interface

Data types:

PHASER_ATTRIBUTES:

typedef struct
{
   long lDryMix;
   long lWetMix;
   long lDelay;
   long lFeedback;
   long lStereo;
   long lDepth;
   long lRate;
   BOOL bEnabled;
   long lDDryMix;
   long lDWetMix;
   long lDDelay;
   long lDFeedback;
   long lDStereo;
   long lDDepth;
   long lDRate;
   BOOL bDEnabled;
} PHASER_ATTRIBUTES;

Describes phaser attributes.

 

Member

Description

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 Phasing 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.

lStereo

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

lDepth

The depth parameter controls the amount of the filter output that is added to the sound

lRate

This parameter controls how quickly the notches sweep up and down over the frequency range.

bEnabled

Indicates weather Phase 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 100.

lDFeedback

Default feedback value

Original default value is 25.

lDStereo

Default stereo value

Original default value is 90.

lDDepth

Default Depth value

Original default value is 50.

lDRate

Default Rate value

Original default value is 100.

bDEnabled

Default for bEnabled value

Original default value is TRUE.

 

Interface Methods:

HRESULT GetNumChannels (int * pnChannels)

Parameters

pnChannels

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

Description

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

Returns

S_OK if successful, S_FALSE otherwise.

 

 

HRESULT SetPhaserAttributes(PHASER_ATTRIBUTES PhaserAttributes)

Parameters

PhaserAttributes

a PHASER_ATTRIBUTES structure that contains the effects to set.

Description

Sets the properties for the phase effect.

Return

S_OK if successful, S_FALSE otherwise.

 

 

HRESULT GetPhaserAttributes(PHASER_ATTRIBUTES* pPhaserAttributes)

Parameters

pPhaserAttributes

valid pointer to a PHASER_ATTRIBUTES structure to be updated with the current phase attributes.

Description

Retrieves the current phase attributes.

Returns

S_OK if successful, S_FALSE otherwise.