-
... { arg lay, name; name.notNil.if({ GUI.staticText.new(lay, Rect(0, 0, 100, 20)).string_(name); }); view = GUI.rangeSlider.new(lay, Rect(0, 0, 200, 20)) .action_({ arg v; model.lo_(model.spec.map(v.lo)); model.hi_(model.spec.map(v.hi)); }) . ...
-
... g item, i; res = res ++ Array.fill(weights.wrapAt(i) ? 1, item); }); ^res } } + String { left { arg len; ^this.copyRange(0, len-1) } mid { arg start, len; ^this.copyRange(start, start + len - 1) } right { arg len; ^this.copyRange(this.size ...
-
... 190, 190); ~pap = StaticText(~papa, Rect(10, 3, 325, 26)) .string = "PAPA"; ~pap.background = Color.new255(190, 190, 190); ~pap.align = \center; ~pap.font = Font("Abadi MT Condensed Extra Bold", 20); ~pap.stringColo ...
-
... reaming events, post only this key. printStream (describe argument here) prefix string added to the printout to separate different streams. Returns: Original values Inherited class methods Instance Methods . storeArgs . embedInStream ( inva ...
-
... { image.value( bounds ); }); this.initSCImage( tempImage ); } { (image.class == String) && { (tempImage = SCImage( image )).notNil } } { this.initSCImage( tempImage ); tempImage.free; }; if( nsobject.notNil ) { all[ image ] = this; } { "Cur ...
-
... channels dropdown - INPUT CHANNEL GUI.staticText.new(win, Rect(10, 9, 40, 16)).string_("in"); GUI.popUpMenu.new(win,Rect(35, 10, 50, 16)) .items_(if(channels==1, {monoChList},{stereoChList})) .value_(params[0]) .background_(Color.white) .f ...
-
... about what chord belongs to what tonality and create sequences of chords from a string of roman degree numbers: In this string, each line represents a tonality and FUNDAMENTAL,MAJOR/MINOR, separeted by a colon. After this a sequence of roma ...
-
... { arg lay, name; name.notNil.if({ GUI.staticText.new(lay, Rect(0, 0, 100, 20)).string_(name); }); view = GUI.rangeSlider.new(lay, Rect(0, 0, 200, 20)) .action_({ arg v; model.lo_(model.spec.map(v.lo)); model.hi_(model.spec.map(v.hi)); }) . ...
-
... Synth ( "withControls" , [ \freq , 440, \beatFreq, 0.5, \mul , 0.1]); or as as strings (an array of characters) Synth ( "withControls" , [ "freq" , 440, "beatFreq", 0.5, "mul" , 0.1]); Either way, the pattern is [ controlName, value, contr ...
-
... kLabel = {|parent, label, width| label = if ("nil".matchRegexp(label.asString)) { "" } { label }; StaticText(parent, width@30) .string_(" " ++ label) .align_(\topLeft) .font_(Font("Arial", 9)) .stringColor_(Colo ...