-
... y.cycle ⧉ ✔ Convert to array: LazyList.repeat(1).take(20).asArray ⧉ ✔ Fibonacci numbers: ~fib = 0 %% ( 1 %% ( { ~fib.zip( ~fib.tail ).collect{ |t| t.at1 +t.at2 } } ) ) ⧉ ✔ Newton-Raphson Square Roots as is shown in "Why functional programmi ...
-
... .isPrime.not } [ [ 11, 2047 ], [ 23, 8388607 ], [ 29, 536870911 ] ] // mersenne numbers which are no primes ⧉ ✔ Qualifier Clauses A list comprehension begins with {: and contains a body followed by several qualifier clauses separated by com ...
-
... nted) By default an Mx has one audio stereo output. It will be able to have any number and type of outlets. ie. multi channel audio, kr outputs, event stream outputs and even files, images or geometries. Returns: array of MxOutlet . autoCab ...
-
... thDef as a synth node in a server. The argument list to a Synth may assign only numbers, or arrays of numbers, to a control name. The argument list to a Syn may also include Plug objects, which patch signals from other SynthDefs to the synt ...
-
... ck into a phrase. numcutfunc an object responding to the value message with the number of desired subdivisions of the new block. Each cut is of even length. The blocklength is passed in. phraselength Next length of phrase in beats. bpsd bea ...
-
... ]).round.asInteger.odd }; adjust = ev[\swingBase] * ev[\swingAmount]; // an odd number here means we're on an off-beat if(thisShouldSwing) { ev[\timingOffset] = (ev[\timingOffset] ? 0) + adjust; // if next note will not swing, this note nee ...
-
... ) // cantor set "_".rewriteString(["_" -> "_ _", " " -> " "], 4); // fibonacci numbers ( var r; r = "A"; 10.do { r = r.rewriteString(["A" -> "B", "B" -> "AB"]); r.postln; r.size.postln; } ) // thue-morse L-system ( var r; r = "a"; 6.do { r ...
-
... message comes in Inherited class methods Instance Methods . bufsize the maximum number of messages to store . timeWindow the maximum time window in which to store messages . listenFunc internal: the function with which OSCMon listen to osc ...
-
... are determined by evaluation of the supplied function. The function is passed N number of indexes as arguments. See J concepts in SC Array.fillND([4, 4], { |a, b| a+b }); // 2D Array.fillND([4, 4, 4], { |a, b, c| a+b*c }); // 3D Array.fillN ...
-
... Page range The methods below returns the page range selected by the user. Page number starts at 1. When both methods returns 0 it means "print all pages". . fromPage Get the start page. Returns: an Integer . toPage Get the end page. Return ...