-
... der = StaticText( comp, comp.bounds.moveTo(0,0) ) .applySkin( RoundView.skin ) .string_( " units" ) .align_( \left ) .resize_(2); io = SmoothButton( comp, Rect( comp.bounds.right - 40, 1, 40, 12 ) ) .label_( "i/o" ) .radius_( 2 ) .backgroun ...
-
... 2"] o.saveStateGUI o.loadStateGUI true && true "hola".endsWith("la") "holita"[] String o = SynthiGME().run o.run o = SynthiGME() o.version o.run ( var num = 7; (62.5*(2**(num))).ceil.asInteger ) -4.sign 0.sign Quark("SynthiGME").update o.mo ...
-
... ~nrpnNum.value; var nrpnValue = ~nrpnValue.value; if (nrpnValue.class == String) { if (nrpnValue.beginsWith("c")) { nrpnValue = Bus.new('control', nrpnValue[1..].asInteger, 1, s).getSynchronous(); }; }; nrpnValue = nr ...
-
... coreView; var <header, <>views, <scoreEditorController, <scoreController; var <>stringColor; *new{ |parent, bounds, scoreView| ^super.newCopyArgs(scoreView).init(parent, bounds) } init{ |parent, bounds| this.makeGui(parent, bounds); this.ad ...
-
... ook at the code. The first bit, "Hello World!" , is a kind of Object , called a String. An object is basically just a way of representing something in the computer, for instance a bit of text, or an oscillator, that allows you to control it ...
-
... ing: unit_ \n%\nis already being used by\n%\n".postf( this.class, this.asCompileString, this.unit ); }; } { allUnits[ this ] = nil; // forget unit }; /* case { unit == aUnit } { // do nothing } { unit.isNil } { unit = aUnit; unitArgName = n ...
-
... nd true for Event . e = Environment[ 'someVariable' -> 5, 'printMe' -> { |self, string| string.postln } ]; e.know = true; ⧉ ✔ More typically, Events are used to define such prototypes because the syntax is simpler. e = (someVariable: 5, pri ...
-
... henResized url interpolation saving and archiving write rendering plot draw drawStringAtPoint drawAtPoint drawInRect tileInRect Instance Methods / accessing and setting pixels setPixel getPixel setColor getColor pixels loadPixels setPixels ...
-
... posting several values, some more verbose posts can be useful. postf formats a string and inserts values for %-characters. here separate statements are needed. var n = 8, x = 0; (1..n).do { |num| x = x + num.squared; "num: % num-squared: % ...
-
... delimited data; 123;;4; 0.5;0.6;0.7 " ); f.close; ) // open file, read and put strings into array, close file. x = SemiColonFileReader.read("SemiColonTest.sc").postcs; // can skip empty lines: x = SemiColonFileReader.read("SemiColonTest.sc ...