-
... ionary.new; } *define { arg ... assns; registery.addAll(assns); } *at { arg key,spec; // returns a list of possibles ^registery.at(key).value(key,spec) // could/should be a function to create list of possibles } *forSpec { arg argName,spec; ...
-
... onary.new; } *define { arg ... assns; registery.addAll(assns); } *at { arg key, spec; // returns a list of possibles ^registery.at(key).value(key, spec) // could/should be a function to create list of possibles } *forSpec { arg argName, spe ...
-
UAdaptSpec : ControlSpec { var <>func; *new { |func| func = func ?? { { |spec| spec.copy } }; ^super.new( 0, 1, \lin, 0.0, 0 ).func_( func ); } canAdapt { |spec| ^spec.respondsTo( 'unmap' ) } adaptToSpec { |spec| ^spec !? { func.value( spec ...
-
... this, nil) } adieu { this.clear; this.releaseDependants; this.clearHalo; } checkSpec { var specs = Halo.at(this, \spec); var func = { |who, what| if (what == \clear) { this.removeDependant(func); this.clearHalo; // will drop the func refere ...
-
UAdaptSpec : ControlSpec { var <>func; *new { |func| func = func ?? { { |spec| spec.copy } }; ^super.new( 0, 1, \lin, 0.0, 0 ).func_( func ); } adaptToSpec { |spec| ^spec !? { func.value( spec ) } ? this; } } + Spec { adaptToSpec { } } + Co ...
-
... g [modulo ring] [active or passive?] \passive \settable */ var <semantics; var <specs; /// for each dimension one ControlSpec. nil: [0,1,'linear'].asSpec /** * array of raw controller values. * No specs assigned. * One for each dimension. * ...
-
/* why have NodeProxy:getSpec, and what is the order of precedence ? NodeProxy has two ways to define a spec for a given parameter name: // implicitly in the synth function(s), as in Ndef(\x, { Pulse.ar(\freqx.kr(200, spec: [3, 300, \exp])) ...
-
... q=q?(); q.numChans = q.numChans ? 2; 1000.do{|i| var sy = ("wet"++i).asSymbol; Spec.add(sy, \unipolar) }; 1000.do{|i| var sy = ("mix"++i).asSymbol; Spec.add(sy, \unipolar) }; ( // add your own fx stuff here! q.fx = IdentityDictionary [ '3r ...
-
ArrayTransformerDef( \round, { |f, obj| if( f.spec.notNil ) { f.spec.unmap( f.spec.map( obj ).round( f.getMapped( \round ) ) ); } { obj.round( f.get( \round ) ); }; }, [ \round, 0.0] ) .mappedArgs_( [ \round ] ) .setSpec( \round, UAdaptSpec ...
-
... eplyKey { classvar <tag = '/u_reply'; classvar <currentID = 0; classvar <dict, <specs, <storedSpecs, <storedSizes; classvar <running = false; var <key, <spec; *initClass { dict = IdentityDictionary(); specs = IdentityDictionary(); storedSpe ...