-
... [ "/dev/tty.usbserial-[0-9]*", "/dev/cu.wchusbserial[0-9]*", ]; //regexp var winRect= Rect(0, 70, 400, 175); //x, y, w, h var palette= SGUI.palette; var fnt= Font.monospace(10); //--functions and objects var sendOsc; var routine; var plate= ...
-
... roxy.editor }).notNil.if({ { midiDrag = GUI.dragBoth.new(voicerGUI.controlView, Rect(0, 0, 30, 20)) .align_(\center) .font_(GUI.font.new("Helvetica", 10)) .action_({ |rec| rec.object.tryPerform(\draggedIntoVoicerGCGUI, this); }) .beginDragA ...
-
... Period doesn't work, must be registered in case w = Window .new( "SupaSyntha" , Rect (20, 20, 300, 580)).front ; // you cannot know from outside width of the modules as it depedn on number of args // but height, yes, it's (step*3/5*6), --> ...
-
... font ?? { Font( Font.defaultSansFace, 12 ); }; window = Window( "UMenuWindow", Rect(0, Window.screenBounds.height - 30, 428, 30) ).front; window.addFlowLayout; sessionMenu = PopUpTreeMenu(window, 120@20 ) .font_( font ) .background_( Color ...
-
... font ?? { Font( Font.defaultSansFace, 12 ); }; window = Window( "UMenuWindow", Rect(0, Window.screenBounds.height - 30, 428, 30) ).front; window.addFlowLayout; sessionMenu = PopUpTreeMenu(window, 120@20 ) .font_( font ) .background_( Color ...
-
... ( // make a gui for it: e.makeWindow = { |env| var win, cnt; win = Window( "e", Rect( 128 + 100.rand, 300 + 100.rand, 400, 52 )).front; win.addFlowLayout; cnt = SimpleController( env ); win.onClose_({ cnt.remove }); // remove controller at ...
-
... 1.set(\t_trig, 1); 0.wait;})}.fork w=Window.new("spatOSCexamplePreset voicing", Rect(500, 30, 400, 140)).front; w.view.decorator=FlowLayout(w.view.bounds); w.view.decorator.gap=8@2; g = EZSlider(w, 380@20, "pitch ", ControlSpec(40, 110, \li ...
-
... 0.2, kY: 0.2, kT: 0.7, sdX: 0.2, sdY: 0.4, sdT: 0.6, ); w = Window("SC grids", Rect(100, 100, 400, 580)); ["hh", "sd", "k"].do({|instrument, num| Slider2D(w, Rect(20, 20 + (180*num), 150, 150)) .x_(0.5) .y_(0.5) .action_({|sl| q[\pattern][ ...
-
... t.isNil) { // ProxyMixer may be up to 1086 wide parent = Window(model.docTitle, Rect(100, 200, 1120, 600)) .userCanClose_(false) .front; iMadeWindow = true; if(bounds.isNil) { bounds = parent.view.bounds.insetBy(5, 5) }; }; view = View(pare ...
-
... G.height); this.resizeSVG; } resizeSVG { var buttonSize = min( super.interactionRect.width, super.interactionRect.height ); var hRatio = buttonSize / thisSVGSize.x; var vRatio = buttonSize / thisSVGSize.y; var width; var height; thisSVG.fre ...