-
... Examples // this does not work: ( { var trig = Dust.ar(4); Trig.kr(trig, 0.1) * SinOsc.ar(800) * 0.1 }.play; ) // this works: ( { var trig = T2K.kr(Dust.ar(4)); Trig.kr(trig, 0.1) * SinOsc.ar(800) * 0.1 }.play; ) ⧉ ✔ helpfile source: /usr/l ...
-
... stance Methods Inherited instance methods Examples ( Ndef(\skatter, { var mod = SinOsc.kr(0.1); var sig = ZOsc.ar( freq: LFNoise2.kr(10).exprange(10.0,1000.0), formantfreq: LFNoise2.kr(1).exprange(700,1500), shape: mod, mode: SinOsc.kr(0.91 ...
-
... / demo ( x = SCLOrkWatch.new([ "0:11", { Ndef(\test).fadeTime = 2; Ndef(\test, {SinOsc.ar(500) * 0.5}).play; }, "0:22", { Ndef(\test, {SinOsc.ar(600) * 0.4}).play; }, "0:30", { Ndef(\test).clear(2) }, "0:36", { Pbindef(\test, \degree, Pwhit ...
-
... and 1 Out.ar(outBus, PinkNoise.ar(0.2)) }).play; ) ( { var trig = Dust.kr(10); SinOsc.ar( TIRand.kr(4, 12, trig) * 100 ) * 0.1 }.play; ) ( { var trig = Dust.ar(MouseX.kr(1, 8000, 1)); SinOsc.ar( TIRand.ar(4, 12, trig) * 100 ) * 0.1 }.play; ...
-
... vibrato at 1 Hz, note the use of DC.ar UGen; a constant of 400.0 doesn't work { SinOsc.ar(Vibrato.ar(DC.ar(400.0), 1, 0.02)) }.play // compare: k-rate freq input can be a constant { SinOsc.ar(Vibrato.kr(400.0, 1, 0.02)) }.play // control ra ...
-
... waves the value will be 1 - because the mean and the maximum are the same. For SinOsc the theoretical value is 2.sqrt. For Saw it is 3.sqrt. These exact values might not occur in practice, because of anti-aliasing and other sampling factor ...
-
... UnaryOpUGens are created as the result of a unary operator applied to a UGen . (SinOsc.ar(200).abs).dump; (LFSaw.ar(200).sin).dump; ⧉ ✔ As in the examples given here, you don't usually need to instantiate UnaryOpUGen yourself. The unary and ...
-
... buffer should play back/forth in normal mode \modSource, [0, 2, \lin, 0], // [SinOsc, LFPulse, LFTri] ); // make sure to check number of channels of the buffer(s) to be used Ndef(\freezePlayer, {|bufnum = 0| var numChannels = 1; ...
-
... ), LFNoise2.kr(0.1.exprand(10)).range(-0.1,0.1), SelectX.kr( [SinOsc,LFTri].choose.kr(2.rrand(25).reciprocal).range(0,2), [ 0.7.rrand(1), LFGauss.kr( Latch.kr( LFNoise2.kr(1).range(1/5, ...
-
... sig = ( WhiteNoise.ar + 0.8 ) * LFSaw.ar({ exprand(10.0,10000) }!20 * ( 1 + ( SinOsc.ar((1..4).rand(0.0)/18 * XLine.kr(1,121200,80)) * 1/41 * XLine.kr(1,180,60) ))); sig = DelayC.ar(sig, 0.2, {rrand(1/5,1/10000) * ( 1 + ( SinOsc.ar((1.. ...