-
Dshuf: Filter: Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Demand'>Demand | UGens > Random'>Random Dshuf : ListDUGen : DUGen : UGen : AbstractFunction : Object Demand rate ...
-
Dshuf demand rate random sequence generator superclass: ListDUGen *new(array, length) array array of values or other ugens length number of repeats structurally related: Pshuf see also: Demand // example ( { var a, freq, trig; a = Dseq ([ D ...
-
... [Dxrand, Drand].choose.new([0.125,0.25,0.5,1,2,4,6,8,12], inf), 0, Dshuf({ (0..11).choose.midiratio } ! 1.exprand(8), inf) ) }, { (0..11).choose.midiratio }) ).reciprocal ) ) * EnvGen.kr( // rhythm Env.per ...
-
... Object (Undocumented class) Source: Demand.sc Subclasses: Drand , Dseq , Dser , Dshuf , Dxrand … see all Description This class is missing documentation. Class Methods Inherited class methods Undocumented class methods ListDUGen. new ( list ...
-
... array, lag ); }; } *getIndices { |trigger, size = 10| var shuffler; shuffler = Dshuf((..size-1), 1); if( trigger.isNil ) { ^{ |i| Duty.kr( inf, 0, shuffler); } ! size; } { ^{ |i| Demand.perform( UGen.methodSelectorForRate(trigger.rate), tr ...
-
... y machine this example needs ca. 2.5 % CPU (818 ugens) ... ( x = { DXEnvFan.ar( Dshuf((0..29), inf), size: 30, fadeTime: 0.005 ) * 0.25 }.play ) x.release // ... whereas this needs ca. 0.6 % CPU (167 ugens) ( a = Bus.audio(s, 30); x = { DXE ...
-
... machine this example needs ca. 2.5 % CPU (818 ugens) ... ( x = { DXEnvFan .ar( Dshuf ((0..29), inf ), size: 30, fadeTime: 0.005 ) * 0.25 }.play ) x.release // ... whereas this needs ca. 0.6 % CPU (167 ugens) ( a = Bus .audio(s, 30); x = { ...
-
... req, beats, realAmp) * EnvGen.ar(Env.perc(excAtk, excDcy, curve: 0)), panShuf = Dshuf((0 .. ratios.size-1)), initTrig = Impulse.kr(0), panLeft, panIncr, sig, hpf; width = min(width, 1 - abs(pan)); panIncr = width / (ratios.size-1); panLeft ...
-
... | ^Drand(buffers, repeats) } asDxrand{|repeats=1| ^Dxrand(buffers, repeats) } asDshuf{|repeats=1| ^Dshuf(buffers, repeats) } choose{ ^buffers.choose } playRandom{ ^this.choose.play } // Search collection and return a subset of buffers findA ...
-
... mid(3)),\dur,0.01).play; /* by julian rohrhuber */ Ndef(\y, { a = { Drand([Dshuf({0.005.rand}!rrand(2,12),SinOsc.kr(0.1)*40), 0.1], inf)}; TDuty.ar(a!2,0,0.1) }).play; /* by julian rohrhuber */ Ndef(\y, { a = {{ Drand([Dshuf({0.0 ...