-
SWDataSlotClientGui : SWDataSlotGui { var <sub,<get; var <xsize = 185; addSubButton{ sub = GUI.button.new( cw, Rect( 0, 0, 25, 16 )).states_( [ [ "Sub", Color.blue ], ["Uns", Color.red ] ] ).action_( { |but| parent.subSlot( slot.id, but.val ...
-
... ndow and draws. Mainly for testing. Arguments: bounds a Rect that define window size and position background a Color . plot Creates a Window and an Image . Also mainly for testing. Arguments: width in pixels height in pixels . drawFunc . ma ...
-
... eSym, values), reset); avg = AverageOutput.perform(rateSym, values.sum / values.size, reset); [avg, min[0], max[0]]; } } defaultValueFunc { ^this.class.minMaxAvgFunc } defaultInputFunc { ^{ DC.kr(0) } } inputFunc_{ |func| if (func != inputF ...
-
... tlDesc.loadDescs( "*-z2"); z.free; z = MKtl(\z2, "*-z2"); z.gui; z.elementsDict.size; z.postElements */ ( deviceName: "Traktor Kontrol Z2 Input", protocol: 'midi', deviceType: \mixer, elementTypes: [\fader, \button], status: ( linux: "unkno ...
-
... lt.options.copy .loadDefs_(false) .verbosity_(-1) .numOutputBusChannels_(2) .memSize_(262144); outputFilePath = PathName.tmp +/+ "runOne.aiff"; fullCmd = Score.program + " -N" + scorepath + "_" + outputFilePath.quote + "44100 AIFF int16" + ...
-
... stribution. ( var randomNumbers, histogram, distribution, randomTable, randTableSize=200; var minValue = -250, maxValue = 250, numVals = 10000, numBins = 500; // create some random distribution with values between 0 and 1 distribution = Arr ...
-
... truments.collect{|name| [name, \onOff, 1-view.value]}); }, { if(activeDict.keys.size>0, { sendOsc.value([activeDict.keys.asArray, \onOff, 1].flop); }); }); }; //--network setupOscResponders= { oscResponders= [ OSCFunc({|msg| iOnOffDict.put( ...
-
... ^numChannels.collect({ |i| this.new1( \ar, id + i, endPoint ); }).returnFirstIfSize1; } *kr { |id = 0, numChannels = 1, endPoint = false| ^numChannels.collect({ |i| this.new1( \kr, id + i, endPoint ); }).returnFirstIfSize1; } *new1 { |sele ...
-
... xpand ( exp ) Expand the view, i.e. create or remove a big version of the GUI. ysize ( ) Vertical size of the view w ( ) The main window or the parent of the GUI. w_ ( ) private - should only be called from within the *new method node ( ) n ...
-
... l elements in the group (nested if group is nested) m.gui; g.value; g.elAt(\tr).size; // 11 buttons in tr g.elAt(\tr).value = 11.collect { 2.rand }; // 11 buttons in tr ⧉ ✔ . deviceValue get and set the deviceValue of all elements in the gr ...