Hello,
Can anybody help me with using the timer comtrol to fade in/out music.
For example a song is playing and true a trackbar or any other control a user can set time of the fade. i have seacrhed, found nothing and don't know where to begin.
code to play song/playlist
add wmp control to your form
CODE
Dim Info(1) As String
Dim wmp As WMPLib.WindowsMediaPlayer = New WMPLib.WindowsMediaPlayerClass
Dim playlist As WMPLib.IWMPPlaylist
Dim itm As ListViewItem
Dim bestandsnaam As String
playlist = wmp.newPlaylist(bestandsnaam, Pad & bestandsnaam & "RNB MUZIEK.wpl") 'change this for your playlist
ListView1.Items.Clear()
For i As Integer = 0 To playlist.count - 1
Info(0) = playlist.Item(i).getItemInfo("Title")
Info(1) = playlist.Item(i).getItemInfo("SourceUrl")
itm = New ListViewItem(Info)
ListView1.Items.Add(itm)
Next
ListView1.Items(0).Selected = True
Label11.Text = Info(0)
Player.URL = System.Environment.GetFolderPath(typeSpecialFolder.MyMusic) + "\Mijn Afspeellijsten\" + "RNB MUZIEK.wpl"
Player.Ctlcontrols.play() ' i think in englisg mijn afspeellijsten is my playlist so change the path here