Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. Tour_of_UGens Help

    ... , 80+i, 1024); }; ) ( // fill tables 80 to 87 8.do({ |i| var n, a; // generate array of harmonic amplitudes n = (i+1)**2; // num harmonics for each table: [1,4,9,16,25,36,49,64] a = { |j| ((n-j)/n).squared }.dup(n); // fill table s.listSen ...

  2. MIDIIn Help

    ... _(function) uid unique identifier of the MIDI port system exclusive data an Int8Array (includes f0 and f7) see manufacturer references for details note: The current implementation assembles a complete system exclusive packet before evaluati ...

  3. SCWindow Help

    ... ndow .new; w.front; // draw it and bring it to the front *allWindows Returns an Array of all open SCWindows. *initAction *initAction_(func) Get/set and action to be performed when any window is created. func - An instance of Function or Fun ...

  4. PG_01_Introduction Help

    ... k02_Manipulating_Patterns Merging (interleaving) independent streams Reading an array forward or backward arbitrarily Changing Pbind value patterns on the fly PG_Cookbook03_External_Control Control of parameters by MIDI or HID Triggering pa ...

  5. Sequencing with Patterns Help

    ... omposition). Pseq (Pattern-sequence) means simply to spit out the values in the array one by one, in order, as many times as the second argument (here, only once). p = Pseq ([60, 72, 71, 67, 69, 71, 72, 60, 69, 67], 1); r = p.asStream; whil ...

  6. PG_Cookbook06_Phrase_Network Help

    ... s example, the selection of the next phrase is explicitly weighted by repeating array elements, such as #[1, 1, 1, 1, 2, 2, 3, 3, 4, 4, 5]. A more elegant way to do this is using the WeighBag class in the MathLib quark. // the following are ...

  7. recursive_phrasing Help

    ... 0, n=3; var step, f, t, i; sustain = sustain.value; step = (to - from) / n; f = Array .series(n, from, step) +.t [0.0, step]; i = n div: 2; f[i] = f[i].reverse; Pbind ( \instrument , \play_from_to , [ \from , \to ], Pseq (f), \legato , 1.0, ...

  8. SCPen Help

    ... 0@0); Pen .fill; Pen .rotate(0.2pi); c = c + 0.1; }); }; w.refresh; ) *matrix_ (array) transforms coordinate system. array = [a, b, c, d, x, y] a zoomX b shearingY c shearingX d zoomY x translateX y translateY ( var controlWindow, w; var r, ...

  9. PG_03_What_Is_Pbind Help

    ... tches.reverse[ .. pitches.size - 2], inf ), // if the note is found in the mask array, replace it with \rest // then that note does not sound \note , Pif ( Pfunc { |event| mask.includes(event[ \arpeg ]) }, \rest , Pkey ( \arpeg )), \octave ...

  10. EZKnob Help

    ... a.do{ arg a;a.view.background_( Color .grey.alpha_(0.4))}; ) // a now holds the array of knobs a a[0].value a[3].value_(0.5) a.collect( _ .value );

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow