Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1299) Code (80) Doc (443) Help (108) Quark (663) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. Post Help

    Post posts text to the post window Inherits from: Object The class Post is a stream destination. a = "a string" ; b = 'a symbol' ; c = 4; d = [1,2,3,4,a,b]; // post as string Post << a << Char .nl; // post as compile string Post <<< a << Ch ...

  2. CheckBadValues Help

    ... Values test for infinity, not-a-number, and denormals CheckBadValues.ar(in, id, post) CheckBadValues.kr(in, id, post) This UGen tests for infinity, NaN (not a number), and denormals. If one of these is found, it posts a warning. Its output ...

  3. Scope Help

    ... which refer to different instances of the variables curVal and stepVal x.value.postln; // posts 10 x.value.postln; // posts 11 z.value.postln; // posts 99 z.value.postln; // posts 199 x.value.postln; // posts 12 x.value.postln; // posts 13 ...

  4. Pseed Help

    ... number a = Pseed (1972, Prand ([1,2,3], inf )); b = a.asStream; 10.do({ b.next.post }); c = a.asStream; 10.do({ c.next.post }); // using a seed pattern as input: a = Pseed ( Pseq ([1812, 1912], inf ), Prand ([1,2,3], 5 )); b = a.asStream; ...

  5. Tracing Processes Help

    ... tasks or even simply by evaluating a bit of code, one can insert messages like postln and postcs anywhere in the code. // calculating the sum of n subsequent squares ( var n = 8, x = 0; (1..n).do { |num| x = x + num.squared }; x ) // what ...

  6. Class Help

    ... method is inherited from a superclass. If not found, return nil. dumpAllMethods Post all instance methods which instances of this class responde too, including inherited ones. this.class.dumpAllMethods will post all class methods which this ...

  7. Pwalk Help

    ... ([1, -1], inf ), 10); // start in the middle x = a.asStream; ) 200.do({ x.next.post; ", " .post }); b = a.copy.directionPattern_(1); // this one will always wrap around x = b.asStream; 200.do({ x.next.post; ", " .post }); // non-random wal ...

  8. String Help

    ... cters. Strings can be written literally using double quotes: "my string" .class.postln; Class Methods *readNew(file) Read the entire contents of a File and return them as a new String. Instance Methods at(index) Strings respond to .at in a ...

  9. HistoryGui Help

    ... History _if_ gui.history is current. popUp sameDoc/newDoc switches whether the postDoc method posts to old post-doc window or new. button closeAll closes all documents called "History repeats", button closeOld closes only those created fro ...

  10. First Steps Help

    ... Hello World!' to well, wherever it prints text. In SC that's a place called the post window. The post window is the one that opened up when you first started SC, and a bunch of stuff was printed there which looks something like this: init_O ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow