How would I go about creating time stamps for my track in VB.net
What im doing is I have a trackbar linked to my waveform and i want to add timestamps to it every 30 secs.
-----:30---------1:00--------1:30---------2:00----------2:30-----------3:00---------3:30-------
_________________________________IIIIIII_______________________________________________
The IIII represents my Trackbar.
Im using this to get my maximum for the scroll
channelTotal = Bass.BASS_StreamCreateFile(_filename, 0L, 0L, BASSFlag.BASS_SAMPLE_FLOAT Or BASSFlag.BASS_STREAM_PRESCAN)
tbarPosition.Maximum = Convert.ToInt32(Bass.BASS_ChannelGetLength(channelTotal) / 20000)
Then in my timer im using to update the position of the trackbar
Dim pos As Long = Bass.BASS_ChannelGetPosition(_stream)
tbarPosition.Value = Convert.ToInt32(pos / 20000)
Any suggestions ?