-
... b, dust, syn, synOctaveSeq, movements = Array(3); //SynthDefs SynthDef(\randomAddSynth, {|out = 0, freq = 200, gate = 1, amp = 1, maxDelay = 1, maxAttack = 1, maxDecay = 1, maxHold = 1, maxRelease = 1| var numOfHarmonics = 10; ...
-
... )); // by both x and y g.nudge(*i.deltaFor(-0.1, 0.1)); g.nudge(*i.deltaFor(0.1.rand2, 0.1.rand2)); // influence the process by 2dslider // - the further away from center, the bigger the deltas z = Slider2D().front; z.action = { |sl| var x ...
-
... t.mid"); m.init1; m.timeMode_( \seconds ); // correct timeMode // add some random Notes ((0,(1/8)..5)).do({ |starttime| m.addNote( 36 + 50.rand, 32 + 96.rand, starttime, [0.1,0.05].choose, 127, track: 1 ) }); // add some r ...
-
... z.name = "test"; z.value = [-1,1]; // x, y, optional hat button z.value = Array.rand(2, -1.0, 1.0).postln; z.valueAction = Array.rand(2, -1.0, 1.0).postln; z.action = { |v| v.value.postln }; z.valueAction = [1.rand2,1.rand2, 2.rand] .postln ...
-
... ource a= DragBoth (w, Rect (10,10,150,20)).align_( \center ) .background_(Color.rand) ; a.object= "drag us around" ; a= DragBoth (w, Rect (10,10,150,20)).align_( \center ).background_(Color.rand); a.object= "SUPERCOLLIDER" ; 8.do{ a= DragBo ...
-
... i*20, 0, "test" ++i)}); g.plot ; g = Graph .new ; 500.do({ |i| g.addVertex(500.rand+300, 500.rand+150, 0, "test" ++i)}); g.plot ; ) changeVertexPosition (vID, x, y) Allow changing the position of a vertex by providing its viD and new coord ...
-
... hannel ) press and unpress all notes from the lang 10.do({ k.pressNote( 36 + 36.rand, 64.rand + 1 ) }); // 10 random notes k.unPressAll; activeNotes array with currently active notes. Last item is always the last note press 10.do({ k.pressN ...
-
... olar); if(change,{this.changed}); ^value } unmappedValue { ^spec.unmap(value) } rand { arg standardDeviation = 0.15,mean; // gaussian centered on the spec default var default,unmapped; mean = mean ?? {if(spec.default == spec.minval,{spec.ra ...
-
... lar); if(change, {this.changed}); ^value } unmappedValue { ^spec.unmap(value) } rand { arg standardDeviation = 0.15, mean; // gaussian centered on the spec default var default, unmapped; mean = mean ?? {if(spec.default == spec.minval, {spec ...
-
... al = In.ar(out, ~dirt.numChannels); bandqf = bandqf * SinOsc.kr(XLine.kr(1, 30, Rand(0.2, 0.3)), Rand(0, 2pi), 0.1, 1); bandq = max(bandq, 1.0); signal = BPF.ar(signal, bandqf, 1/bandq) * bandq; ReplaceOut.ar(out, signal) }, [\ir, \ir, \ir] ...