Karaoke Mixer ActiveX Control

PBSetSoundVolume

 

Adjust the volume when playback.

Public Function PBSetSoundVolume(
     ByVal nNewValue As long
    )

 

Parameter
nNewValue
 the value of volume, as a number from –10,000 to 0, inclusive. Full volume is 0, and –10,000 is silence.

No Return Value

Example

   

Visual Basic Syntax
KaraokeMixer1 .ShowPlaybackWaveForm =true
KaraokeMixer1 .PBLoadAudioFile "c:\music.mp3"
KaraokeMixer1 .PBPlay
KaraokeMixer1 .PBSetSoundVolume 0