Movie Player ActiveX Control

SetEqualizer

 

Set specific bands Equalizer to bring great sound effects. It Support 10 bands Equalizer .
 

Public Function SetEquallizer( _
  ByVal iBandIndex As Integer ,_
  ByVal fGain As Float
  ) as Bool

 

Parameter
iBandIndex
Specifies the band number. The first band is zero index. The last band is 9.


The frequency of band 1 is 31 hertz.
The frequency of band 2 is 62 hertz.
The frequency of band 3 is 125 hertz.
The frequency of band 4 is 250 hertz.
The frequency of band 5 is 500 hertz.
The frequency of band 6 is 1000 hertz.
The frequency of band 7 is 2000 hertz.
The frequency of band 8 is 4000 hertz.
The frequency of band 10 is 16000 hertz.

fGain
Specifies the Gain.The rangle from -15 to 15. Default is 0.

Return Value
True - Success, False- Failed

Example

   

Visual Basic Syntax
MoviePlayer1.Play
MoviePlayer1.SetEquzlizer 0, TrackBarEquBand1.Value -15
MoviePlayer1.SetEquzlizer 1, TrackBarEquBand2.Value -15
MoviePlayer1.SetEquzlizer 2, TrackBarEquBand3.Value -15
MoviePlayer1.SetEquzlizer 3, TrackBarEquBand4.Value -15
MoviePlayer1.SetEquzlizer 4, TrackBarEquBand5.Value -15
MoviePlayer1.SetEquzlizer 5, TrackBarEquBand6.Value -15
MoviePlayer1.SetEquzlizer 6, TrackBarEquBand7.Value -15
MoviePlayer1.SetEquzlizer 7, TrackBarEquBand8.Value -15
MoviePlayer1.SetEquzlizer 8, TrackBarEquBand9.Value -15
MoviePlayer1.SetEquzlizer 9, TrackBarEquBand10.Value -15