Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (496) Code (67) Doc (105) Help (40) Quark (281) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. pvcalc Help

    ... {pi.rand}.dup(phases.size)]; // Arbitrary filter, arbitrary phase shift //[mags.reverse, phases.reverse]; // Upside-down! //[mags.differentiate, phases.differentiate]; // Differentiate along frequency axis //[mags[30..] ++ mags[..30], phase ...

  2. Pwalk Help

    ... on is drawn from this stream: 1 means use stepPattern as is, -1 means go in the reverse direction. Common patterns: 1 -- always wrap around to the other boundary. Pseq([1, -1], inf) -- go forward first, then backward, then forward again sta ...

  3. Array Help

    ... here to be more efficient. Array .with(7, 'eight' , 9).postln; Instance Methods reverse Returns a new Array whose elements are reversed. The receiver is unchanged. [1, 2, 3].reverse.postln; ( x = [1, 2, 3]; z = x.reverse; x.postln; z.postln ...

  4. atan Help

    ... i .. 0.5pi by atan SequenceableCollection (-100..100).atan.plot; // atan is the reverse of tan: atan(tan([-1, -0.5, 0, 0.5, 1])); Symbol \foo .atan; // returns itself. this is used in Envelopes see Env . Function f = atan({ |x| sin(x) }); f ...

  5. acos Help

    ... lue greater 1.0 SequenceableCollection [0.5, 0.8, [-1, 1]].acos; // acos is the reverse of cos: c = sin( _ + 0.5pi); // cos function c.([-1, -0.5, 0, 0.5, 1]).acos; Symbol \foo .acos; // returns itself. this is used in Envelopes see Env . F ...

  6. asin Help

    ... lue greater 1.0 SequenceableCollection [0.5, 0.8, [-1, 1]].asin; // asin is the reverse of sin: asin(sin([-1, -0.5, 0, 0.5, 1])); Symbol \foo .asin; // returns itself. this is used in Envelopes see Env . Function f = asin({ |x| 1 / x }); f. ...

  7. List Help

    ... and an index. List [ 'a' , 'b' , 'c' ].do({ arg item, i; [i, item].postln; }); reverseDo(function) Iterate over the elements in reverse order, calling the function for each element. The function is passed two arguments, the element and an ...

  8. LocalOut Help

    ... feedback, add to source local = DelayN .ar(local, 0.2, 0.2); // delay sound // reverse channels to give ping pong effect, apply decay factor LocalOut .ar(local.reverse * 0.8); Out .ar(0, local); }.play; ) ( z = SynthDef ( "tank" , { var lo ...

  9. LocalIn Help

    ... feedback, add to source local = DelayN .ar(local, 0.2, 0.2); // delay sound // reverse channels to give ping pong effect, apply decay factor LocalOut .ar(local.reverse * 0.8); Out .ar(0, local); }.play; ) ( z = SynthDef ( "tank" , { var lo ...

  10. Show All Documented Classes Help

    ... adAllString; // fix accent acute (remove it) currentFileString.findAll( "\'8" ).reverseDo({ |i| currentFileString = currentFileString.copyFromStart(i-2) ++ currentFileString.copyToEnd(i+2); }); currentFile.close; // strip RTF gunk currentFi ...

1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow