-
... fPos = 10@260 } { defPos = skin.margin; }; minSize = 300 @ (numItems + 1 * skin.buttonHeight + 4 + 120); } getName { ^try { object.name } ? "Republic" } accepts { |obj| ^obj.isNil ?? obj.isKindOf(Republic) } object_ { |obj| // should be use ...
-
... UI.skins.redFrik.foreground) .background_(GUI.skins.redFrik.background); } } RedButton { *new {|parent, bounds ...strings| var fnt= RedFont.new; if(strings.isEmpty, {strings= [""]}); bounds= bounds ?? {Point(strings.maxValue{|x| x.bounds(fn ...
-
... ) ); // open the score editor to see it: x.gui; // play the score (or hit play button in editor) x.prepareAndStart; // couple controller 1 (modulation wheel) on any channel to the frequency of the sine wave MIDIIn.connectAll; // needs to b ...
-
... el.action = { |el| NTMI.slots.actives[i].vol = el.value.squared; }; }; // set 4 buttons on page 1 to play/stop the 4 slots ~tos2.elAt(\bt).do { |el, i| el.elemDesc.put(\label, ("play_" ++ (i+1)).asSymbol); }; ~tos2.elAt(\bt).do { |el, i| el ...
-
... \sw, shared: (midiChan: 0, midiMsgType: \cc, 'spec': 'midiBut', 'elementType': \button), elements: [ (midiNum: 64, style: (row: 5, column: 0)), (midiNum: 0, style: (row: 6, column: 0)) ] ) ] ++ // the grid of pads + controls: (30, 35..65).c ...
-
... idth * 0.1, bounds.height * 0.1, bounds.width * 0.6, bounds.height * 0.6)); GUI.button.new(window, Rect(window.bounds.width * 0.05, window.bounds.height * 0.05, window.bounds.width * 0.2, window.bounds.height * 0.07)) .states_([ ["Start rec ...
-
... ame); openFuncs.removeAt(name); } setDefaults { |options| minSize = 170 @ (skin.buttonHeight * (numItems + 1)); // at the top - works in osx defPos = if (parent.isNil) { 250@5 } { skin.margin }; } winName { ^"AllGui" } makeViews { zone.resi ...
-
CueTriggerCP : AbstractGUIComponentCP { var <trigButton, <cueNumberBox, <lrgCueWin, <largeCueNumberDisplay, <largeInfoTextField, <infoDisplayTextField; var <drawList, <frameRate = 24, drawRoutine; setDefaultOptions { super.setDefaultOptions ...
-
... line text features: [ "8 velocity-sensitive pads", "8 knobs", "4 mode-switching buttons" // these do not actually send any data, but change modes ], notes: "use only recommended hardware mode PAD.", longName: "AKAI LPD8" ), elementsDesc: ( ...
-
HrButton : SCViewHolder { var isLearning, didLearnOn, didLearnOff, learnOnResponder, learnOffResponder, midiOnResponder, midiOffResponder, <boundOnMidiArgs, <boundOffMidiArgs, userCloseFunc; *new {|argParent, argBounds| ^super.new.prInit(ar ...