-
... |start, time, bufnum, pan, rate = 1, amp = 1, attack = 0.001, decay = 0.02, outbus| var sig; sig = PlayBuf.ar(1, bufnum, rate * BufRateScale.kr(bufnum), 1, start, 0) * EnvGen.kr(Env.linen(attack, time, decay), doneAction:2); ...
-
... *freq)+mod], [Rand(0,3.14),Rand(0,3.14)]); snd = 2/(1 + (sat*snd).exp) - 1; Out.ar(0,snd); }).add; ) ~t = TempoClock.new; ~t.tempo = 3; Tdef(\morse).play(~t); ( MIDIdef.cc(\attackTime, {|val, num, chan, src| var attac ...
-
This example shows how to record 4 output channels *as separate mono files*. Also shows how to pick a custom path and file name for the files. File type chosen is "wav" (instead of default "aiff"). // ===================================== ...
-
... (source, f1, 0.1)) + Normalizer.ar(BPF.ar(source, f2, 0.1)) * amp ; Out.ar(0, vowel.dup) }).add ; ) ( ~synth = Synth(\vocali) ; d = 600; e = 400; f; w = Window("Spazio formantico", Rect(100, 100, d+20, e+20) ).fron ...
-
... var env = EnvGen.ar(Env.linen(0.1, seconds - 0.2, 0.1), doneAction:2); var output = (clip1 * SinOsc.ar(40) * SinOsc.ar(456)) * env; Out.ar(0, output * 0.5); }).add; s.sync; seconds = 200; Synth(\SoundCheck, [\seconds, ...
-
... (synth,0.7); synth=RLPF.ar(synth,ffreq*Linen.kr(gate,0.1,0.4,0.2,0),0.4); Out.ar([0,1],synth*amp); },[0.1,0.3,4,2]).add; ) ( TempoClock.default = TempoClock.new(2); fork{ z = Synth(\fatsaw,[\gate,0,\ffreq,500,\fat,0.5]); ...
-
... h, synth_amount_range, win, window_size, slider, margin, value, knob_size, knob_outline_size, stroke_size, frame_color, frame_border_color, gradient_color, diamond_color, diamond_outline_color; // Size of items window_size = [ 400, 300 ...
-
... me thing // first as a simple function scheduled on a TempoClock // second a Routine scheduled ( t = { // this is just a function // arg time; var tone0, tone1, tone2, interval, freq0, next; tone0 = rrand(0,11); interval ...
-
... env1 * amp; sig = Splay.ar(sig); sig = Balance2.ar(sig[0], sig[1], pan); Out.ar(0, sig); }).add; ) // 2. Ejecutar los Synths Synth(\gongFM); Synth(\gongFM, [\ratio1, 0.503, \ratio2, 0.50, \ratio3, 1.35, \index2, 1.53, \i ...
-
... SinOsc.ar(vibrate,0,0.1)),0, mul: ctrr[1])* SinOsc.kr(tremrate); Out.ar([0,1], a) }).add; x=Synth.new(\theremin); x.map(\ctrr,b); x.map(\ctrl,c); //Clean up x.free; b.free; c.free; s.stop; s.quit;