-
... nv; env = EnvGen .kr( Env .perc(0.001, sustain), 1, doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env * 0.1)) }).add; ) ( a = Pbind ( \dur , 0.5, \instrument , \sinegrain ); b = Paddpre ( \freq , Pseq ([10, 30, 100], inf ), a); b.play; )
-
... er.alloc(s, 200); ) // analyse a short snippet of ring modulation ( { var src = SinOsc.ar(300) * SinOsc.ar(120) + SinOsc.ar(30) * 0.1; ZeroXBufWr.ar(src, b, z, startWithZeroX: 1, doneAction: 2); Silent.ar }.play ) // check the waveform b.pl ...
-
... Freq = 5, freqDev = 20, amp = 0.01; var carrier, modulator; modulator = SinOsc.ar(freq: modFreq, mul: freqDev); carrier = SinOsc.ar(freq: carrFreq + modulator, mul: amp); Out.ar(0, [carrier, carrier]); }).add; s.sync ...
-
... ew(1, 1) a.value(0.5) {|t| EaseInOutElastic.(t/99, 1, 1)}.dup(100).plot s.boot {SinOsc.ar(EaseInOutElastic.kr(Line.kr(0, 1, 2, doneAction:2), 1, 1).exprange(500, 1000), 0, 0.1)}.play ⧉ ✔ helpfile source: /tmp/scquark_hs/Ease/HelpSource/Clas ...
-
... methods Instance Methods Inherited instance methods Examples {Disintegrator.ar(SinOsc.ar([400, 404], 0, 0.2), MouseX.kr(0, 1), MouseY.kr(0, 1))}.play {Disintegrator.ar(SoundIn.ar, MouseX.kr(0, 44100), MouseY.kr(0, 1))}.play ⧉ ✔ helpfile so ...
-
... s methods Instance Methods Inherited instance methods Examples ( { var a; a = [ SinOsc.ar, Saw.ar, Pulse.ar ]; TWChoose.ar(Dust.ar(MouseX.kr(1, 1000, 1)), a, [0.99, 0.05, 0.05].normalizeSum) * 0.2 }.play; ) ⧉ ✔ NOTE: all the ugens are conti ...
-
... oise0.ar(XLine.kr(1000, 10000, 10), 0.25) }.play; // as frequency modulator ( { SinOsc.ar( LFNoise0.ar(4, 400, 450), 0, 0.2 ) }.play; ) // freq is the rate of starting points { var freq = 1000; [LFNoise0.ar(freq), Impulse.ar(freq)] }.plot ⧉ ...
-
... ew(1, 1) a.value(0.5) {|t| EaseOutInElastic.(t/99, 1, 1)}.dup(100).plot s.boot {SinOsc.ar(EaseOutInElastic.kr(Line.kr(0, 1, 2, doneAction:2), 1, 1).exprange(500, 1000), 0, 0.1)}.play ⧉ ✔ helpfile source: /tmp/scquark_hs/Ease/HelpSource/Clas ...
-
... Env([0, 1, 1, 0], [transdur, susdur, transdur], \sin), doneAction: 2); sound = SinOsc.ar(freq * [0.99, 1.01], 0, amp) * env; Out.ar(0, sound); }).add; ) a = OverlapTexture.new(\sinetest); ( var numSynths = 60; a.play(overlaps: numOscs, sus ...
-
... r; var freq = Line.kr(freqPair[0], freqPair[1], dur: dur); var wobble = SinOsc.kr(0.01 + 0.05.rand, mul: 10, phase: 1 - 2.rand); freq + wobble }, mul: shape * vol, bw: bw ); Out.ar(0, Mix.ar(si ...