-
... 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 ...
-
... , 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 ...
-
... . 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. / ...
-
... 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 ...
-
... .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, ...
-
... 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 ...
-
... 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 ...
-
... - 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 ...
-
... 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 ...
-
... ^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, ...