-
... Gen,\kr),[ note,octave ]) } // storeArgs { ^[note,octave] } //TODO //asStream //guiClass { ^Midi2FreqGui } } /* Midi2FreqGui : KrPlayerGui { guiBody { arg layout; CXLabel(layout.startRow,"note:"); model.note.gui(layout); CXLabel(layout.star ...
-
AbstractPlayerGui : ObjectGui { gui { arg parent,bounds ... args; var layout,inner; layout = this.guify(parent,bounds); if(parent.isNil,{ // top level controls this.synthConsole(layout); this.saveConsole(layout); layout.startRow; }); inner ...
-
AbstractPlayerGui : ObjectGui { gui { arg parent, bounds ... args; var layout, inner; layout = this.guify(parent, bounds); if(parent.isNil, { // top level controls this.synthConsole(layout); this.saveConsole(layout); layout.startRow; }); in ...
-
... .storeArgs }, load: { arg data; MultiSplineFr(*data) }, spec: { ~source.spec }, gui: { arg layout; ~source.gui(layout, 900@700) }, timeGui: { arg layout, bounds, maxTime; ~splineGui = MxMultiSplineTimeGui2(~source).gui(layout, bounds, nil, ...
-
... (1..8).collect { |j| (str ++ j).asSymbol } }; lastVals = (); ^this } mapToEnvirGui { |gui, scene, indices| var elementKeys; indices = indices ? (1..8); elementKeys = orderedCtlNames[indices - 1].postcs; elementKeys.do { |key, i| this.mapCC ...
-
... closing devices: // connect gamepad, use twice a = MKtl('a', "*drive").trace; a.gui; b = MKtl('b', "*drive").trace; b.gui; // close a - b should still work: a.free; // connect nanokontrol2, use twice MKtl(\nk2, "*trol2").trace; MKtl(\nk2B, ...
-
... UScore(*f).cleanOverlaps; // put them in a score, cleanup overlapping tracks x.gui; ) //short ( f = 120.collect({ |i| var evt; var start = rrand(0.0,10.0); var dur = rrand(0.1,0.5); evt = UChain(start,0,dur,\pulse, \wfsSource ).fadeOut_(0. ...
-
... tedColor, width=20,height; ^super.new.init(layout.asFlowView, width, height ?? {GUI.skin.buttonHeight}, labelArrayOrQnty, action, color, selectedColor) } init { arg layout,x,y,arglabelArray,argaction, argcolorFunc,argselectedColor; action = ...
-
... edColor, width=20, height; ^super.new.init(layout.asFlowView, width, height ?? {GUI.skin.buttonHeight}, labelArrayOrQnty, action, color, selectedColor) } init { arg layout, x, y, arglabelArray, argaction, argcolorFunc, argselectedColor; act ...
-
... end point loops back to the first point ( b = BSpline ([0@0,1@1,3.2@2,4@4]); b.gui( nil ,1000@200); ) // edited splines can be saved: b.asCompileString interpolate returns points spaced evenly along the spline in 2D space b.interpolate(512 ...