-
... Patch(Instr("FFTblank",{FFT(LocalBuf(2048),Silent.ar)},[],\fft)) } } TrigSpec : ControlSpec { defaultControl { ^BeatClockPlayer.new(4.0) } *initClass { specs.addAll( [ \trig -> this.new, \gate -> this.new ]; ) } canAccept { arg thing; // co ...
-
... h(Instr("FFTblank", {FFT(LocalBuf(2048), Silent.ar)}, [], \fft)) } } TrigSpec : ControlSpec { defaultControl { ^BeatClockPlayer.new(4.0) } *initClass { specs.addAll( [ \trig -> this.new, \gate -> this.new ]; ) } canAccept { arg thing; // co ...
-
... elta | ^spec = spec.asTouch(this, dur, delta) } setValue{ | v | value = v; } } +ControlSpec { asTouch { | cv, dur, delta | ^Touch(this, cv, dur, delta) } }
-
... rest" ).category_( \operator ) .mappedArgs_( [ \range ] ) .setSpec( \vals, ArrayControlSpec(0,1,\lin,default: 0.5!n ).size_(n) ) .setSpec( \nearestTo, ControlSpec(0,1,\lin,default: 0.5 ) ) .setSpec( \range, ControlSpec(0.0,1.0,\lin).asRange ...
-
... h.positions.collect(_.rotate(rotate)) ); }, [ \rotate, 0 ] ) .setSpec( \rotate, ControlSpec( -180, 180, \lin, 0, 1 ) ) .useSelection_( true );
-
... ); } initFunc { |inTaskFunc| taskFunc = inTaskFunc; argSpecs = ([ [ \value, 0, ControlSpec(0,1) ], [ \u_task, nil, AnythingSpec(), true ], // func can store things here [ \u_release_task, nil, AnythingSpec(), true ], [ \u_dur, 1, ControlSp ...
-
... ); } initFunc { |inTaskFunc| taskFunc = inTaskFunc; argSpecs = ([ [ \value, 0, ControlSpec(0,1) ], [ \u_task, nil, AnythingSpec(), true ], // func can store things here [ \u_release_task, nil, AnythingSpec(), true ], [ \u_dur, 1, ControlSp ...
-
var cs; cs = ControlSpec(0, 127, \lin, 1); MxUnit.register('CCResponder', ( make: { arg ccr; var inlets, outlets, sips; ccr.function = { |port, chan, num, value| ~value = value; ~source.changed(value) }.inEnvir; inlets = []; outlets = [ MxO ...
-
... s Klaassen (2021Q4) */ SCMSliderViewFactory { *createInstance { |caller, class, controlSpec, initVal, labelText| var newInstance = SCMSliderView(); class = class.asString(); newInstance.numberBoxView .background_(Color.white.alpha_(0.5)) .m ...
-
+ Spec { asJSON { ^( rate: this.rate, class: this.class.name ) } } + ControlSpec { asJSON { ^( rate: this.rate, class: this.class.name, minval: this.minval, maxval: this.maxval, warp: this.warp.asSpecifier, step: this.step, default: this.de ...