Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... a, b], 2) }); // a, b default to 0,1 x = Pn (a, inf ).asStream; 10.do { x.next.postln }; Post .nl; e = (a:100); 10.do { x.next(e).postln }; Post .nl; e = (a:100, b:200); 10.do { x.next(e).postln }; ) PlazyEnvir used to produce a Pbind: ( S ...

  2. Pipe Help

    ... ntents in long format l = p.getLine; // get the first line while({l.notNil}, {l.postln; l = p.getLine; }); // post until l = nil p.close; // close the pipe to avoid that nasty buildup ) A more time-intensive request: ( var p, l; p = Pipe .n ...

  3. DebugNodeWatcher Help

    DebugNodeWatcher Posts when these messages are received from the server: n_go n_end n_off n_on s = Server .default; s.boot; d = DebugNodeWatcher (s); d.start; y = Group .new; y.free; d.stop;

  4. modulo Help

    ... uts a modulo b. The modulo is the remainder after dividing a by b. 5%3 //should post 2 19.1%6.4 //also works on floats { FSinOsc .ar(100, 4) % 1 }.play // results in a sawtooth wave

  5. Polymorphism Help

    ... ss overrides 'value', the object will respond to 'value' by returning itself. 5.postln; // posts itself 5.value.postln; // value returns itself 'a symbol' .postln; 'a symbol' .value.postln; [1,2,3].value.postln; //etc... In class Function t ...

  6. Groups Help

    ... th .tail(h, \default ); // add x to the tail of h s.queryAllNodes; // this will post a representation of the node hierarchy x.free; h.free; g.free; 'queryAllNodes' and node IDs Server has a method called 'queryAllNodes' which will post a re ...

  7. Quarks Help

    ... d. If so, move the 'quarks' folder into this directory: // execute this code to post the directory path Platform .userAppSupportDir (note: do not place it inside Extensions. If you place all of them inside extensions, then they will all be ...

  8. SkipJack Help

    ... a number stopTest - a test whether to stop the task now name - is only used for posting information clock - the clock that plays the task. default is AppClock , so SkipJack can call GUI primitives. If you need more precise timing, you can s ...

  9. Library Help

    ... are putting in here" ); Library .at( \multi , \level , \addressing , \system ).postln; Library .atList([ \multi , \level , \addressing , \system ]).postln; The Library can be used as a place to store data that you want globally accesible. ...

  10. SymbolicNotations Help

    ... e done and performance will be slower. a = 1; a == 1 and: { "second condition" .postln; [ true , false ].choose } second condition true a == 1 or: { "second condition" .postln; [ true , false ].choose } true a != 1 and: { "second condition" ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow