Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (786) Code (22) Doc (235) Help (67) Quark (457) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. PG_05_Math_on_Patterns Help

    ... bs, reciprocal, etc.), binary (+, -, *, /, **, min, max, etc.) and n-ary (clip, wrap, fold, linlin, linexp, etc.) operators are all valid with patterns. // Random integers, 1-5 Pwhite (1, 5, inf ).asStream.nextN(10); // Random integers 1-5, ...

  2. Streams-Patterns-Events5 Help

    ... ~degree = 0; A scale degree index into the ~scale. 0 is the root and the scale wraps in the manner defined by degreeToKey. ~mtranspose = 0; A modal transposition value that is added to the scale degree. ~gtranspose = 0; A gamut transpositi ...

  3. MultiChannel Help

    ... th parameters being pulled from each array in parallel. The shorter arrays will wrap. for example, the following: Pulse .ar([400, 500, 600],[0.5, 0.1], 0.2) is equivalent to: [ Pulse .ar(400,0.5,0.2), Pulse .ar(500,0.1,0.2), Pulse .ar(600,0 ...

  4. PG_Cookbook07_Rhythmic_Variations Help

    ... play these patterns in succession, one by one. (Plazy embeds just one pattern; wrapping Plazy in Pn does it many times.) The logic in this example is a bit more involved: for each measure, start with arrays containing the basic rhythmic pa ...

  5. First Steps Help

    ... to print different things to the post window. Do this with both blocks of text wrapped in parentheses, and single lines. ____________________ This document is part of the tutorial Getting Started With SuperCollider . Click here to go on to ...

  6. SCWindow Help

    ... r a GUI widget from a Routine , which uses the SystemClock by default, you must wrap it in a deferred function: { myWindow.bounds_( Rect(100,500,200,200) ) }.defer . You do not need to use .defer, if you use the AppClock . Creation / Class ...

  7. SymbolicNotations Help

    ... dexing: .at(index) or [index] collection @@ integer collection/array indexing: .wrapAt(int) collection @|@ integer collection/array indexing: .foldAt(int) collection |@| integer collection/array indexing: .clipAt(int) Set operators set & se ...

  8. Collection Help

    ... ndices given by keys . If one of the two argument arrays is longer then it will wrap. y = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; y.putEach([4, 7], [ \smelly , \head ]) y.putEach([2, 3, 5, 6], \wotsits ); atAll(keys) return a collection of all the ...

  9. PG_02_Basic_Vocabulary Help

    ... eeded, but output only 'repeats' items. Pslide(list, repeats, len, step, start, wrapAtEnd): Play overlapping segments from the list. Pwalk(list, stepPattern, directionPattern, startPos): Random walk over the list. Place(list, repeats, offse ...

  10. SCPen Help

    ... r2 = 230 + (50 * (a + 1.rand2).fold(0,3)); var a2 = 2pi / 24 * (b + (3.rand2)).wrap(0,23) + phase; Pen .width = 0.2 + 1.0.linrand; Pen .beginPath; Pen .moveTo( Polar (r1, a1).asPoint + Point (400,400)); Pen .lineTo( Polar (r2, a2).asPoint ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow