|
Set the parameter of Flanger effect. You must set UsePitchTempo property = false if you want to use Audio Effect. If you set AudioEffect property =-1, it will not use audio effect. Flanging is created by mixing a signal with a slightly delayed copy of itself, where the length of the delay is constantly changing. It is actually one specific type of phasing (Phaser).
Parameter fWetDryMix Ratio of wet (processed) signal to dry (unprocessed) signal. Must be in the range from 0 through 100 (all wet). The default value is 50.
fDepth 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 to 100. The default value is 100.
fFeedback Percentage of output signal to feed back into the effect's input, in the range from -99 to 99. The default value is -50.
fFrequency Frequency of the LFO, in the range from 0 to 10. The default value is 0.25.
lWaveform Waveform shape of the LFO. By default, the waveform is a sine. 0 is Triangle.
No Return Value
Example
|
Visual Basic Syntax iAudioEffectCount = MoviePlayer1.GetAudioEffectCount For i = 0 To iAudioEffectCount - 1 List1.AddItem MoviePlayer1.GetAudioEffectName(i) Next MoviePlayer1.UsePitchTempo = False MoviePlayer1.AudioEffect = List1.ListIndex MoviePlayer1.FileName = "c:\test1.mpg" MoviePlayer1.SetFlangerParam Text45, Text46, Text47, Text48, Text51, Text49, Text50
|
|
|