-
... ndleError without stacktrace +Function { algaHandleError { | error | error.errorString.postln; this.halt; } } //Essential for 'c5' / 'a16' busses not to be interpreted as an Array! +String { isNumberOrArray { ^false } //isArray would be tru ...
-
... ffers allocated".warn; }); ^resultBuf; } *getGlobVar {arg buf; var bufIndex, bufString; bufIndex = BufferSystem.bufferArray.indexOf(buf); bufString = BufferSystem.globVarArray[bufIndex]; ^bufString; } *getGlobVarArr {arg bufArr; ^bufArr.col ...
-
... s://github.com/mesjetiu/SynthiGME"; StaticText(window, Rect(10, 10, 380, 180)) .string_(aboutText) .align_(\center) .font_(Font("Helvetica", 12)) .palette_(QPalette.dark); window.view.palette_(QPalette.dark); SGME_GUIShortcuts.makeShortcuts ...
-
... enuItems, submenu; if( item.isKindOf( Symbol ) ) { MenuAction.separator( item.asString ); } { menuItems = item[1].collect({ |def| var checked; checked = matchTest.value( def ) ? false; if( checked ) { includesChecked = true; }; if( def.isKi ...
-
... (msg.notNil, { postln(msg); labelErrorMessage.visible = true; labelErrorMessage.string = msg; },{ labelErrorMessage.visible = false; }); } loadState { |state| var index; this.setErrorMessage(nil); selectedMIDIInName = state[\selectedItem]; ...
-
... tions, <>title; var <>menu, <>menuActions, <>indexOffset = 0; var <>valueChangesString = true; *new { arg parent, bounds; ^super.new.init( parent, bounds ); } init { |parent, bounds| view = StaticText.new( parent, bounds ); view.setProperty ...
-
... iew.bounds.width) / max(messSize, 32); txtView.font_(Font("Monaco", fontSize)) .string_(message.asString); }; this.animate; } *animate { |dt=0.2, n=12| var colors = [Color.red, Color.green, Color.blue]; Task { n.do { |i| try { txtView.strin ...
-
... |vs| vs[0].setSpan(vs[1].map(value[0]), vs[1].map(value[1])); }; } } SGUIelementString : SGUIelement { initSGUIelement { value= ""; lastViewValue= ""; viewsSpecs= List.new; } addView {|view| viewsSpecs.add([view, nil]); view.action= {|v| va ...
-
... applying 'symplay' instead of 'play'. See also: Psym , PLx and live coding with Strings Creation / Class Methods *new (pattern, dict, maxNull) Creates a new PsymNilSafe object. pattern expects a pattern of Symbols, dict the lookup dictionar ...
-
... tr = "\n ~out = { LFNoise2.ar(3000 + exprand(1.0, 2000), 0.1) }; " ; // example string EnvirDocument (a, "a", str); EnvirDocument (b, "b", str); )