What is wrong with this code:
Dim statFreq1 as Long
Private Sub ch1Pitch_Change()
On Error Resume Next
If Check1.Value = 0 Then
Call BASS_ChannelSetAttributes(STRM, statFreq1, vbNull, vbNull)
Exit Sub
End If
Dim fre As Long
fre = statFreq1 + (statFreq1 * (ch1Pitch.Value / 100) / 100)
ch1LBLpitch.Caption = ch1Pitch.Value / 100
Call BASS_ChannelSetAttributes(STRM, fre, -1, -101)
End Sub
Private Sub ch1Pitch_Scroll()
ch1Pitch_Change
End Sub
ch1Pitch is max 200 and min -200
I tested the fre before it goes in to
Call BASS_ChannelSetAttributes(STRM, fre, -1, -101)
So the awnser is right like it needs to be.
But I just don't hear anything different...
