-
... edRect.insetBy(0.5,0.5); //selected outline if( selected ) { Pen.width = 2; Pen.color = Color.grey(0.2); this.drawShape(scaledRect); Pen.stroke; }; //event is playing if( event.isPlaying ) { Pen.width = 3; Pen.color = Color.grey(0.9); this. ...
-
... edRect.insetBy(0.5,0.5); //selected outline if( selected ) { Pen.width = 2; Pen.color = Color.grey(0.2); this.drawShape(scaledRect); Pen.stroke; }; //event is playing if( event.isPlaying ) { Pen.width = 3; Pen.color = Color.grey(0.9); this. ...
-
... edRect.insetBy(0.5,0.5); //selected outline if( selected ) { Pen.width = 2; Pen.color = Color.grey(0.2); this.drawShape(scaledRect); Pen.stroke; }; //event is playing if( event.isPlaying ) { Pen.width = 3; Pen.color = Color.grey(0.9); this. ...
-
... arView = CompositeView(window, Rect(0, 0, window.bounds.width, 35)).background_(Color.gray(0.8)); StaticText(barView, Rect(10, 10, 30, 20)).string_("Bpm:"); numBpm = NumberBox(barView, Rect(40, 10, 40, 20)).value_(120) .action_ ({|num| if(i ...
-
... ds Instance methods data refresh rotX rotY rotZ rot drawMethod symbolSize symbolColor isHighlight highlightItem highlightRange highlightColor highlightSize background Inherited instance methods Examples Authors Classes (extension) | GUI > A ...
-
GUI to generate scale- and arpeggio-like fragments in Just Intonation by jordanwhitede (jordanwhitede) Code
... ) }); // buttons // Start pattern buttons[0].states_([["Start Pattern", Color.black, Color.gray]]).action_({|obj| Pbindef(\pattern).play; y = Synth(\reverb, [\in, ~reverbBus]); }); // Stop pattern buttons[1].states_([["St ...
-
... nselect(model.selected); model.select(i); this.select(i); }; ind.states = [[" ",Color.green,Color.grey],[" ",Color.grey,Color.green]]; Tile(sf,layout,minWidth: minWidth); ind }); }); selectedBox = GUI.compositeView.new(layout,Rect(0,0,layou ...
-
... onnection; var <guiEnv; var prDefaultAction, <>wdgtActions, <background, <stringColor, <alwaysPositive = 0.1; var prMidiMode, prMidiMean, prCtrlButtonBank, prMidiResolution, prSoftWithin; var prCalibrate, netAddr; // OSC-calibration enabled ...
-
... different styles in action. Class Methods *run(dict, addr, rate, width, height, color, fullscreen, hideCursor, refresh) - dict is a Dictionary of drawing functions. addr is a NetAddr that determines where to listen. The default is nil. widt ...
-
... Size / sFile.numChannels), fArray.size].postln; fArray = fArray.collect({|item| Color.gray((item + 1) * 0.5).asInteger; }).as(Int32Array); tempImage = SCImage.color(argWidth, argHeight, Color.red); tempImage.pixels = fArray; fArray = nil; ^ ...