-
/* /* todo: * proper indexing of 8x8 pads, * labels for buttons: - up, down left right buttons, - fader ctrl: volume, pan, send, device - sceneLaunch: ... - gui layout of all of them */ a = MKtl('apc1', "akai-apcmini"); a.gui; a.elementAt(\ ...
-
... abels; -------- THE LAYOUT: ---------- main volume : big slider play/stop slot: buttons A 1-4 set relative influx: 8 knobs set volume per slot: encoder 1-4, press down and turn set preset per slot: encoder 5-8, press down and turn set sound ...
-
... the elements are in a group and organized hierarchically: k.elementGroup // the buttons are a group in elementGroup k.elementGroup[\bt] // hierarchical access works best with elAt: k.elAt(\bt); // all buttons k.elAt(\sl); // sliders k.elAt( ...
-
ProxyChainGui : JITGui { var <guiFuncs; // move to classvar! var <butZone, <buttonSpecs, <buttons, <namedButtons, <specialButtons, <editGui; *new { |chain, numItems = 16, parent, bounds, makeSkip = true, options| options = options ?? { if ( ...
-
... "Oxygen 49", protocol: 'midi', deviceType: 'keyboard', elementTypes: [\fader, \button, \knob, \key, \bend], status: ( linux: "working, no gui", osx: "unknown", win: "unknown"), idInfo: "Oxygen 49", deviceInfo: ( vendorURI: "http://www.m-au ...
-
... several web pages. To do this, we can combine two simple building blocks : some Button s, and a StackLayout . A StackLayout allows to insert several graphical contexts on top of each other , as you would pile some drawings on top of each ot ...
-
CollapseView : SCViewHolder{ classvar <>defaultMinHeight=25; var buttonBounds, button,<>offset=2,>minHeight,>buttonScale=0.5, >buttonEq=false; *viewClass { ^CompositeView } *new { arg parent, bounds, buttonBounds; ^super.new.init(parent,bou ...
-
... . In a first step we create a description for an OSC device which has a single button, and uses specific, non-standard port numbers, therefore emulating a device completely independant of SuperCollider similar to the "fake" senderAddr in t ...
-
... 1').get('volume') == -4 } ); // The source decides the channel: typed, menu and button on radpost // (volumes -1, -2, -3), gui, hid and osc on radpostcont (-4, -5, -6). ~radTest.("radcode-sources", setup: ["start 2"], code: { [\typed, \menu ...
-
... 0+4); } *font { ^GUI.font.new(\Helvetica, 10); } setupNameView { nameView = GUI.button.new(layoutView, Rect(0, 0, 80, 16)); nameView.font = CtlView.font; nameView.states = [[ctl.displayName, Color.black, basicColor]]; nameView.action = { ar ...