-
... andID; RandSeed.kr( trig, this.getSeed( seed ) ); } *new { ^super.new.next } *asControlSpec { ^ControlSpec( 0, 2**24, \lin, 1, 12345 ) } == { |obj| ^obj.class == this.class } value { ^seed } next { seed = 16777216.rand; this.changed( \seed ...
-
... andID; RandSeed.kr( trig, this.getSeed( seed ) ); } *new { ^super.new.next } *asControlSpec { ^ControlSpec( 0, 2**24, \lin, 1, 12345 ) } == { |obj| ^obj.class == this.class } value { ^seed } next { seed = 16777216.rand; this.changed( \seed ...
-
... ].tryPerform(\at, 0) ?? { synthDesc.tryPerform(\def) } }; // specs is a dict of controlspecs // we need to access it, so better having a void one if (specs.isNil) { specs = synthDesc.tryPerform(\metadata).tryPerform(\at,\specs) }; if (specs ...
-
... inLayoutView, <rangeSliderView, <lo, <hi, loMapped, hiMapped, proxyLo, proxyHi, controlSpecView; // spec in deze scope, print argument list. *new { | parent, bounds, spec, initVal, labelText, uiMode | ^super.new(parent, bounds).init(spec, i ...
-
... StaticText(window, specEnterTextRect) .font_(staticTextFont) .string_(" enter a ControlSpec") ; // flow.shift(2, 0); StaticText(window, specSelectRect) .font_(staticTextFont) .string_(" or select an existing one") ; // flow.shift(2, 0); Sta ...
-
... " Hz"]); Ndef(\blippoo).addSpec(\resonance, [0.001, 2, 'exp', 0, 0.707, ""]); //ControlSpec.specs[\resonance] = ControlSpec.specs[\rq].copy; ~rungler = {arg clock,sig; // this is the rumbler as described for the blippoo box var buffer = Loc ...
-
... var onElement= SGUIelement(); var attackElement= SGUIelement(); var attackSpec= ControlSpec(0, 99, 'lin', 0.1, defaultAttack, "s"); var releaseElement= SGUIelement(); var releaseSpec= ControlSpec(0, 99, 'lin', 0.1, defaultRelease, "s"); var ...
-
... ment / numSteps) }{ currentVal + (increment * spec.step / spec.range ); } } } + ControlSpec { makeWindow { arg x=30, y=900, action, name="Control Spec"; var w, return, widgets, curve; w = Window(name , Rect(x, y, 290, 70), false) .alwaysOnT ...
-
... ment / numSteps) }{ currentVal + (increment * spec.step / spec.range ); } } } + ControlSpec { makeWindow { arg x=30, y=900, action, name="Control Spec"; var w, return, widgets, curve; w = Window(name , Rect(x, y, 290, 70), false) .alwaysOnT ...
-
... ateMap = [0.0, 1.0]; }, { stateMap = newStateMap }); if(newSpec.isNil, { spec = ControlSpec(0, 1, LinearWarp); }, { spec = newSpec; }); if(newValue.isNil, { this.onEdit; }, { this.value = newValue; }); } displayName { if(depth == 1, {^name} ...