-
//gui example with userview / pen graphics //only plotting accelerometer data ( var board= CytonSerial("/dev/tty.usbserial-DM00DRM0", initAction: {|b| b.start}); //edit here to match your board //var board= CytonWifi(NetAddr("OpenBCI_WifiSh ...
-
... , <prePostStats; var <chain, <displayChain, <xfViewChains, displayXFormView; // GUI layout - vars used by FoaXformView need getters var scrnB, sfWin, winW, winH, uv, pv, tv, ctlv, matrixButtonLayout, <codeWin; var xfWin, <chainViews, lastUp ...
-
... 9 ( //--settings var winRect= Rect(0, 60, 800, 120); //x, y, w, h var palette= SGUI.palette; var fnt= SGUI.font.copy.size_(10); var range= #[36, 96]; //minmax range in midinotes, first&last black keys are ignored //--functions and objects v ...
-
... rol in a Patch var <name, <bus, <server, <spec, <value, // internal to gc <allowGUI = true, // some controls should not appear in the window <proxy, // connections to other objects <parentProxy, // should be a voicerproxy <voicerIndex, // f ...
-
XiiStratoSampler { classvar livebufInstances; var bufInBufferDictFlag; var <>xiigui, <>win, params; *new { arg server, channels, setting = nil; if(server.serverRunning, { ^super.new.initXiiStratoSampler(server, channels, setting); }, { XiiA ...
-
... lient and sends controls to the server. This class might be moved into splines. GUI --- Spline GUIs may be placed on any window or view and even on another UserView. They can be zoomed in the X dimension for time-domain splines (for instanc ...
-
... the primary functions of your application separate from the particulars of your GUI, key commands, MIDI controllers, OSC and other input devices. This means you Don't Repeat Yourself (DRY) by having a view action and a key command do the sa ...
-
... ; (newNumControls > numControls).if{ "number of controls updated. please reopen GUI" }; numControls = newNumControls; } getSliderValues {|noOut = false| var envir; envir = (); usefulControls.do {|controlName, i| var ctlname = controlName.na ...
-
... sharing SynthDefs in a structured way Created by Dan Stowell 2009 SynthDefPool.gui */ SynthDefPool { classvar <global; var <poolpath, <dict; *new { |poolpath| ^super.newCopyArgs(poolpath).init; } init { dict = IdentityDictionary.new; (pool ...
-
... r the Automation class. Please first see Automation. This class can dock to any GUI element like a slider or a button, or anything else that satisfies below criteria, and make it subject to Automation's control: Live changes can be recorded ...