Karaoke Mixer ActiveX Control

SetWaveWndOffset

 

Set the offset of left or right channel of WaveForm.

Public Function SetWaveWndOffset(
     ByVal iChannel As Integer, _
     ByVal iOffsetValue As Integer
    )

 

Parameter
iChannel
 0 - Left Channel, 1 - Right Channel.

iOffsetValue
 0 - Middle position. if the iOffsetValue  > 0, the direction is down, If the iOffsetVale < 0 , the direction is up.


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 .SetWaveWndOffSet 0 ,-50
KaraokeMixer1 .SetWaveWndDivisor 12
KaraokeMixer1 .WMVProfile=0
KaraokeMixer1 .OutputType =1
KaraokeMixer1 .AudioFileName = "c:\test.wma"
KaraokeMixer1 .Start