Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (100) Code (6) Doc (13) Help (1) Quark (80) SCDoc ↗ Forum ↗ Google ↗
  1. JITModPatch Quark

    ... prSave { |p| var file = CollStream.new, handle; var text, getDoc = { |cond| // hacking into Document internals a bit // the backend still exists for this, just "hidden" // in the official Document interface // Windows sometimes loses Docum ...

  2. mobile-objects Quark

    ... , time, addr, recvPort| if(~rdepth < 50) { ~rdepth = ~rdepth + 1; // pretty bad hack: this is the best way I can think of // for the GUI slider manager to reach this link object if(msg.isKindOf(Dictionary)) { switch(msg[\what]) { \getCtlVal ...

  3. SuperDirt Doc

    ... . NOTE: This system is experimental. Many examples can be found in the folders: hacks/ and scripts/ The examples suppose that environment variables are accessible. If you want to use ProxySpace or similar redirect environments, see below. / ...

  4. RedBMP Quark

    ... g/255, b/255, a/255); if(a==0, {cnt= cnt+1}); }; }; if(cnt==(width*height), { //hack. do not know why some images have alpha 0 (this.class.name++": all alpha was 0. flipping.").warn; data= data.collect{|c| c.alpha= 1}; }); }, {(this.class.n ...

  5. numberExtras Quark

    ... .collect{|p| p.highestPower(this, pitchRange)} } // this is like asFraction but hacked in order to handle rounding errors for // harmonic interpretation of periodic decimals (0.333 will be 1/3 and not 333/1000) asRatio {|denominator = 100, ...

  6. preprocessor Quark

    ... patString is the abstract generator's only argument ], name: "" )); // moderate hack: I should wrap the string in a patstring -> divider -> generator // but I'm lazy wrapArray = true; }; parsed.patStringNode.setTime(0, bpb); // write the co ...

  7. XiiSlicer Quark

    ... stln} }); // end loop { canvas.clearDrawing; canvas.refresh; }.defer(0.001); // hack** } mouseDown // handles mouse down on canvas { arg view, x, y, mod, button; var l, selectionflag; selectionflag = true; if ( (selected != nil) && (selecte ...

  8. core-synths Quark

    ... - BASED CORE SYNTHDEFS FOR DIRT (REQUIRED: CORE MODULES) these synthdefs can be hacked at runtime, but they are absolutely necessary for tidal to work correctly. Their name and parameter names shouldn't be changed. Parameter names can be ad ...

  9. MIDIPort Quark

    ... cResponders[130].setSync(pr, 127, \kbprs) }); } polytouch { arg pr, notenum; // hack: we need something to represent both the notenum and pressure // and it has to respond to '/' (for set/setSync) pr = (notenum: notenum, pr: pr, '/': { |sel ...

  10. ddwFilterPatterns Quark

    ... ^Pseq(outputs[level], 1).embedInStream(inval) } { // mondo sucko that I have to hack into the List outputs.array = outputs.array.extend(max(level+1, outputs.size)); outputs[level] = List.new; if(level > 0) { r { |inval| this.recurse(inval, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow