-
... ) },{ e = f.asStream; d = Array.fill(100,{e.next}).reject(IsNil); if(c.isKindOf(ControlSpec),{ minval = d.minItem; maxval = d.maxItem; mean = d.mean; //d.do({ |g| g.postln }); this.assert( did = d.every({|val| c.canAccept(val) }),format("%: ...
-
... c RangeSpec minRange, maxRange; RichBufferSpec numChannels (number), numFrames (ControlSpec) BufSndFileSpec numChannels (can be array of numbers), numFrames (ControlSpec) DiskSndFileSpec numChannels (can be array of numbers), numFrames (Con ...
-
... y set an object's parameters + MKtlElement: * instrocuction of common types and ControlSpecs in MKtlElement.types * MKtlElement:elAt supports wildcards * MKtlElement:elAt supports multi-level expansion + MKtlElementGroup * groupAction + Cre ...
-
... ~maxValSlider = EZSlider( w, Rect(20, 160, 612, 40), "knob max", ControlSpec.new(-90,0,\lin,0.1,0,""), { |slider| ~numberBox.valueAction_((~knob.value * slider.value.dbamp).ampdb) }, 1, false, 120, 65, 0 ...
-
... over them ? // how can I send nil to stop all ? patter = MxInlet("pattern", 0, ControlSpec(0, player.app.numPatterns, step:1), MxSetter({ arg v; switcher.wrapSelect(v.asInteger); }), ); sips = sips.insert(0, patter); sips = sips.add( MxInl ...
-
... init { var mod = if (QtGUI.palette.window.asHSV[2] > 0.5) {-0.5} {0.3}; xWarp = ControlSpec(0, 1); history = LinkedList.newFrom(0 ! historySize); view = UserView().layout_(VLayout( heading = (StaticText() .string_(name) .font_(font) .string ...
-
... y, w, h var palette= SGUI.palette; var fnt= Font.monospace(10); var volumeSpec= ControlSpec(-inf, 10, 'db', 0.0, 0.0, "dB"); var snapshotKeys= #[ //more can be added [$A, $S, $D, $F, $G, $H, $J, $K], [$Z, $X, $C, $V, $B, $N, $M, $,] ]; var ...
-
... b slider classes ( Ex.8 ). For quick GUI generation using SynthDef metadata for controlspecs and / or automatic Pbind builds see VarGui shortcut builds . As both VarGui help files are quite full of details, a more general overview, includin ...
-
... ove(oneShot); oneShot = nil; prev = nil; }); ne = NumberEditor(assc.value ? 128,ControlSpec(1,128,\lin,1)); ne.action = { arg cnum; var ccr; assc.value = if(cnum == 128,{nil},{cnum.asInteger}); // set any currently active one ccr = responde ...
-
... ve(oneShot); oneShot = nil; prev = nil; }); ne = NumberEditor(assc.value ? 128, ControlSpec(1, 128, \lin, 1)); ne.action = { arg cnum; var ccr; assc.value = if(cnum == 128, {nil}, {cnum.asInteger}); // set any currently active one ccr = res ...