-
... timeScale = 1| var phasor; if( env.isKindOf( Env ) && { spec.isNil } ) { spec = ControlSpec( env.levels.minItem, env.levels.maxItem ); env.levels = env.levels.normalize; }; env = this.prepareEnv(env, spec); spec = spec.asSpec; phasor = Line ...
-
... ay[1..].collect({ |item, i| specs[i].constrain( item ); }); } } MIDIValueSpec : ControlSpec { var <>allowNil = false; *new { arg minval=0, maxval=127, warp='lin', step=1, default, units; ^super.newCopyArgs(minval, maxval, warp, step, defaul ...
-
... ay[1..].collect({ |item, i| specs[i].constrain( item ); }); } } MIDIValueSpec : ControlSpec { var <>allowNil = false; *new { arg minval=0, maxval=127, warp='lin', step=1, default, units; ^super.newCopyArgs(minval, maxval, warp, step, defaul ...
-
... dFunc| startFunc = instartFunc; endFunc = inendFunc; argSpecs = ([ [ \value, 0, ControlSpec(0,1) ], [ \active, false, BoolSpec(false) ], [ \u_spec, [0,1].asSpec, ControlSpecSpec(), true ], [ \u_useSpec, true, BoolSpec(true), true ], ] ++ ar ...
-
... 1,0.5), StaticSpec(0.0001,1.0), StaticSpec(0.0001,0.5), StaticSpec(0.0001,1.0), ControlSpec(0,10.0) ], \stereo );
-
... al ) }); } default { ^[1,1] } map { |value| ^value } unmap { |value| ^value } asControlSpec { ^ControlSpec( 0, 3600, \lin, 0, 1 ) } viewNumLines { ^2 } makeView { |parent, bounds, label, action, resize| var vws, view, labelWidth, halfHeight ...
-
... dValues { |values| ^values; } map { |value| ^value } unmap { |value| ^value } asControlSpec { ^ControlSpec( 0, 3600, \lin, 0, 1 ) } viewNumLines { ^2 } makeView { |parent, bounds, label, action, resize| var vws, view, labelWidth, halfHeight ...
-
... ar( in, xFreq, loGain, hiGain, thresh, compRatio ) }, ( \xFreq: \freq, \loGain: ControlSpec(0, 10, \amp, 0, 1), \hiGain: ControlSpec(0, 10, \amp, 0, 1), \compRatio: [1, 10, \exp, 0.1, 3] ) ); q.utils.addFx( 'compander', { arg in, thresh=0.5 ...
-
... ec : Spec { var >spec; *new { |spec| ^this.newCopyArgs( spec ) } spec { ^spec ? ControlSpec( 0,1,\lin,0,0 ) } constrain { |value| ^ControlSpec( 0,1,\lin,0,0 ).constrain( value ); } default { ^this.spec.default } massEditSpec { ^nil } asSpec ...
-
... value by moving knob or by writing into numberbox - each arg is specified by a ControlSpec. For each SynthDef's arg, you can pass a ControlSpec (see later) as an argument fo the autogui method. You can do it graphically by selecting the na ...