-
... ar(pFreq, 0, pWidth), 1500) * 0.1 }); Ndef(\test).play; Ndef(\test).scope; ( // controlspecs for its params Spec .add( \pFreq , [2, 200, \exp ]); Spec .add( \pWidth , [0.01, 0.5, \exp ]); ) // an editor to see the params changing NdefGui(Nd ...
-
... <clientDict;// var <guiObjects; //guiObjects: name -> [widgetParams, function, controlSpec] var <namesToIDs; var <numClients; var <bodyID; //this will be id of the object referring to the body, when the background is first set; var <titleI ...
-
... ven slot-value '%' is not valid!".format(slot)).throw; }) }); if (spec.class == ControlSpec, { thisSpec = spec }, { // CVWidgetMS // if spec.asSpec returns nil make it a default ControlSpec by calling as Spec again if (spec.isArray.not, { t ...
-
... s.keysValuesDo({ |key, gcspec| gcname = "% %".format(name, key); case // (spec: ControlSpec, value: initial value) { gcspec.respondsTo(\keysValuesDo) } { gc = gcspec[\spec].asSpec; gc = MixerControl(gcname, BusDict.control(mixer.server, 1, ...
-
... 'm the destination, I must say if I'm active or not Most controllers will use a ControlSpec to map the incoming value (divided by 127) onto another range. The spec method should return this spec. The easiest way is to have an instance varia ...
-
... 'm the destination, I must say if I'm active or not Most controllers will use a ControlSpec to map the incoming value (divided by 127) onto another range. The spec method should return this spec. The easiest way is to have an instance varia ...
-
... }, ['system', 'post specs'], { Spec.specs.keysValuesDo{|key, val| if(val.class==ControlSpec, {[key, val].postln})}; }, ['system', 'count characters'], { if(Main.versionAtMost(3, 5), { ("there are"+Document.current.selectedText.size+"charact ...
-
... wnActions); Class.initClassTree(CVWidgetShortcuts); StartUp.add({ Spec.add(\in, ControlSpec(0, Server.default.options.firstPrivateBus-1, \lin, 1.0, 0)); Spec.add(\true, ControlSpec(0.0, 1.0, \lin, 1.0, 1.0)); Spec.add(\false, ControlSpec(0. ...
-
... umber.value= 1; loopButton.action= {|view| spf.loop= view.value; }; volumeSpec= ControlSpec(-inf, 3, 'db', 0, 0, "dB"); volSlider.action= {|view| spf.amp= volumeSpec.map(view.value).dbamp; }; volSlider.value= volumeSpec.unmap(volumeSpec.def ...
-
... lSlider, <>metroLevel, <>latency = 0, <metro; *initClass { StartUp.add({ spec = ControlSpec(0, 0.74, \amp) }); } gui { arg lay, bounds ... args; // must do some things felix doesn't var layout; mainLayout = layout = this.guify(lay,bounds); ...