-
Drand, Dxrand demand rate random sequence generators superclass: ListDUGen *new(array, length) array array of values or other ugens length number of values to return structurally related: Prand see also: Demand Dxrand never plays the same v ...
-
... ll(t) }.play ); Examples ( { var trig, seq, freq; trig = Impulse .kr(24); seq = Drand ([ Dseq ((1..5).mirror1, 1), Drand ((4..10), 8)], 2000); freq = Demand .kr(trig, 0, seq * 100); SinOsc .ar(freq + [0,0.7]).cubed.cubed.scaleneg( MouseX .k ...
-
... .1 }.play; ) // embedded structures ( { var a, freq, trig; a = Dseq ([ Dshuf ([ Drand ([1, 2, 3], 1 ) , 3, Drand ([20, 23, 56], 1 ), 7, 8.5], 8)], inf ); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; S ...
-
... first argument. // example ( { var a, freq; a = Dreset ( Dseries (0, 2, inf ), Drand ([0, 0, 0, 1], inf )); freq = Duty .kr(1/ MouseX .kr(1, 40, 1), 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; ) // reset when mouse button is pressed ( ...
-
... tor ( { var a, trig, n=5, m=64; a = { var x; x = { 0.2.rand2 } ! m; x = x ++ ({ Drand ({ 0.2.rand2 } ! n) } ! m.rand); Dseq (x.scramble, inf ) } ! n; trig = TDuty .ar( MouseX .kr(1, 2048, 1) * SampleDur .ir * [1, 1.02], 0, Dswitch1 (a, Mous ...
-
... ee UGen-doneActions for more detail. // examples ( { var freq; freq = Duty .kr( Drand ([0.01, 0.2, 0.4], inf ), // demand ugen as durations 0, Dseq ([204, 400, 201, 502, 300, 200], inf ) ); SinOsc .ar(freq * [1, 1.01]) * 0.1 }.play; ) ( { v ...
-
... useX MouseY MouseButton Demand UGens: Demand Duty TDuty Dseries Dgeom Dseq Dser Drand Dxrand Dswitch1 Dwhite Diwhite Dbrown Dibrown In/Out SoundIn In InTrig InFeedback Out ReplaceOut XOut OffsetOut LocalIn LocalOut SharedIn SharedOut Oscill ...
-
... var freq; freq = DemandEnvGen .ar( Dseq ([204, 400, 201, 502, 300, 200], inf ), Drand ([1.01, 0.2, 0.1, 2], inf ) * MouseY .kr(0.01, 3, 1), 7 // cubic interpolation ); SinOsc .ar(freq * [1, 1.01]) * 0.1 }.play; ) // frequency modulation ( { ...
-
... Frame DebugNodeWatcher Def Dgeom Dibrown Diwhite Do DoesNotUnderstandError Done Drand Dseq Dser Dseries Dswitch1 DualSeriesEfxGui Dwhite Dxrand Editor EditorGui EnvEditor EnvEditorGui EnvGate EnvirDocument EnvironmentRedirect EnvSpec Error ...
-
... , dur, z, d; trate = MouseX .kr(1, 100, 1); d = { Dwhite (0.1, 0.2, 1) }; z = { Drand ([ Dgeom (0.1, 1 + d.value, Diwhite (20, 40)), Dgeom (1, 1 - d.value, Diwhite (20, 40))]) }; TGrains .ar(2, Impulse .ar(trate), bufnum: 10, rate: Dseq ([1 ...