-
... white (0.1, 0.4, inf )), \legato , 0.3 ).play; p.stop; // using Pfin / Pn // Pn loops the Pbind infinitely // Plazy builds a new Pbind for each iteration // Pfin cuts off the Pbind when it's time for a new value p = Pn ( Plazy { Pbind ( \de ...
-
... s (while, do, if, etc.). AutoCompMethodBrowser .exclude([ \if , \do , \while , \loop , \collect , \select , \reject , \detect , \add , \put , \at ]); AutoCompClassBrowser .exclude([... list of classes ...]); Quirks and caveats: The auto com ...
-
... r(10); delimp = Delay1 .kr(imp); colum = PlayBuf .ar(1, b, BufRateScale .kr(b), loop: 1) * mul; // measure rms and Peak SendReply .kr(imp, '/levels' , [ Amplitude .kr(colum), K2A .ar( Peak .ar(colum, delimp).lag(0, 3))]); colum; }.play; ) / ...
-
... ).envir.put(*[k, ez.value].postcs); }, v); }; Tdef ( \text , { |ev| var mydur; loop { mydur = ev.dur; (note: ev.note, dur: mydur).postln.play; mydur.wait; } }).play; ) // type these or similar functions into dur and note fields and evaluat ...
-
... ument , \Pdefhelp , \dur , 0.25, \degree , Pseq (#[4, 3, 1, 2]*3)); // infinite loops are scheduled (to ths clock's next beat by default) and released: a.source = Pbind ( \instrument , \Pdefhelp , \dur , 0.753, \degree , Pseq (#[0, 5, 4, 3, ...
-
... ment , \Pdefhelp , \dur , 0.25, \degree , Pseq (#[4, 3, 1, 2]*3))); // infinite loops are scheduled (to ths clock's next beat by default) and released: Pdef ( \a , Pbind ( \instrument , \Pdefhelp , \dur , 0.753, \degree , Pseq (#[0, 5, 4, 3 ...
-
... .ar(0, 2); CombN .ar(in, 0.2, 0.2, 3, 1, in); }.play(addAction: \addToTail ); { loop({ orc.use({ // set values in the environment ~freq = exprand(80, 600); ~amp = 0.1; ~pan = 1.0.rand2; // call a randomly chosen instrument function // with ...
-
... on; // both numbers must have the same sign. Test them multiple times with a do loop: 20.do({ 5.rand.postln; }); // evenly distributed 20.do({ 1.0.linrand.postln; }); // probability decreases linearly from 0 to 1.0 20.do({ 5.0.rand2.postln; ...
-
... e will be 0. Checking the array size is an effective termination condition when looping through a sound file. See the method channelPeaks for example. openWrite(inPathname) Write the header of a file. Answers a Boolean whether the write was ...
-
... 3) + 1.5pi) * much + 1 }; var scale; Pen .font = Font ( "Helvetica-Bold" , 40); loop { i = i + 1; string.do { |char, j| scale = func.value(i, j).dup(6); Pen .fillColor = Color .new255(0, 120, 120).vary; Pen .matrix = scale * #[1, 0, 0, 1, 1 ...