-
... = { |i| b.(w, i) }!n; lay.nextLine; ks = { |i| StaticText(w, 30@30) .string_(k.findKeyForValue(i)) .align_(\center) }!n; kAct = { |c, v| c = c.asSymbol; (k.includesKey(c) != false).if{ ctl.(k[c], v); bs[k[c]] ...
-
... stop new forServer ifActive guiMsgsForSynth guiMsgsForSynthDef guiMsgsForBus cmdString prGuiMsgsFor Inherited class methods Instance methods msgs tail server remove filterBySynthDef filterBySynth filterByBus matchMsgs slinit sendMsg sendBun ...
-
... 8, 0.73); // blue d.colLabel = Color(0.97, 0.99, 1); // pale blue d.colLabelString = Color(0.03, 0.28, 0.43); // dark blue d.colHighlight = Color(1, 0.98, 0.67); // pale yellow d.colPlayActive = Color(0.47, 0.8, 0.17); // bright gr ...
-
// addition to Note.sc // part of wslib + String { asNote { |cents| ^Note(this, cents:cents) } } + SimpleNumber { asNote { ^if(this < 128) {Note(midi:this)} {Note(freq:this)} } } + Symbol { asNote { |cents| ^Note(this.asString, cents:cents) ...
-
... s . new creates a new SCImageKernel Arguments: shader optional. the shader code string. nil by default values optional. the values that match the kernel proc function defined in the shader string. nil by default bounds optional. not used fo ...
-
... not a verbatim copy from wslib.) + SequenceableCollection { asAscii { var out = String.new; this.do { |item| out = out ++ (item.tryPerform(\asAscii) ?? ""); }; ^out } }
-
+ String { curlMsg { |path, options| var expr; expr = "curl % %".format( options ? "", this.quote ); path.notNil.if{ expr = expr + "-o %".format(path.quote); }; ^expr; } curl { |path, options, action, postOutput = true| var msg = this.curlM ...
-
... use Server.default . . read Create a new player on a Server . Arguments: path A String pointing to a soundfile. server If nil it will use Server.default . Inherited class methods Instance Methods . read The server should be booted before re ...
-
... .value = i / q; s }); StaticText(v, Rect(0, 0, 55, 20)).background_(Color.rand).string_("Some Example Text").align_(\center); w.front ) ⧉ ✔ Stretching the layout view and the contents; if all the contents are elastic, the heights of the con ...
-
... oup { ^Group.basicNew(server, nodeId); } isSynth { ^false } isGroup { ^true } asString { arg indent = 0; var str, indentString = (" " ! indent).join(""); str = indentString ++ "+ Group: %".format(nodeId); ^str } == { |other| ^(this.class == ...