-
... 0, 95)) .font_(staticTextFont) .stringColor_(staticTextColor) .string_("Enter a ControlSpec in the textfield:\ne.g. ControlSpec(20, 20000, \\exp, 0.0, 440, \"Hz\")\nor \\freq.asSpec \nor [20, 20000, \\exp].asSpec.\nOr select a suitable Cont ...
-
... if present. Using specs in MKtl . globalSpecs A class dictionary of all preset ControlSpecs used by various controller elements. . addSpec . getSpec add and access by name a ControlSpec in MKtl's dictionary of specs Arguments: key the name ...
-
... nc_({ |unit, key, umapdef| var spec; spec = unit.getSpec( key ); spec.isKindOf( ControlSpec ) && { spec.default.size < 2 && { spec.minval > 0 && { spec.maxval < inf } } }; }) .allowedModes_([ \init, \sync, \normal ]) /* FuncUMapDef( \degree ...
-
... 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 ...
-
... .kr(8, 4) }; ~test.map( \intv , ~lfo); ~test.unmap( \intv ); Spec .add( \intv , ControlSpec (0, 24, \lin , 0.01, 0)); n.fullUpdate; // setting a param value unmaps a previous control source ~test.set( \freq , rrand(200, 500), \intv , rrand( ...
-
... 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 ...