-
... ze: 2048, ratio: 2, numOscs: 5, detune: 1.008 ) * 0.1).dup }.play; ) a.free; // hacking a triangle --> sawtooth wavetable ( f = SoundFile.openWrite("~/tri-saw.wav".standardizePath, "wav", "float", 1, 44100); if(f.notNil) { var wt = Signal.n ...
-
... Array(s.size + t.size + 1); while{ (sourceIndex >0) && (targetIndex >0) } { // hack in a preference for contiguous characters // so txtest -> test takes txTEST rather than TxtEST if (s[sourceIndex-1] == t[targetIndex-1]) { sourceIndex = so ...
-
... the lines steps.do({ |i| Pen.moveTo(0@((radius * 0.92).neg)); // formally 1.08, hack to allow SpatioScope to overlay Pen.lineTo(0@((radius * 1.06).neg)); Pen.moveTo(0@0); Pen.color = Color.black; Pen.stroke; Pen.rotate((2pi/steps)); }); } / ...
-
... iFrames); 2.do{centerPosSlider.setSpanActive(loSlider, hiSlider)}; // 2.do = hack... }; // Open Button openButton = Button.new(win, Rect(460, 20, 110, 30)) .states_([["open new file", Color.black, Color.gray]]) .action_({ ...
-
... w is created by me, take all space // in the window. bounds = nil; }; // simple hack. If the window class' name starts with a // J as in JSCWindow, we don't need to defer GUI signals. // see automation.defer(). if (("" ++ win.class)[0] == $ ...
-
... ^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, ...
-
... etList.items.removeAt(presetList.value); presetList.items = presetList.items; //hack? to .refresh does nothing... } removeFromSurface {|argSurfaceItem| canvasItems.remove(argSurfaceItem); argSurfaceItem.removeSelf; surfaceView.refresh; } no ...
-
... ts. // Then users can do "p.document2" and get a working code string. // It's a hack, but I'm under some logistical constraints. + AbstractPlayControl { storeOn2 { | stream | source.storeOn2(stream) } } + Symbol { isBasicOperator { ^#['+', ...
-
... rParmStreams = ~instrParms.collect(_.asStream); Pchain( // incredibly pointless hack follows Pfunc { |ev| var i = ev[\bufIndex]; if(~instrParms[i] !== ~saveInstrParms[i]) { ~saveInstrParms[i] = ~instrParms[i]; ~instrParmStreams[i] = ~instrP ...
-
... ctionality is currently unavailable when using computer keyboard (unless using 'hacks'), due to the current implementation of Qts keyboard response to held keys. See https://github.com/supercollider/supercollider/issues/6466 . playKey , sus ...