Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... xample (see end of page for more): c = CallOnce { |flag| if(flag) { "woking...".postln; "done:" + flag } }; c.value(true); // -> done: true (and posts "woking...") c.value(false); // -> done: true (nothing posted) ⧉ ✔ Class Methods CallOnce ...

  2. String Doc

    ... at ascii Comparing strings compare < '>> <= ='>>= == != Fuzzy string comparison Posting strings post postln postc postcln postf postcs error warn inform Interpreting strings as code compile interpret interpretPrint Converting strings asComp ...

  3. BBCutBufferSelector Quark

    ... ray[index].findevents(startpos, len); } trimevents {arg start, dur, input, pre, post, tempo; ^array[index].trimevents(start, dur, input, pre, post, tempo); } updateblock { arg block; index= (indexfunc.value(block, index).round(1.0).asIntege ...

  4. geoListener Quark

    ... sition', { arg time, resp, msg; ("x"+this.la+"y"+this.lb+"orient"+this.lorient).postln; }).add ; } gostraight { var x = cos(lorient); var y = sin(lorient); var xnosign = abs(x); var ynosign = abs(y); var signx = x/xnosign; var signy = y/yno ...

  5. extCollectionPost Quark

    /*+ Object { postll { arg level = 0; this.postln; } } + Collection { postll { arg level = 0; this.do { |item| String.fill(level, Char.tab).post; item.postll(level + 1) } } }*/

  6. Connecting_external_MIDI_devices Doc

    ... t to. // 2. find out which midi interfaces are there: MKtl.find(\midi); // this posts the 2 ports of the Fireface: // Available MIDIMKtls: // MKtl('myNickName', 'lookupName'); // [ midi device, portname, uid] ... MKtl('midi_2_fireface_400__ ...

  7. faderfox-uc4_pg_CCAh.desc Quark

    ... ncoming messages k.elementsDict.size; // how many elements are there in total k.postElements; // see all elements k.elAt.action = { |el| [el.name, el.value.round(0.001), el.deviceValue].postcs }; // display all elements k.elAt.action = nil; ...

  8. 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 ...

  9. 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 ...

  10. RadCodeLog Quark

    ... he seconds since the log started and its source: // typed, menu, button, hidcmd posted on radpost (main document) // gui, hid, osc posted on radpostcont (post window) // code called directly from SuperCollider code // ide run by hand in the ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow