-
... e python call e = ( lang: \python, languages: ( python: // code is the incoming string, event is the event for parameters and output {|code, event| var input, pipe, output; code = e[\prefix] ++ "print" ++ "(" ++ code ++ ")"; input = "python ...
-
... var server, config, jsonPath; setUp { var dataDir = this.class.filenameSymbol.asString.dirname +/+ "data"; jsonPath = ( valid: dataDir +/+ "valid.json", invalid: dataDir +/+ "invalid.json", ); server = Server(this.class.name); config = Sati ...
-
... Reloading buffer %".format(key)); bufs[key].free; bufs[key] = nil; obj.isKindOf(String).if({ this.pr_loadBufferFromPath(key, obj, cue); }, { this.pr_loadBufferFromCollection(key, obj, cue); }); }, { home.log(\PlonkSoundSupport, "Buffer alre ...
-
... il).postln; //DPR.dpr("curRoundIndex", curRoundIndex); //fitnessClumps.asCompileString.postln; if(curRoundIndex == 0, { //"curRound finished".postln; thrCondition.test = true; thrCondition.signal; if(fitnessClumps.flat.includes(nil).not, { ...
-
... ation strokeColor, fillColor colors for stroke and fill. These can be a Color a String or Symbol with a color name ( e.g. "light_blue" or "#0000FF" ) "none" or nil strokeWidth defaults to 1. SVGLine ( 200, 200, 150, 10, "my line" , "dark_re ...
-
# escape-html Escape string for use in HTML ## Example ```js var escape = require('escape-html'); var html = escape('foo & bar'); // -> foo & bar ``` ## Benchmark ``` $ npm run-script bench > escape-html@1.0.3 bench nodejs-escape-html > nod ...
-
... 2)); name = inName; Button(comp, Rect(2, 2, 90, unitHeight)) .states_([[name.asString]]) .font_(Font(*["Helvetica", 24])); editorNames.do { |name| Button(comp, Rect(0,0,90,unitHeight)) .states_([[name]]) .font_(Font(*["Helvetica", 16])); } ...
-
... Color.blue; d = StaticText(c,Rect(0,200,300,40)); d.background = Color.white; d.string = "the yellow scroll should be in the top left corner of the blue compostive view"; // although its parent is relativeOrigin, the scroll view does not po ...
-
... } setViews { |inSndFile| views[ \path ].value = inSndFile.path; views[ \path ].stringColor = if( inSndFile.exists ) { Color.black; } { Color.red(0.66); }; if( inSndFile.respondsTo( \hasGlobal ) ) { { views[ \hasGlobal ].visible = true; }.d ...
-
... ; uvw !? _.refresh; } isSliced { ^slices.size > 0 } fillInfoViewIdle { infoView.string = " dur: % / %".format( soundFile.numFrames, soundFile.duration.asSMPTEString(1000) ); } elasticMode_ { |bool = true| elasticMode = bool; if( infoView.me ...