Removing the clicks from LFPulse

Hello!

I am wondering how to remove the clicks and only hear the pulsing tones in this simple code:

{SinOsc.ar(200,0,LFPulse.ar(7.83))}.play

Thanks!

Welcome to the forum! Try Lag:

{ SinOsc.ar(200, 0, Lag.ar(LFPulse.ar(7.83))) }.play;

// same as above, just using a shortcut:
{ SinOsc.ar(200, 0, LFPulse.ar(7.83).lag) }.play;

// pick a custom lag time (otherwise defauls to 0.1)
{ SinOsc.ar(200, 0, LFPulse.ar(7.83).lag(0.05)) }.play;

// visualize the difference
{ LFPulse.ar(freq: 4, mul: 0.5).lag([0.0, 0.1]) }.plot(duration: 1.0, minval: -1.0, maxval: 1.0);

Best,

Bruno

Amazing! Thanks so much