Could someone please steer me in a direction where I could get rid of the clicks in this sequencer? It seems like it is a smoothing issue. Or perhaps I should be programming the silences differently than simply making the volumes 0.0.
You could try making the ADSR gate conditional on having a non-zero velocity, for example:
!KeyDown gateWhen: !KeyVelocity
That way, it will only trigger when the value of !KeyVelocity is greater than 0.