-
/* The gui is controlled has a timer (SkipJack) attached. It checks whether the gui objects are out of sync with the proxy. If it is, it will copy the proxy's values to the gui objects' data space. */ OFX_ChainGui{ var <window, <chain, <gui ...
-
//simple gui example just displaying raw data using sliders and numberboxes ( var board= CytonSerial("/dev/tty.usbserial-DM00DRM0", initAction: {|b| b.start}); //edit here to match your board //var board= CytonWifi(NetAddr("OpenBCI_WifiShie ...
-
... e( UChain(0,0,6, \test, \stereoOutput), UChain(3,1,10, \test2, \stereoOutput) ).gui ) ( //change dur, run again var dur = 4; UScore( UChain(0,0,dur, \test1Rel, \stereoOutput), UChain(0,1,dur, \test2Rel, \stereoOutput) ).gui ) ( Udef(\test3R ...
-
... e( UChain(0,0,6, \test, \stereoOutput), UChain(3,1,10, \test2, \stereoOutput) ).gui ) ( //change dur, run again var dur = 4; UScore( UChain(0,0,dur, \test1Rel, \stereoOutput), UChain(0,1,dur, \test2Rel, \stereoOutput) ).gui ) ( Udef(\test3R ...
-
... ize == 0 } { "unknown command".postln } // open a .gra file { arr[0] =="o+" } { GUI.dialog.getPaths({ arg path ; // path here is an array of paths runner.open(path[0]) ; iopath = path[0] ; this.toLog(arr) ; // maybe remove it? })} // save a ...
-
... reEditor| ^super.new.init(scoreEditor, parent,bounds) } *current { ^UScoreEditorGUI.current !? _.scoreView } *spaceBarPlayAnyway_ { |bool = true| spaceBarPlayAnyway = bool; this.changed( \spaceBarPlayAnyway, spaceBarPlayAnyway ); } init { | ...
-
... .asSVGGroup( clear ) ] ); } } + Function { asSVGFile { |path| // works only for GUI.pen commands inside the function var currentScheme, file; currentScheme = GUI.current.id; GUI.fromID( \colpen ); this.value; GUI.fromID( currentScheme ); ^C ...
-
... , { |dens 30, amp = 0.1| Dust.ar([dens, dens], amp ) } ).play; // make a simple gui for it, NdefGui Ndef(\x).gui; // this guesses a range for the dens parameter; // one can also set the spec globally: Spec.add(\dens, [1, 1000, \exp]); // se ...
-
//gui example with userview / pen graphics ( var width= 640, height= 320; var numChan= 4; var chanHeight= height/numChan; var win, usr, frameCount= 0; win= Window("gui example userview", Rect(100, 100, width, height)).front; usr= UserView(w ...
-
... , bounds| bounds = bounds ? Rect( 0, 0, labelWidth + 100, height ); composite = GUI.compositeView.new( parent, bounds ); views = (); views[ \label ] = GUI.staticText.new( composite, Rect( composite.bounds.left, composite.bounds.top, labelWi ...