-
... eld(win, Rect(85, 3, 150, 20)) .string_("name") .stringColor_(Color.gray(0.5)) .background_(palette.color('base', 'active')) .focus(false) // Prevent automatic focus on startup .action_({ | field | var text; text = field.string; sources.get ...
-
... new( "TSP" , Rect (300, 300, 500, 500)); view = UserView (win, win.view.bounds).background_( Color .black) .drawFunc_ ({ var fittest = gaInstance.genePool[0]; points.do ({ |pnt, cnt| Pen .color = if(cnt == 0, { Color .red; }, { Color .white ...
-
... requency (Hz)"; var as= "Amplitude (uV)"; win.view.minSize= Size(502, 145); win.background= Color.white; win.drawFunc= { var wb= win.bounds; var ub= usr.bounds; var step; Pen.smoothing= false; Pen.color= Color.black; Pen.stringAtPoint("FFT ...
-
... nt(); var mainVolume; var mainReverbElement= SGUIelement(); var mainRecord; var backgroundImage; var win= Window("sFormant", winRect); win.layout= HLayout( VLayout( //--amplitude control section StaticText().string_("Amplitude control"), VL ...
-
... Samp.bufenv. \gate - 0, 1 setting to 0 releases the playback ****/ // some more background on how things work: VGSamp .verbose; // determines whether VGSamp posts info or not. VGSamp .verbose_( false ); // is quiet VGSamp .verbose_( true ); ...
-
... ,250) .centerIn( Window.screenBounds).asArray ++ [800,250]) ) ).front; win.view.background_( Color.white .blend( Color.red(0.6), 0.25 ) ); win.drawHook = { |win| Color.red.set; Pen.width_( 30 ); Pen.strokeRect( win.view.bounds ); }; //win.d ...
-
... oint(0, 0); containers = List(0); this .acceptsMouseOver_(true) .drawFunc_({ // BACKGROUND super.drawBackground( super.backgroundColor ); if(thisDrawGridBG) { this.drawGrid( thisGridSize, bgGridColor, bgGridWidth ); }; if(thisDrawDotGridBG) ...
-
... 0.2)) .valueThumbSize_(4.0) .indexThumbSize_(10.0) .gap_(6) .canFocus_(false) .background_(Color.white) .action_({arg xb; cFreqWin.string_(freqList.at(xb.index).asString); bandSynthList[xb.index].set(\amp, xb.value.at(xb.index)); }); GUI.s ...
-
... le", Rect(rrand(0, 50), rrand(10, 500), width, height), false ).front; win.view.background_(Color.new255(240, 240, 240)); // grey win.view.decorator=FlowLayout(win.view.bounds, (edge/2)@(edge/2), edge@(edge/4) ); }); radius = size/2.25; set ...
-
... 65, 90, 150,210)); z.view = SCCompositeView (z.win, Rect (5,5,140,185)); z.view.background = Color .gray(0.6); z.view.decorator = FlowLayout (z.view.bounds); z.knob = EZKnob (z.view, 120@40, "barks" , [0.0,1.0, \linear , 0.001, 0.0, ].asSpe ...