-
LFPulse pulse oscillator LFPulse.ar(freq, iphase, width, mul, add) LFPulse.kr(freq, iphase, width, mul, add) A non-band-limited pulse oscillator. Outputs a high value of one and a low value of zero. freq - frequency in Hertz iphase - initia ...
-
... e offset in cycles ( 0..1 ) width - duty cycle from zero to one. ({ VarSaw .ar( LFPulse .kr(#[3, 3.03], 0, 0.3, 200, 200), //freq 0, //iphase LFTri .kr(1.0).range(0, 1), //width 0.1 //mul ) }.play ) ({ //same but with static width VarSaw .a ...
-
... + (coef * out(-1)) in - input signal coef - leak coefficient. { Integrator .ar( LFPulse .ar(300, 0.2, 0.1), MouseX.kr(0.001, 0.999, 1)) }.play // used as an envelope { Integrator .ar( LFPulse .ar(3, 0.2, 0.0004), 0.999, FSinOsc .ar(700), 0) ...
-
... lay; // control rate version is still erratic sometimes: ( { var ctl = LPF .kr( LFPulse .kr(8), SinOsc .kr( XLine .kr(1, 30, 5)) + 2); SinOsc .ar(ctl * 200 + 400) * 0.2 }.play; ) ( { var ctl = LPF .kr( LFPulse .kr(8), MouseX .kr(2, 50, 1)); ...
-
... // used to lag pitch { SinOsc .ar( // sine wave Ramp .kr( // lag the modulator LFPulse .kr(4, 0, 0.5, 50, 400), // frequency modulator Line .kr(0, 1, 15) // modulate lag time ), 0, // phase 0.3 // sine amplitude ) }.scope; ) // Compare ( v ...
-
... oll ( Dseries (0, 1, inf ) * 2, run: MouseX .kr > 0.5)); 0.0 }.play; // label { LFPulse .ar( Duty .kr(0.5, 0, Dpoll ( Dseries (0, 1, inf ) % 10 + 1 * 30, "value" ))) * 0.1 }.play; // block offset: { Duty .ar(0.511, 0, Dpoll ( Dseries (0, 1, ...
-
... 95 for audiorate and 0.9 for controlrate. Server .internal.boot; ( { var a; a = LFPulse .ar(800, 0.5, 0.5, 0.5); [a, LeakDC .ar(a, 0.995)] }.scope(bufsize: 22050) )
-
... rate so as not to whack your speakers with DC { Gate .kr( WhiteNoise .kr(1, 0), LFPulse .kr(1.333, 0.5))}.scope(zoom: 20);
-
... al. upSlope - maximum upward slope. downSlope - maximum downward slope. ( { z = LFPulse .ar(800); [z, Slew .ar(z, 4000, 4000)] }.plot) // Has the effect of removing transients and higher frequencies. ( { z = Saw .ar(800, 0.2); Slew .ar(z, 4 ...
-
... 0.1) }.play; ) // play a pulse chord at power of two divisions of sample rate { LFPulse .ar( SampleRate .ir * (2 ** (1..14).neg).postln).mean * 0.1 }.play;