Movie Player ActiveX Control

SetGargleParam

 

Set the parameter of Gargle 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.

Public Function SetGargleParam(
  ByVal dwRateHz As short, _
  ByVal dwWaveShape As short 
    )

 

Parameter
dwRateHz
Rate of modulation, in Hertz. Must be in the range from 1 through 1000. The default value is 20.

dwWaveShape
Shape of the modulation waveform. 0-Triangular, 1-Square.

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.SetGargleParam Text15, Text16