-
// a gui for displaying status messages on a gui window // I added some hacks to String-post and -postln, which slows down things just slightly // but it's worth it to have the flexibility of displaying main output on the gui // primitive o ...
-
... 60 * pi).abs, sin(this.frame / 60 * pi).abs ); }; // super.drawFrame "override hack" super.drawFrame; Pen.fillColor_(thisCurrentBackgroundColor); Pen.fillRect(super.interactionRect); Pen.fillColor_(Color.red); Pen.strokeColor_(Color.white) ...
-
... eOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ // a quick hack to get around the NodeWatcher bug in current sc NodeActionKeeper { classvar <>freeDict, <>startDict; *initClass { freeDict = IdentityDictionary(); startDic ...
-
... } *controlNames{|key| // get controlNames by instatiating a temporary SynthDef (hack!) ^SynthDef(\tmp, presets[key], [\ar, \kr]).allControlNames } *ar {|key(\reson), in, sreim| uninitialized.if{ this.init; }; ^presets[key].value(in, sreim.k ...
-
... t, r2Result, assertIdentical, assertNotIdentical; ////////////////////////// // Hack: UnitTestScript doens't properly set nowExecutingPath, so we have to do it manually. var oldPath = thisProcess.nowExecutingPath; thisProcess.nowExecutingPa ...
-
... eturnFunc; *new { ^super.new.init } install { | argSteno | steno = argSteno; // hack to get beging and return funcs w/o modifying Steno beginFunc = steno.diff.beginFunc; returnFunc = steno.diff.returnFunc; steno.diff = this; } init { prevTo ...
-
... abCommon.hpp # Config.cpp # Config.hpp # Record.hpp # SizedPointer.hpp ) # Ugly hack to include the base64 object file but this seems to be the only # way to get this thing to link. #add_library(confab_common ${confab_common_src_files} ${BA ...
-
... SC.views[(43..49)].do{|v| v.view.enabled_(false)}; // dim unused analog ins /// hack in led displays: // orig // g.guiXOSC.views[27 + (0..15)].do { |elvw, i| // elvw.view.view.drawFunc = { |vw| // var value = elvw.element.value; // var colo ...
-
... hat plays two pitches, e.g. one for an osc and another for a filter // bit icky hacking done here { var parms = Fact(\melBP).v[\chuckParms].copy; parms.putAll(( ffreqCtl: { ~ffreqCtl }, rootOctave: { ~rootOctave }, defaultParm: \filtDegree, ...
-
... e `Neutral` class should some day be a built in class, this implementation is a hack. In the Ruby language, there is a class `BasicObject`. Possible name alternatives for classes once included in sclang could be: - `AbstractObject` (now Neu ...