-
... \sine , { "sine" . postln}); g.addItem( \saw , { "saw" . postln}); g.addItem( \pulse , { "pulse" . postln}); g.setColors( Color .grey, Color .white); g.value=0; }; w.bounds=w.bounds.moveBy(300,60); ); // Creates its own window if parentVie ...
-
... the effect has to be added after the node to be processed. ( // define a noise pulse SynthDef ( "tish" , { arg freq = 1200, rate = 2; var osc, trg; trg = Decay2 .ar( Impulse .ar(rate,0,0.3), 0.01, 0.3); osc = { WhiteNoise .ar(trg)}.dup; Ou ...
-
Stepper pulse counter Stepper.kr(trig, reset, min, max, step, resetval) Each trigger increments a counter which is output as a signal. The counter wraps between min and max. trig - trigger. Trigger can be any signal. A trigger happens when ...
-
... , so the exponent can be tuned: ( { var freq; freq = MouseX .kr(300, 15000, 1); Pulse .ar(freq) * 0.1 * AmpComp .kr(freq, 300, 1.3) }.play; ) // the curves: // exp = 0.3333 (200,210..10000).collect { |freq| (200/freq) ** 0.3333 }.plot; // n ...
-
... e learned together. The code below will use two Synths as sources, one creating pulses of PinkNoise (a kind of Noise which has less energy at high frequencies than at low), and another creating pulses of Sine Waves. The pulses are created u ...
-
... // set the source a.source = { SinOsc .ar([350, 351.3], 0, 0.2) }; a.source = { Pulse .ar([350, 351.3] / 4, 0.4) * 0.2 }; a.source = Pbind ( \dur , 0.03, \freq , Pbrown (0, 1, 0.1, inf ).linexp(0, 1, 200, 350)); b = NodeProxy .new; a.source ...
-
... .kr(0.1,0.45,0.55); d= LFNoise1 .kr(0.1,0.45,0.55); f= LFNoise1 .kr(0.1,2); p= Pulse .ar([ freq * int1.midiratio + f , freq, freq * int2.midiratio - f], [c,d,c],0.2); Out .ar(0, RLPF .ar( Mix .ar(p),freq * ffreqInterval.midiratio,rq) * Env ...
-
... d plays on its own private bus (so it is not audible yet.) ( ~x = { RLPF .ar( Impulse .ar(4) * 20, [850, 950], 0.2) } ) // the proxy has been initialized by its first assignment. // it plays at audio rate (because we have assigned an audio ...
-
... ).distort; ReplaceOut .ar(bus, sig * postGain); }).add; SynthDef ( "order-of-ex-pulse" , { arg freq, bus, ffreq, pan, lfobus; var sig, noteLen; noteLen = In .kr(lfobus, 1); sig = RLPF .ar( Pulse .ar(freq, 0.2, 0.5), ffreq, 0.3); Out .ar(bus ...
-
... example: a = NodeProxy (s); a[0] = { |freq = 440, dt=0.1, rate=2| Ringz .ar( Impulse .ar(rate * [1, 1.2]), freq, dt)*0.1 }; a.play; ( a[1] = \set -> Pbind ( \dur , Prand ([1, 0.5], inf ), \freq , Pwhite (200.0, 1000, inf ), \rate , Pstutte ...