-
... structurally related: EnvGen , Pseg see also: Demand // frequency envelope with random times ( { 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 / ...
-
... MOsc .ar(freq, freq * ratio, Linen .kr(gate, ar,index, dr), 0, 0.3), XLine .kr( Rand (4000, 5000), Rand (2500, 3200), 1) ) * Linen .kr(gate, 0.01, 0.7, dr, 2); OffsetOut .ar(out, Pan2 .ar(z, pan, amp)); }).add ); (instrument: \pm ).play; (i ...
-
... t (100, 500, 400, 120)); b = NumberBox (w, Rect (150, 10, 100, 20)); b.value = rrand(1,15); b.action = { arg numb; numb.value.postln; }; w.front ) Accessing Instance and Class Variables value value_ (val) Sets/gets the number box value. Thi ...
-
... and 0 is black. alpha - Transparency between 0 and 1 as Float . Default is 1. *rand (lo, hi) A random RGB Color where the colors are randomly chosen between lo and hi . See new . lo - An instance of Float between 0 and 1. Default value is ...
-
... me is a String containing the archive file's path. a = Array .fill(100, { 100.0.rand }); a.writeArchive( PathName .tmp ++ "myArray" ); b = Object .readArchive( PathName .tmp ++ "myArray" ); a == b // true ///////// // closed Function ( f = ...
-
... .25, bal=0, amp=0.4, gate = 1; var x; x = Mix .fill(4, { LFSaw .ar((note + {0.1.rand2}.dup).midicps, 0, 0.02) }); x = RLPF .ar(x, fc, rq).softclip; x = RLPF .ar(x, fc, rq, amp).softclip; x = Balance2 .ar(x[0], x[1], bal); x = x * EnvGen .kr ...
-
... ax is not given, the smallest (or largest value respectively) is used. { 1.0.linrand }.dup(10000).histo(1000).plot; { 8.rand }.dup(10000).histo(8).plot(discrete: true ); printOn(stream) Print a representation of the collection to a stream. ...
-
... 0, 3, { |msg| msg.postln}); // get them b.setn(0, Array .fill(b.numFrames, {1.0.rand})); // fill the buffer with random values b.getn(0, b.numFrames, { |msg| msg.postln}); // get them b.free; There is an upper limit on the number of values ...
-
... .gap=2@2; 20.do{ EZKnob (w, 180@24, " Freq " , \freq ,unitWidth:30,initVal:6000.rand,layout: \horz ) .setColors( Color .grey, Color .white) .font_( Font ( "Helvetica" ,11)); }; ); Window .closeAll // use this to close all the windows ////// ...
-
... q, 0, 0.1)); }).add; ) x = Synth ( "help-Synth-get" ); x.set( \freq , 220 + 440.rand); x.get( \freq , { arg value; ( "freq is now:" + value + "Hz" ).postln; }); x.free; getn(index, count, action) getnMsg(index, count) Query the server for t ...