-
... 0| Out.ar(out, Linen.kr(Impulse.kr(2), 0.01, 0.6, 1.0, doneAction: Done.none) * SinOsc.ar(440, 0, 0.1) ) }).play; ) // play once and end the synth ( SynthDef("help-Linen", { |out = 0| Out.ar(out, Linen.kr(Impulse.kr(0), 0.01, 0.6, 1.0, done ...
-
... used to patch a running node as one of the 'args'. ( Alga.boot({ b = AlgaNode({ SinOsc.ar(100) }); a = AlgaNode( { SinOsc.ar(\freq.kr(220) + \fm.ar) }, [\fm, AlgaArg(b, scale: [-100, 100])] ).play(chans: 2); }); ) ⧉ ✔ AlgaPattern //In the c ...
-
... naryOpUGens are created as the result of a binary operator applied to a UGen . (SinOsc.ar(200) * ClipNoise.ar).dump; (SinOsc.ar(200).thresh(0.5)).dump; ⧉ ✔ The use of the binary operators * and thresh above each instantiate a BinaryOpUGen. ...
-
... Array of panning values Inherited instance methods Examples s.boot; ( Ndef(\x, {SinOsc.ar(440,0,0.1)}); Ndef(\y, {SinOsc.ar(880,0,0.1)}); ~arr = [Ndef(\x), Ndef(\y)]; ) n = Space(~arr, \pan2, [-1,1], fadeTime: 1); n.numChannels; //number of ...
-
... Methods Inherited instance methods Examples ( { var in, fft, dissonance; //in = SinOsc.ar(MouseX.kr(100,1000),0,0.1); //in = Mix(SinOsc.ar([440,MouseX.kr(440,880)],0,0.1)); in= SoundIn.ar; fft = FFT(LocalBuf(2048), in); dissonance=SensoryDi ...
-
... um: MouseY.kr(7, 2)), 500, 0.3, 0.2), 0.0) }.play // used as an LFO ( { Pan2.ar(SinOsc.ar(Gendy3.kr(2, 5, SinOsc.kr(0.1, 0, 0.49, 0.51), SinOsc.kr(0.13, 0, 0.49, 0.51), 0.34, SinOsc.kr(0.17, 0, 0.49, 0.51), SinOsc.kr(0.19, 0, 0.49, 0.51), 1 ...
-
... le assignment // the function is assigned to the slots from 1 to 4 ~z[1..4] = { SinOsc.ar(exprand(300, 600), 0, LFTri.kr({exprand(1, 3)} ! 3).sum.max(0)) * 0.1 }; // the function is assigned to the slots 1, 2 and 3 (subsequent) ~z[1..] = [ ...
-
... (\a).fadeTime = 2; // fadeTime specifies crossfade // set the source Ndef(\a, { SinOsc.ar([350, 351.3], 0, 0.2) }); Ndef(\a, { Pulse.ar([350, 351.3] / 4, 0.4, 0.2) }); Ndef(\a, Pbind(\dur, 0.03, \freq, Pbrown(0, 1, 0.1, inf).linexp(0, 1, 20 ...
-
... ethods Examples // shifting a 100Hz tone by 1 Hz rising to 500Hz { FreqShift.ar(SinOsc.ar(100), XLine.kr(1, 500, 5), 0, [0.1, 0.1]) }.play(s); // shifting a complex tone by 1 Hz rising to 500Hz { FreqShift.ar(Klang.ar(`[[101, 303, 606, 808] ...
-
... ods Inherited instance methods Examples s.boot; // The mul and add arguments of SinOsc themselves use MulAdd! // These two examples will create precisely the same synth graph: x = { SinOsc.ar(440, 0, 0.1, 0.05) }.play(s); x.trace; // You sh ...