-
... n args: array with argName/default pairs category: ? -> defines a synthdef, and specs for the argumetns of the synthdef -> Associates the unitDef with a name in a dictionary. U -> *new { |defName, args| Makes new Unit based on the defName. ...
-
... : // can have an ordered List of param names, // uses Halo to access Tdef's own specs. // even a little window to reorder. // used in TdefGui/PdefGui when using JITLibExtensions. ParamGui : EnvirGui { var <>orderedNames, <>filterNames, <>sh ...
-
... : // can have an ordered List of param names, // uses Halo to access Tdef's own specs. // even a little window to reorder. // used in TdefGui/PdefGui when using JITLibExtensions. ParamGui : EnvirGui { var <>orderedNames, <>filterNames, <>sh ...
-
... or alternatively, make some free MKtl elements by hand: ( x = MKtlElement(\x, (spec: [-100, 100], type: \joyAxis, ioType: \in)); x.action_(MFunc()); // use an MFunc for convenience and flexibility y = MKtlElement(\y, (spec: [-100, 100], ty ...
-
... tNil } ) { // envir.softSet(parKey, normVal, softWithin, false, lastVal, gui.getSpec(parKey)) // }; // lastVals.put(key, normVal) ; // } // ) // }; // } // // // map directly to a proxy's params. no Gui needed. // mapToProxyParams { |scene ...
-
... freqs , [1, 2, 3, 4, 5] * 50) Ndef ( \drone ).xsetn( \freqs , q.freqs[0..4]); ( Spec .add( \filterFreq , \freq ); Spec .add( \dbGain , [-6, 6, \db ]); Spec .add( \filterSlope , [0.1, 6, \db ]); Ndef ( \drone , { |filterFreq = 440, filterSlo ...
-
... .mx.changed('grid'); } respawn { model.respawn } isPlaying { ^model.isPlaying } spec { ^model.spec } beatDuration { model.beatDuration } gui { arg parent, bounds; ^model.gui(parent, bounds) } remove { this.mx.remove(*this.point.asArray); mx ...
-
... etwork, <>id, <>name; var <>mode; var <cbnode; *new{ |hid,network,id,name,mode=\specOnly| ^super.newCopyArgs( hid, network, id, name, mode ).init; } init{ var b; network.addExpected( id, name ); if ( mode == \specOnly ){ cbnode = SWCombineN ...
-
... "PDKtl test: ch % cc % val % \n" .postf(chan, ccnum, val); "map val here with a spec..." }); ) ( // in scene one, map a single knob's action in endless mode f.endless = true ; f.mapCCS(1, \kn08 , { |chan, ccnum, val| var midiNudge = 64 - va ...
-
... de ); }.defer; }); f.changed( \mode ); f.args.pairsDo({ |key, value, i| var vw, spec; spec = f.getSpec( key ); vw = ObjectView( composite, nil, f, key, spec, controller ); vw.action = { f.action.value( f, key, value ); }; views[ key ] = vw; ...