A trick I use to prevent clicks in basslines (especially DnB/Jungle type sub-basses!) is to
never ever start or stop the sample if I can help it. You need a really seamless loop for this to work, pretty easy with sinusoids.
Essentially I start the note at the beginning of a sequence and porta to every subsequent note with GFF (or G9 in the volume column - sorry, IT syntax), while controlling the volume with fast slides to give the *illusion* of starting new notes.
Here's my bassline from "Free Motion Machine" - sample was an almost pure sine, looping endlessly
B-4 17 .. D08
F#5 17 G9 D80
B-4 17 G9 .00
... .. .. D0F
B-4 17 G9 D08
... .. .. D04
F#4 17 G9 D08
... .. .. .00
B-4 17 G9 D08
... .. .. D04
B-4 17 G9 .00
... .. .. D0F
F#4 17 G9 D08
... .. .. D80
... .. .. D0F
... .. .. .00...and repeat.
Note that I was also ducking the bassline (side-chaining) with the kick+snare drums on every 4th tick.
(If you're not familiar with IT: G9 is the fastest possible porta-to-note in the volume column, D0x is vol. slide down, Dx0 is vol. slide up. Also, entering a note resets the volume to default so e.g. the 4th note down, B-4 17 G9 D08 starts off at 64 and begins to slide down by D08 immediately regardless of the fact that it was 0 by the end of the previous tick!
I really need two simultaneous effects for this... No idea if it is possible to translate to e.g. Milky!)
This is exactly how classic monosynths work; the waveform itself never "stops" or "starts" but the notes you hear are created by sliding the pitch (voltage) and applying a volume envelope. I'm just emulating those monosynths.
(BTW, in some of h0ffman's newer stuff he does similar things in *ProTracker* - he doesn't even have a *volume column!* Madness!)