Karaoke Mixer ActiveX Control

SetWaveWndDivisor

 

Set the divisor of  WaveForm window. This value will affect the shape of WaveForm.

Public Function SetWaveWndDivisor(
     ByVal iIndex As Integer
    )

 

Parameter
iIndex
 The index of divisor. The index value must 0-12.

No Return Value

Example

   

Visual Basic Syntax
KaraokeMixer1 .ShowWaveForm=True
KaraokeMixer1 .SetWaveWndCaption "My WaveForm Window"
KaraokeMixer1 .SetWaveWndOwner me.hWnd
KaraokeMixer1 .SetWaveWndPopup false
KaraokeMixer1 .SetWaveWndStyle 1
KaraokeMixer1 .SetWaveWndPos 418, 0, 400,300
KaraokeMixer1 .SetWaveWndColor 0, RGB(255,0,0)
KaraokeMixer1 .SetWaveWndColor 1, RGB(0,255,0)
KaraokeMixer1 .SetWaveWndDivisor 12
KaraokeMixer1 .WMVProfile=0
KaraokeMixer1 .OutputType =1
KaraokeMixer1 .AudioFileName = "c:\test.wma"
KaraokeMixer1 .Start