Hey there,
I am trying to change tempo and/or pitch of my played file.
Right now I got the following:
Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_SPEAKERS, Nothing)
stream = Bass.BASS_StreamCreateFile("C:\Test.mp3", 0, 0, BASSFlag.BASS_STREAM_AUTOFREE Or BASSFlag.BASS_STREAM_PRESCAN)
Bass.BASS_ChannelPlay(stream, False)
and when my trackbar is scrolled:
Bass.BASS_ChannelSetAttribute(stream, BASSAttribute.BASS_ATTRIB_TEMPO, CSng(TrackBar1.Value))
respectively:
Bass.BASS_ChannelSetAttribute(stream, BASSAttribute.BASS_ATTRIB_TEMPO_PITCH, CSng(TrackBar2.Value))
However, I always get error code 19 () An illegal parameter was specified...
What am I doing wrong? What add-ons do I need?