Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (272) Code (61) Doc (68) Help (7) Quark (134) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. Color Doc

    ... rine1' -> Color.new255(127, 255, 212), 'aquamarine2' -> Color.new255(118, 238, 198), 'aquamarine3' -> Color.new255(102, 205, 170), 'aquamarine4' -> Color.new255(69, 139, 116), 'azure' -> Color.new255(240, 255, 255), 'azure1' -> Color.new255 ...

  2. Literals Doc

    ... umbers are always 64-bit, except within a FloatArray . Examples of floats: 0.39 98.6 1.0 -0.5 ⧉ ✔ Exponential notation is also supported: 1.2e4 1E-4 ⧉ ✔ The keyword pi can also be used by itself, or appended to a float or integer to create ...

  3. numberExtras Doc

    ... requency in Hz. See http://en.wikipedia.org/wiki/Bark_scale 200.asBark; // -> 1.980.. ⧉ ✔ barkToFreq Convert from bark to Hz interpolating from the edges of the critical bandwidth. (1..20).barkToFreq; ⧉ ✔ barkToHz Convert from bark to Hz us ...

  4. BoidsND Doc

    ... tacles[0].postln; // prints Dictionary[ (pos -> RealVector[ 24, 193, 189, 148, 198 ]), (strength -> 3) ] // add another with variable gravity f.addObstacle(Array.fill(5, {rand(200)}), Array.fill(5, {rand(5)})); // add a obstacle randomly f. ...

  5. ZArchive Doc

    ... [ nil, nil, nil, nil ]) ]) ] ]) ], Event[ ('time' -> 7.68278), ('delta' -> 2.0898), ('m' -> [ 'selectByPath', 2, ":Patches:riddims:geekslut" ]) ], Event[ ('time' -> 9.77257), ('delta' -> 0.41796), ('m' -> [ 'setVolAt', 2, 0.197701 ]) ], Ev ...

  6. StereoImagingTransformsIllustrated Doc

    ... ar env1, env2; var in; var lfo; var freqMod; freqMod = LFNoise2.kr(3.3).range(0.98, 1.02); // L and R channels inL = SinOsc.ar(440 * freqMod, mul: 0.3); inR = SinOsc.ar(330 * freqMod, mul: 0.3); // L and R envelopes #env1, env2 = EnvGen.kr( ...

  7. Syn Doc

    ... \type, \syn, \instrument, \default, \dur, Pwhite(1, 5, inf) * 0.25, \legato, 0.98, // frequency stuff \degree, Pwhite(-7, 7, inf), \freqPlug, { |freq| // <-- base value gets patched here // lazy: I'll just use an ad-hoc function Plug({ |fr ...

  8. String Doc

    ... joy" is Unicode codepoint U+1F602, which is encoded in UTF-8 as hex value 0xF09F9882 a = "😂"; // although this is one UTF-8 character, it must be stored as 4 Chars because Chars can only hold 1 byte each a.size // 4 (!) a.ascii // [-16, -97 ...

prev 1 2 3 4 5 6 7

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow