-
... f(params[i].notNil, { link.controlStates.put(i, params[i]) }, { if(ctl.isKindOf(ControlSpec), { link.controlStates.put(i, ctl.default) }, { if(ctl == \A0, { // default to the first link in the chain (a soundfield) link.controlStates.put(i, ...
-
... h2,width3],0.3); RLPF.ar(Mix.new(p),freq * ffreqInterval.midiratio,rq) },[ nil, ControlSpec(-48,48,\linear,1,0), ControlSpec(-48,48,\linear,1,0) ,nil,nil,nil, ControlSpec(-48,48,\linear,1,0) ],\audio); Instr([\minimoog,\loose],{ arg freq=44 ...
-
... tKrNumberEditor : UnitTest { test_canAccept { var k,c,s; k = KrNumberEditor(6.0,ControlSpec(0, 11, 'linear', 1, 6, "")); c = ControlSpec(0, 11, 'linear', 1, 6, ""); this.assert( c.canAccept(k), "ControlSpec should canAccept KrNumberEditor") ...
-
... 0, lag, lag, lag, lag, lag], metadata: ( specs: ( \out: \audiobus.asSpec, \mix: ControlSpec(-1, 1, 'lin', 0, -1), \fb: ControlSpec(0, 2, 'lin', 0, 1), \ff: ControlSpec(0, 2, 'lin', 0, 1.25), \thresh: ControlSpec(0, 1, 'lin', 0, 0.02), \rate ...
-
... e ( Point(0.0,-30.0), [ ], Point(1.0,30), [], false ); g = b.gui( nil ,1000@300,ControlSpec(-44,44),ControlSpec(0,8,step:0.25)); ) ( b = BezierSpline ( 0@0, [ 0.2@0.4, 0.5@0.9 ], 1@1, [], false ); g = b.gui( nil ,1000@300); g.spec = Control ...
-
... verse. The display method prints the // <Ctl> status. ( c[0].setup("Frequency", ControlSpec.new(220, 440, ExponentialWarp), 330, 4); c[0].display; c[0].addRecv({ arg index, spec, value, state; [index, spec, value, state].postln;}); ) // Mak ...
-
... amKrDur( Pseq([0,1,2,3,4,5],inf), 0.25 ); s = k.spec; this.assertEquals(s.class,ControlSpec,"ControlSpec"); this.assertEquals( s.minval, 0, "minval 0"); this.assertEquals( s.maxval, 5, "minval 5"); this.assertEquals(s.step,0,"step 0"); } te ...
-
... 0, lag, lag, lag, lag, lag], metadata: ( specs: ( \out: \audiobus.asSpec, \mix: ControlSpec(-1, 1, 'lin', 0, -1), \amount: ControlSpec(0, 0.9999999, 'lin', 0, 0.5), \fc: ControlSpec(20, 20000, 'exp', 0, 3500), \center: ControlSpec(40, 1000, ...
-
... kSlider = EZSlider( parent: win, bounds: 360 @ 30, label: "Attack", controlSpec: ControlSpec(0.01, 4.0, \exp, 0.01, 0.1, "sec"), action: {|ez| att = ez.value}, initVal: 0.01, unitWidth: 30) .setColors( stringColor ...
-
... }, [0, lag, lag, lag, lag], metadata: ( specs: ( \out: \audiobus.asSpec, \mix: ControlSpec(-1, 1, 'lin', 0, -1), \room: ControlSpec(0, 300, 'lin', 0, 50), \time: ControlSpec(0, 10, 'lin', 0, 1), \damp: ControlSpec(0, 1, 'lin', 0, 0.5) ), o ...