Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1669) Code (209) Doc (505) Help (220) Quark (722) Plugin (13) SCDoc ↗ Forum ↗ Google ↗
  1. Toolbox Quark

    ... ++ Toolbox.repeat( s, n - 1 )); // recursion }); } // end repeat // --- isMultiline(s) : boolean ------------------------------------------- // *isMultiline { arg s; // type String ^( s.find(Char.nl) != nil ); // type boolean } // end isMu ...

  2. 232-3Dline Quark

    //spinning line ( var width= 640, height= 480, w, theta= 0, speed= 0.01, line; w= RedWindow("3Dline", Rect(128, 64, width, height)).front; line= Red3DLine(length: 1.75); //--loop w.draw{ theta= theta+speed; line.rotation= RedVector3D[theta, ...

  3. MultiFilePlayer Quark

    ... s back with a (subclass of) FilePlayer, thus allowing to read any data from any line out of any file. See also: MultiFileWriter , MultiFileReader , and FilePlayer Creation / Class Methods *new(fn,fc) Create a new instance. fn The filename, ...

  4. Log_unittest Quark

    ... \debug; Log(\unittestlog).debug(logString); test.assertEquals(Log(\unittestlog).lines.last.string, logString); test.assertEquals(Log(\unittestlog).lines.last.level, \debug); Log(\unittestlog).info(logString); test.assertEquals(Log(\unittest ...

  5. line Quark

    /* \line An line / ramp generator. a: start value b: end value curve: a curve value for the line. A 0 (zero) curve creates a linear line, a positive curve value makes the line tend towards the start value, and v.v. duration: duration of the ...

  6. line Quark

    /* \line An line / ramp generator. a: start value b: end value curve: a curve value for the line. A 0 (zero) curve creates a linear line, a positive curve value makes the line tend towards the start value, and v.v. duration: duration of the ...

  7. line_rel Quark

    /* \line_rel An line generator of which the duration is automatically scaled to that of the event. a: start value b: end value curve: a curve value for the line. A 0 (zero) curve creates a linear line, a positive curve value makes the line ...

  8. line_rel Quark

    /* \line_rel An line generator of which the duration is automatically scaled to that of the event. a: start value b: end value curve: a curve value for the line. A 0 (zero) curve creates a linear line, a positive curve value makes the line ...

  9. MultiFileReader Quark

    ... athDir +/+ fileName ++ "_index"; }; this.openIndexFile; }; } openIndexFile{ var line; indexFile = TabFilePlayer.new( indexfn ); // read the first line: line = indexFile.next; indexFile.reset; // reset the file again. zipSingle = (PathName(l ...

  10. SWDataNetworkLog Quark

    ... er; playTask = Task{ var dt = 0; while( { dt.notNil }, { dt.wait; dt = this.readLine; }); }; // timeMap maps the time elapsed to the line number in the file // timeMap = Order.new; // timeMap.put( 0, 1 ); } goToTime{ |newtime| var line,oldi ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow