-
UPatternSpec : Spec { classvar <>specs; *initClass { specs = [ ArgSpec( 'sustain', 1, SMPTESpec(0, 3600), false, \init ), ArgSpec( 'timeToNext', 1, SMPTESpec(0.01, 3600), false, \init ) ]; } constrain { |value| value = value.asArray.wrapExt ...
-
... = builder.makeStack; }, { ~source = data; instr = data.makeStack; inps = instr.specs.collect({ arg spec, i; MxJack.forSpec(spec, instr.defArgAt(i) ) }); }); patch = Patch(instr, inps); connectors = patch.inputs.collect({ arg inp, i; if(inp ...
-
... t=0.8, postAmp=1 | Limiter .ar(in * limDrive, ampLimit) * postAmp ; } ); // and specs for them fof gui control. Spec .add( \leak , [0.5, 0.999, \exp ]); Spec .add( \clip , [0.0, 1, \amp ]); Spec .add( \pole , [0, 0.95, \lin ]); Spec .add( \ ...
-
... lass a = JInTController .new Methods rawVals array of raw controller values. No specs assigned. One for each dimension. value(i) returns array of current normed values of controller. if i is Integer: returns current normed value i of contro ...
-
... ue].postln); view.items = this.getSetNames; view.value = prevVal; }; }); ^win } specsDialog { |keys, specDict| var w, loc, name, proxyKeys, specKeys; specDict = specDict ? specs; loc = loc ?? {400@300}; w = Window("specs please", Rect(loc.x ...
-
... ] if(instr.isSequenceableCollection, { # instr, inps = instr; }, { inps = instr.specs.collect({ arg spec, i; MxJack.forSpec(spec, instr.defArgAt(i) ) }); }); patch = Patch(instr, inps ); connectors = patch.inputs.collect({ arg inp, i; if(in ...
-
... pitch.scramble * formfact, pitch.scramble * widfact), spread) * amp; }); // add specs for all the parameter ranges - required! Spec.add(\intv, [0, 36, \lin]); Spec.add(\timescale, [0.001, 10, \exp]); Spec.add(\curve, [-10, 10]); Spec.add(\l ...
-
... if(~recording, { v !? {sfr.setValueOnNextTick(v)} }) }.inEnvir); // needs PointSpec or ArraySpec inlets = [ MxInlet("setValueNow", 0, sfr.spec, rec) ]; outlets = Array.fill(~source.spline.numDimensions-1, { arg di; var lastVal, default=sfr ...
-
... LFPulse .ar(pFreq + [detune, detune.neg], 0, pWidth).sum, 1500) , pan, amp) }); Spec .add( \pFreq , [2, 200, \exp ]); Spec .add( \pWidth , [0.01, 0.5, \exp ]); Spec .add( \detune , [0.01, 1, \exp ]); Ndef ( \test ).play; c = AutoLoop ( \tes ...
-
... unc { |instartFunc, inendFunc| startFunc = instartFunc; endFunc = inendFunc; argSpecs = ([ [ \value, 0, ControlSpec(0,1) ], [ \active, false, BoolSpec(false) ], [ \u_spec, [0,1].asSpec, ControlSpecSpec(), true ], [ \u_useSpec, true, BoolSpe ...