-
TChoose: Filter: Description Class methods ar kr Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Triggers'>Triggers | UGens > Random'>Random TChoose : Object Randomly select one of several inpu ...
-
TChoose randomly select one of several inputs superclass: Object (TChoose returns a combination of Select and TIRand ) An output is selected randomly on recieving a trigger from an array of inputs. see also: TWChoose *ar(trig,array) *kr(tri ...
-
... Ndef(\n1, { var amp = 0.1; var pulse = Impulse.kr(1/16); var rate = TChoose.kr(pulse, [3,5,10]); var trans = TChoose.kr(pulse, [0,2,-2,7,-5]); //var trig = Impulse.kr([3,5]/2); var trig = Trig1.kr(CuspL.ar(rate * 3), 0.0 ...
-
... /post/25710867587/supercollider-tweets-background-tips {Mix({|i|var j=Impulse,t=TChoose.kr(j.kr(1/8),[1,6,3]/8),r=Ringz.ar(j.ar(i*t+0.25),600*t*i+[0,9]);CombC.ar(r,1,0.5,4,0.1,r)}!4).tanh/4}.play
-
... WChoose : Object Randomly select one of several inputs Source: Osc.sc See also: TChoose Description An output is selected randomly on receiving a trigger from an array of inputs. the weights of this choice are determined from the weights ar ...
-
... s, ~40% on my machine d=Dust;a=SinOsc;300.do{|i|{a.ar(Stepper.kr(d.kr(1),0,0,t=TChoose.kr(d.kr(3),(4..7)))*129+[a.kr(t),a.kr(t+1).neg],a.kr(i/t),i+1*1e-4)}.play}
-
... oise.sc See also: ExpRand , IRand , LinRand , NRand , Rand , TExpRand , TRand , TChoose Description Generates a random integer value in uniform distribution from lo to hi each time the trigger signal changes from nonpositive to positive val ...
-
... eq((10..19),inf))))))} //5. play{a=SinOsc;p=Pulse;GVerb.ar(WhiteNoise.ar*p.ar(TChoose.kr(a.kr(2),[5,8,20,30]))*p.ar(16,0.1))+a.ar(97*p.ar(4),0,p.kr(5,add:1))}// #sc140 //6. ProxySpace.push;~a0.play;~a1.play;fork{loop{2.do{|i|currentEnvi ...
-
... r trig = Changed.kr(semi); var trig2 = PulseDivider.kr(trig, 3); var midi = TChoose.kr(trig2, \root.kr(60) + [0, 12, 24]) + (semi) * (inscale > 0); var env = Decay2.kr(in:trig * (inscale > 0), decayTime:lfo1); var freq = midi.midi ...
-
... r(LocalIn.kr(1,10)); rate = CoinGate.kr(1/3, change); rate = (TChoose.kr(rate, period/((0..1) + 1))/1000).reciprocal; LocalOut.kr(rate); # carrierFreq, cfRamp = TIRand.kr(0, [1000, 1], change); ...