-
... nt.channel, buttontry, destination); }); destination.midiControl = this; spec = ControlSpec(0, 1, \amp); ^this }); ^nil // if no controller was available, don't fake it } destValue { ^destination.level } set { arg value, divisor; destinatio ...
-
... nt.channel, buttontry, destination); }); destination.midiControl = this; spec = ControlSpec(0, 1, \amp); ^this }); ^nil // if no controller was available, don't fake it } destValue { ^destination.level } set { arg value, divisor; destinatio ...
-
... (zz.value == 0){c.stop}; }); g=EZSlider(w,Rect(10,80,390,20),"Freq",ControlSpec(20,2000,\exp,0.001,200),{|ez| ~ffreq = ez.value;ez.value.postln},numberWidth: 60); text = StaticText.new(w,Rect(100,200,200,200)).string_("ki ...
-
... specs, relevant to your control arguments in your SynthDef. For more info see: ControlSpec To see how the metadata and specs scheme work in detail, see the relevant sections in the help files for SynthDesc and SynthDef . To register your S ...
-
... e, gate) ) },[0.1,0.1,0.1,0.1,0.1, nil ]).play(s); w = Window .new.front; int = ControlSpec (-48,48, \linear ,1); v = TabletSlider2D (w, Rect (10,10,380,380)); v.background = Color .blue.alpha_(0.2); v.knobColor = Color .red; v.action = { a ...
-
... 0.01, 2, \exp] ); Spec.specs.put(\xFreq, \freq.asSpec); Spec.specs.put(\loGain, ControlSpec(0, 10, \amp, 0, 1)); Spec.specs.put(\hiGain, ControlSpec(0, 10, \amp, 0, 1)); Spec.specs.put(\compRatio, [1, 10, \exp, 0.1, 3].asSpec); /////make MA ...
-
... ) lastVal the previous value that a control has set - see last examples. spec a ControlSpec can be passed in. if nil, param.asSpec is used. NOTE: if no spec is given, or no value exists yet, softSet simply allows setting. Typical uses would ...
-
... ider( parent: win, bounds: Rect(830, 10, 50, 170), label: "volume", controlSpec: ControlSpec(-60, 0, \lin, 1, -40, "dB"), action: {|ez| masterOut.set(\amp, ez.value.dbamp)}, unitWidth: 30, labelWidth: 80, layout: 've ...
-
... oX; var toXpixels; fromX = argFromX.asFloat; toX = argToX.asFloat; domainSpec = ControlSpec(domainSpec.minval,max(toX,domainSpec.maxval)); splineGuis.do { arg sg; sg.setZoom(fromX,toX); }; } viewDidClose { super.viewDidClose; splineGuis.do ...
-
... in value = 1; // initialize to middle (no bending) }, { spec = spec.asSpec ?? { ControlSpec.new }; }); // if making the midisocket after control has been globalized, use existing // else make a new global control gc = destination.globalCont ...