-
... classvar <>freqName = \eqFr, <>gainName= \eqGn, <>bwName= \eqBw; var <server, <specs, <vol, <synth, <group; *addSpecs { |numChans = 8, numBands = 3, dict| var freqSpec, gainSpec, bwSpec, threeSpecs; freqSpec = \freq.asSpec; gainSpec = [-24 ...
-
/* JITLibExtensions allows adding specs to objects, and various JITGuis use that for controller ranges: EnvirGui, ParamGui, NdefParamGui as used in TdefGui, PdefGui, NdefGui, NdefMixer etc. From version 3.7.2 and 3.8, EnvirGui and its subcl ...
-
... ann, Alberto deCampo (IEM) */ Register a function to be called upon receiving a specific command from a specific HID location ID. ( // plug in a HID device and start HIDDeviceService q = q ? (); HIDDeviceService .buildDeviceList; // get fir ...
-
... |unit, semitones = 0| semitones.midiratio; }) .mappedArgs_([ \semitones ]) .setSpec( \semitones, UAdaptSpec({ |spec| ControlSpec( spec.minval.ratiomidi, spec.maxval.ratiomidi, \lin, 0, spec.default.ratiomidi ); }) ) .canUseUMapFunc_({ |uni ...
-
... in from the Sherman Filterbank ( key: 'tr', shared: ('elementType': 'button', 'spec': 'midiBut'), elements: [ MKtlDesc.notePair(0, 78, (style: (row: 0, column: 0)) ), MKtlDesc.notePair(1, 82, (style: (row: 0, column: 1)) ) ] ), // MIDI bei ...
-
ArrayTransformer : SimpleTransformer { var <selection; var <spec; var unmapMappedArgs = false; var <>mapIO = false; *defClass { ^ArrayTransformerDef } prValue { |obj| var def; def = this.def; obj = obj.asCollection; if( def.useSelection.val ...
-
... default UMapDefs set */ ValueUMapDef( \envir_get, { |unit, ctrl| var kkey, val, spec, fromSpec; ctrl.remove; kkey = unit.get( \key ); spec = unit.getSpec( \value ); ctrl = SimpleController( currentEnvironment ) .put( kkey, { spec = unit.get ...
-
... // you might have added NamedControls in the Instr func // which will not have specs and shouldn't turn into midi controls if(i.notNil) { parg = patch.args[i]; socket.addControl( nil, // socket will allocate a controller for me argNames[i] ...
-
... b = 64, mute = 0| db.dbamp * (1-mute.binaryValue) } ) .mappedArgs_([ \db ]) .setSpec( \db, UAdaptSpec({ |spec| ControlSpec( spec.minval.max(-96.dbamp).ampdb, spec.maxval.max(-96.dbamp).ampdb, \lin, 0, 0 ); }) ) .setSpec( \mute, BoolSpec(fal ...
-
+ Spec { *guess { |key, value| if (value.isKindOf(SimpleNumber).not) { ^nil }; // label units as \guess so one can throw spec away later. ^if (value.abs > 0) { ControlSpec(value/20, value*20, \exp, 0, value, \guess) } { ControlSpec(-2, 2, \ ...