Microsoft DirectX 8.1 (Visual Basic)

DSFXCHORUS

The DSFXCHORUS type contains parameters for a chorus effect.

Syntax

Type DSFXCHORUS
  fDelay As Single
  fDepth As Single
  fFeedback As Single
  fFrequency As Single
  fWetDryMix As Single
  lPhase As CONST_DSFX_PHASE
  lWaveform As CONST_DSFX_WAVE
End Type

Members

fDelay

Amount of time, in milliseconds, that the input is delayed before it is played back. The default value is 16. Maximum and minimum values are defined in the CONST_DSFX_DELAY enumeration.

fDepth

Percentage by which the delay time is modulated by the low-frequency oscillator, in percentage points. The default value is 10. Maximum and minimum values are defined in the CONST_DSFX_DEPTH enumeration.

fFeedback

Percentage of output signal to feed back into the effect's input. The default value is 25. Maximum and minimum values are defined in the CONST_DSFX_FEEDBACK enumeration.

fFrequency

Frequency of the LFO. The default value is 1.1. Maximum and minimum values are defined in the CONST_DSFX_FREQUENCY enumeration.

fWetDryMix

Ratio of wet (processed) signal to dry (unprocessed) signal. Minimum and maximum values are defined in the CONST_DSFX_WETDRY enumeration. The default value is 50.

lPhase

Phase differential between left and right LFOs. Allowable values are defined in the CONST_DSFX_PHASE enumeration. The default value is DSFX_PHASE_90.

lWaveform

Waveform of the LFO. By default, the waveform is a sine. Allowable values are defined in the CONST_DSFX_WAVE enumeration.

Remarks

Where the type of a member is an enumeration that defines minimum and maximum values, other Long values within this defined range are allowed. The enumeration is a convenience so that minimum and maximum values are easily accessible when writing code.

See Also