-
... lue(); }); ActionButton(layout, "INSERT TO MX", { var pattern, spec, warp=\lin, step=0.0, units; pattern = p.value; try { warp = instr.outSpec.itemSpec.warp; step = instr.outSpec.itemSpec.step; units = instr.outSpec.itemSpec.units; }; spec ...
-
... , spec, lastval, font; *new { arg w, bounds, name, min=0.0, max=1.0, start=0.0, step=0.0, warp=\lin; ^super.new.initOSCIISlider(w, bounds, name, min, max, start, step, warp); } initOSCIISlider { arg w, bounds, name, min=0.0, max=1.0, start= ...
-
... ,-1,0],[x,1,0]]}) } // added TH *regPrism { |sides=3| var twosqrt = 2.sqrt; var step = pi/(sides/2); var a = twosqrt.neg/2, b = twosqrt/2; var path = [ // top and bottom (sides+1).collect {|i| [ sin(step*i), a, cos(step*i)]}, (sides+1).coll ...
-
... conds }; } fps_ { |newFps = 1000| fps = newFps; this.setScaleValues; this.updateStepSize; this.refresh } setScaleValues { scaleValues = [60*60*10, 60*60, 0, 60*10, 60, 0, 10, 1, 0 ] ++ (10**(fps.log10.floor - 1..0)/fps); } updateStepSize { ...
-
... s var <startAcc, <startSteady, <startBack, <startEnd; //cues var factor, <ndiv, step, elevation, coeff; // for the upwards trip var factor2, <ndiv2, step2, elevation2, coeff2; // for the backwards trip var <outputArray; //output values //co ...
-
... ll in a minimal amount of space. You may also specify a ControlSpec, as well as step and round values. You may change the value using the mouse, programmatically, using the arrow keys, or using the number keys to set the value directly. The ...
-
... igate = In.kr( in, 1 ); env = EnvGen.kr( Env.new( [1,1,1,0], [0.1,time,0.05], ['step','step','linear'], 1 ), // Env.new( [1,1,0], [0.1,time], 'step', 1 ), igate ); trans = In.kr( in2, 1 ); SendTrig.kr( [igate,1-igate], [0,3] , [igate,igate] ...
-
... <>scale, // representation of intervals starting with 0: [0, 2, 4] = do re mi <>stepsPerOctave, // what's top of scale? <>root, // semitones above midinote 0 <>tuning = 0, // cpsFunc adds this to output frequency <cpsFunc, // a function or ...
-
... round= Color.white; win.drawFunc= { var wb= win.bounds; var ub= usr.bounds; var step; Pen.smoothing= false; Pen.color= Color.black; Pen.stringAtPoint("Accelerometer", Point(10, 10), f0); Pen.push; Pen.translate(ub.left, ub.bottom); Pen.stri ...
-
... own : Pattern Like Pbrown , except that you specify a pattern to calculate each step. *new(lo, hi, step, length = inf) lo, hi: Output value range. step: A pattern outputting increments for Pvbrown's value. This value is multiplied randomly ...