I know clicks seem to come up quite a bit, but I've searched these forums a few times with little luck. Any help on the following would be much appreciated...
My Sample is a sine wave. It is played using sample.Play() and it cliks. Fine, that's because it starts playing at full amplitude. I can avoid that.
Add envelope filter so the sine wave fades in and out at the start and end. (Play around between 5mS fade and 50mS fade, using a linear fade, then a parabolic curve fade). Check shaped in Excel, no harsh sharp changes.
Crackles much reduced (almost gone), but they are still there. Play with sine frequency, sample length, resolution, concurrent samples playing number, no help. Samples are never stopped in the middle. Test if they might be overlapping - I don't think they are.
Clicks are irregular and unpredictable, so I don't think they are due to my sample. Try Software mixing flag, change BASS properties like sampling frequency, update sound drivers, change to directX 9.
I can't use a custom stream (I don't know how I would, and they aren't supported yet in nBASS, I think).
Where are these coming from?! Ack.
They aren't every time the sample is played, don't seem to be always at the start or end, having other sound playing doesn't make any difference...
(WindowsXP, SBLive! Value, C#, nBASS)
Much thanks in advance.