-
... ,uv,pen; var font,black,h,w; *new { arg def,parent,bounds; ^super.new.def_(def).gui(parent,bounds) } gui { arg parent,bounds; if(parent.notNil,{ parent = parent.asFlowView(bounds); uv = UserView(parent,bounds ?? {parent.indentedRemaining}); ...
-
... ; MKtlDevice.allAvailable // now also shows the opened 'osc device' // create a gui for the osc device: m.gui; // post incoming data m.trace; n = NetAddr.new( "127.0.0.1", NetAddr.langPort ); // send messages: n.sendMsg( "/button/off" ); n. ...
-
... ns that the graph sequence is finished. No loop {this.removeActant(more[4]) } } gui { arg step = 35, controlNum ; RunnerGUI.new(this, step, controlNum: controlNum).connectAllActants } clock { arg x = 0, y = 120 ; GeoClock.new(this, x, y) } ...
-
// contributed by gil fuser /* * todo: * test on osx * add gui layout MKtl(\x, "*mpk*2").gui; MKtl(\x).trace; */ ( deviceName: "MPKmini2", protocol: 'midi', deviceType: 'midiKeyboard', elementTypes: [\knob, \key, \pad, \bend], status: ( lin ...
-
MxTimeGui : ObjectGui { var <from, <to, <maxTime, zoomCalc, playZoomCalc; var xScale; var <>laneHeight=150; var zoom, timeRuler, updater, units; guiBody { arg parent; var i = 0, width, focusColor, kdr, makeSidebar; var sidebarSize = 100, bu ...
-
... var <>beginDragAction; *initClass { Platform.case( \osx, { StartUp.defer({ if( GUI.id == \cocoa ) { SynthDef( "UDragSource_mouseState", { var state = MouseButton.kr( 0, 1, 0 ); FreeSelf.kr( HPZ1.kr( state ) < 0 ); }).writeOnce }; }) } ); } ...
-
... ( \degree , x.trace, \octave , 0, \dur ,0.25 ).play; ) By using a Patch you get gui sliders to try out different settings. You should examine the source code at the same time. ( Sheet ({ arg f; Instr .leaves( 'degreeStream' ).do({ |instr| A ...
-
... ; a = FlowView(w,Rect(0,0,200,200)); b = FlowView(b,Rect(0,0,200,200)); "hello".gui(b); b.background = Color.blue; a.background = Color.white; // the blue view disappears b.remove(true); // now reflow b.decorator.reflow; // bounds checking ...
-
... parent, bounds, data, specX, specY) returns a new ScatterView parent the Parent GUI element bounds the bounds (a Rect) data the data; format: [[aX, aY],[bX, bY],[cX, cY],[dx, dy], ... ] specX the ControlSpec indicating the Specification of ...
-
... ncher.scd. Everything the launcher did // by hand — server options, load order, GUI start — is now in the Dorota // class, so this file is just a demonstration. /////////////////////////////////////////////////////////////////////////////// ...