Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (556) Code (37) Doc (146) Help (56) Quark (314) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. extString-getPathsInDirectory Quark

    ... ed to use of pathMatch // added find functionality -- watch out with big search tasks; these are recursive functions // so they might freeze your system for a while. But they will always work (tested with up to // apx. 70000 files at once / ...

  2. OscGroup Quark

    ... s.add(peerName); peerCheckers[peerName].isNil.if({ peerCheckers.add(peerName -> Task({ // timeout of 10 seconds to check for peer's ping 10.wait; peerCheckers[peerName] = nil; peers.remove(peerName); }); )}); peerCheckers[peerName].stop; pe ...

  3. PitchCollection Quark

    ... the type of tonic and a link to its help file. Default value is nil. Doing Some Task (optional) A short bit of prose explaining something about the task. init Short prose description of method. // inline example g = PitchCollection .init; g ...

  4. MultiFilePlayer Quark

    ... to the specified line. Example 1 m = MultiFileWriter .new( "testfile15.txt" ); Task ({ 3.do{ m.open; 20.do{ m.writeLine( Array .fill( 10, { 1.0.rand })); 0.25.wait; }; m.close; 1.0.wait; }; "done" .postln; }).play; n = MultiFilePlayer .new ...

  5. ConductorPlayer Quark

    ... | ev, cvs| ev[\cvs] = cvs ? []; ev.parent = CVEvent.groupEvent; this.add(ev) } task_ { |func, clock, quant| this.add(TaskPlayer(func,clock, quant)); } pattern_ { | pat, clock, event, quant | this.add(PatternPlayer(pat, clock, event, quant) ...

  6. FilePlayerGui Quark

    ... line; var <slider,<>sliderSpec; var <linedist; var <fp; var <>updFunc; var <playTask; *new{ |fp,parent| ^super.new.fp_(fp).init(parent); } fp_{ |filep| fp = filep; this.estimateLine; } init{ |parent| w = Window.new( "FilePlayer", Rect( 0, 0 ...

  7. sclork_chat_test Quark

    ... luke", true, SCLOrkChatClient.new("127.0.0.1", listenPort: 7705) ); 5.do({| i | Task.new({ var bot = SCLOrkChatClient.new("127.0.0.1", listenPort: 7710 + i); var forcedTimeout = false; while({ true }, { if (forcedTimeout, { forcedTimeout = ...

  8. MultiFileReader Quark

    ... he currently open file. Example 1 m = MultiFileWriter .new( "testfile15.txt" ); Task ({ 3.do{ m.open; 20.do{ m.writeLine( Array .fill( 10, { 1.0.rand })); 0.25.wait; }; m.close; 1.0.wait; }; "done" .postln; }).play; n = MultiFileReader .new ...

  9. ScalarField Quark

    ... g the type of dim and a link to its help file. Default value is nil. Doing Some Task (optional) A short bit of prose explaining something about the task. value (vector, t) Short prose description of method. vector - Explanation of vector. D ...

  10. MultiFileWriter Quark

    ... thDir +/+ PathName(curfn).fileName; curFile.close; fork{ //"closing".postln; // Task({ if ( zipSingle ){ ( //"mv" + tempfn + curfn ++ ";" + "gzip" + curfn ++ ";" // + "rm" + newf // file is removed automagically ).systemCmd; newf = curfn ++ ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow