Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3120) Code (144) Doc (1251) Help (358) Quark (1341) Plugin (26) SCDoc ↗ Forum ↗ Google ↗
  1. LazyList Doc

    ... 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 ...

  2. ListComprehensions Doc

    ... .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 ...

  3. Mx Doc

    ... 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 ...

  4. Syn Doc

    ... 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 ...

  5. ChooseBlockProc Doc

    ... 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 ...

  6. PG_Cookbook08_Swing Doc

    ... ]).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 ...

  7. rewriteString Doc

    ... ) // 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 ...

  8. OSCMon Doc

    ... 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 ...

  9. Collection Doc

    ... 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 ...

  10. QPenPrinter Doc

    ... 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 ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow