-
... th for trigger - here 30 hz \ a= SynthDef ( "trig" , \ Out .kr(r.trigBus.index, Impulse .kr(30))\).play;\ //create lfo synth for bufnum - static at ~b1 bufnum \ b= SynthDef ( "buf" , \ Out .kr(r.bufBus.index, DC .kr(~b1.bufnum))\).play;\ // ...
-
... w.ar(100, Line.kr(100, 800, 12), 0.1) }.play; ( plot { [ SyncSaw.ar(800, 1200), Impulse.ar(800) // to show sync rate ] } ) ( plot { [ SyncSaw.ar(800, Line.kr(800, 1600, 0.01)), // modulate saw freq Impulse.ar(800) // to show sync rate ] } ) ...
-
... c Examples // trigged ( SynthDef("help-Linen", { |out = 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| ...
-
... // example // Dbrown ( { var a, freq, trig; a = Dbrown (0, 15, 1, inf ); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; ) // Dibrown ( { var a, freq, trig; a = Dibrown (0, ...
-
... define them one by one and hear how "abc" sounds different: // randomly varying impulses t.quelle(\a, { Impulse.ar(LFNoise1.kr(0.1).range(1, 4)) }); // a resonant low pass filter with cursor control and a random offset t.filter(\b, { |input ...
-
PulseDivider pulse divider PulseDivider.ar(trig, div, startCount) Outputs one impulse each time it receives a certain number of triggers at its input. trig - trigger. Trigger can be any signal. A trigger happens when the signal changes from ...
-
... . cmdName int - node ID int - reply ID ... floats - values. ( { SendReply .kr( Impulse .kr(3), 'the_answer' , [40, 41, 42, 43] + MouseX .kr, 1905); }.play(s); ) o.remove; o = OSCresponder ( nil , 'the_answer' , { |t, r, msg| msg.postln }). ...
-
... d instance methods Examples //listen to x and y output {Out.ar(0,Brusselator.ar(Impulse.kr(MouseY.kr(1,50,'exponential')),MouseX.kr(0.01,1,'exponential')))}.play //avoid DC offset (default gamma is 1.0, listening to x only, so take off gamm ...
-
... , 200+(800.rand), \outbus, 52]); 0.25.wait; }); }).start; ----------- {Decay.ar(Impulse.ar(4), 0.5, Pulse.ar(30))}.play ----------- {Decay.ar(Impulse.ar(XLine.kr(1,50,20)), 0.5, Pulse.ar(XLine.kr(20,150,20)))}.play ----------- {Decay.ar(Imp ...
-
... n Bozkurt ('earslap') {a=LocalIn.ar;LocalOut.ar(Mix.ar(x=SinOsc.ar((Decay.ar(Impulse.ar([4,4.005]),1e3*a.abs)*50), a).distort));x;}.play;//tryingharder_to_noavail {f=LocalIn.ar(2).tanh;k=Latch.kr(f[0].abs,Impulse.kr(0.5));LocalOut.ar(f+ ...