-
... ods Instance Methods Inherited instance methods Examples s.boot; ( { var a; a = SinOsc.ar(SinOsc.kr(1, 0, 600, 700), 0, 0.1); [a, ZeroCrossing.ar(a) * 0.0005] }.scope; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes ...
-
... mplitude envelope ( { var env = Env([0, 1, 0.5, 1, 0], [0.01, 0.5, 0.02, 0.5]); SinOsc.ar(470) * EnvGen.kr(env, doneAction: Done.freeSelf) }.play ) // as amplitude and modulation envelope ( { var env = Env([0, 1, 0.5, 0.8, 0, 1.2, 0], [0.01 ...
-
... ions): Writing ar UGens in func that produce a time-varying signal itself (e.g. SinOsc.ar, in contrast to SinOsc.kr and operator UGens like '+', '*' etc.) - instead, if such ar UGens aren't applied to data from inside func, they can be pass ...
-
... ise2 overshoots when going from high to low freqs, LFDNoise changes smoothly. { SinOsc.ar(LFNoise2.ar(MouseX.kr(0.1, 1000, 1), 200, 500), 0, 0.2) }.play { SinOsc.ar(LFDNoise3.ar(MouseX.kr(0.1, 1000, 1), 200, 500), 0, 0.2) }.play // LFNoise ...
-
... ined input range. Inherited instance methods Examples s.boot; //basic usage a= {SinOsc.ar(RedAutoScale.kr(MouseX.kr, 200, 400).round(25), 0, 0.2)}.play a.free //mouse button reset range a= {SinOsc.ar(RedAutoScale.kr(MouseX.kr, 200, 400, res ...
-
... stances of this module (and others with a hfreq NamedControl) are used. { amp * SinOsc.ar(mfreq + (SinOsc.kr(lfreq) * hfreq)) } }; ) Ndef(\a)[0] = \module -> \sines; // controls: lfreq0, 440, hfreq (shared with others) Ndef(\a)[1] = \module ...
-
... aSignal itself: // standing sinewave ~hoaSignal.source = {HOAEncoder.ar(~order, SinOsc.ar(48000 / 1024), MouseX.kr(-pi, pi), MouseY.kr(-pi * 0.5, pi * 0.5) )}; // White noise ~hoaSignal.source = {HOAEncoder.ar(~order, WhiteNoise.ar(1), Mous ...
-
... hods Examples // Permute a simple sinusoid ten times its frequency: {PermMod.ar(SinOsc.ar(220),2200)}.play // Modulate both the sinusoid's and the permutation frequency with the mouse: {PermMod.ar(SinOsc.ar(MouseY.kr(0,440)), MouseX.kr(500, ...
-
... 2,0.8),LFNoise0.kr(2,0.8)),0.0)}.play {Pan2.ar(0.5*GravityGrid.ar(Impulse.kr(1),SinOsc.kr(0.5,0.0,0.8,1.0),LFSaw.kr(50),LFNoise0.kr(10,0.8)),0.0)}.play //rhythmic violence {0.1*GravityGrid.ar(Impulse.kr(LFNoise0.kr([0.25,0.231],90,100)),[10 ...
-
... .ar([1, 1]), [600, 800], 0.05) }; ~b = { Dust.ar([20, 80, 320]) * 0.5 }; ~y = { SinOsc.ar(0.2).abs * PinkNoise.ar }; ~x = { SinOsc.ar(0.13).abs * BrownNoise.ar }; ~a.play(vol: 0.2); ~b.play(vol: 0.1); ~x.play(vol: 0.2); ~y.play(vol: 0.1); ) ...