-
... (); } init{ //LAYOUT layout = HLayout( VLayout( StaticText().fixedSize_(512@12).string_("PDEF"), PdefAllGui(17).parent.view, StaticText().fixedSize_(512@12).string_("PDEFN"), PdefnAllGui(15).parent.view ), VLayout( StaticText().fixedSize_(5 ...
-
... umb.value.postln; }; ) ( f = { |keyStroke| // this function acts as if typing a string w.front; b.focus; { keyStroke.do({ |char| b.keyDown( char, 0 ); 0.25 .wait; }); 0.5 .wait; b.keyDown($\n, 0 ); }.fork; }; ) f.( "1+1" ); f.( "100*2" ); f ...
-
... .new("Audrey II", Rect(200, 200, 460, 480)).layout_( VLayout( StaticText().string_("Audrey II -- feedback drone synthesizer").align_(\center), HLayout( VLayout(StaticText().string_("Freq"), Slider().value_([16,72].asSpec.un ...
-
... @height. ( w = Window .new.front; a = StaticText (w, Rect (10, 10, 200, 20)); a.string = "an instance of String" ; ) Examples // basic usage ( w = Window .new.front; a = StaticText (w, Rect (10, 10, 200, 20)); a.string = "Rolof's Rolex" ; ) ...
-
... are preceeded by a backslash: $\t $\n $\r $\\ Symbols A symbol is written as a string enclosed in single quotes. examples of symbols: 'x' 'aiff' 'BigSwiftyAndAssoc' 'nowhere here' 'somewhere there' '.+o*o+.' A symbol consisting of a single ...
-
... proper umlauts in visualization ( var win, extX, extY, winRect, view, fontName, strings, numbers, countSpec, sizeSpec, alphaSpec, colorSpec, sFactor = 0.25; #numbers, strings = (d.flop); strings = strings.collect{|str| var y = "\"\""; str.d ...
-
... rop white space from beginning props = props.drop(-1); // drop last item (blank string) props = props.insert(0, line1.asString); properties = properties.add(props); }) }); }); ^properties; } *listTypes { ^"jack_lsp -t".unixCmdGetStdOut; } / ...
-
Pbindef( \strings, \instrument, "strings", \ctranspose, -6, \legato, Pseq([0.9, 0.5, 0.5, 0.9, 0.5, 0.5, 1], inf), \dur, Pseq([1, 1/2, 1/2, 1, 1/2, 1/2, 1], 1), \degree, Pseq([[-4, 7, 12], [-3, 6, 13], [-2, 5, 14], [-3, 6, 15], [-3, 7, 13], ...
-
... r.black); // ----- source panel top StaticText(gui.srctop, Point(70, 30)).string_("Source: ").font_(fontlrg); gui.srcID = StaticText(gui.srctop, Point(40, 28)).string_("0").font_(fontlrg).align_(\center); gui.srcPrev = Button( ...
-
... }) .canReceiveDragHandler_({ var obj; obj = View.currentDrag; if( obj.class == String ) { obj = { obj.interpret }.try; }; obj.respondsTo( \penFill ); }) .receiveDragHandler_({ if( View.currentDrag.class == String ) { chain.displayColor = V ...