Platform :

Popular Solution Go   Back

VB.NET - How to change audio pitch when video playback for VB.Net Sample

Step 1: Download Movie Player Pro ActiveX setup disk and installed it.

Step 2: Create New Visual Basic Project, select Windows Application.

First, select the video and playback it.

Private Sub Command1_Click()

MoviePlayer1.FileName = "c:\movie\yourvideo.mpg"

MoviePlayer1.Play

End Sub

Now you can call ChangePitch method to change the audio pitch. the range of pitch value is -20 to 20.  For example, I want to change the audio pitch to child voices. Pass 20 with ChangePitch method.

Private Sub Command2_Click()
    MoviePlayer1.ChangePitch 20
End Sub