-
... .1] to spec range var out = warp.map(value.clip(0.0, 1.0)), rounded = out.round(step); if((out absdif: rounded) <= snap) { ^rounded } { ^out } } unmap { arg value; // maps a value from spec range to [0..1] var rounded = value.round(step); i ...
-
... oped.not) } tempo { ^task.get(\tempo) } tempo_ { |val| task.set(\tempo, val); } step { ^task.get(\step) } step_ { |val| task.set(\step, val) } jitter { ^task.get(\jitter) } jitter_ { |val| task.set(\jitter, val) } lpStart { ^task.get(\lpSta ...
-
... <>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 ...
-
... , grid = true| // width is not set here, colors are. var events, length, lastY, step, valRange, c3y; bounds = bounds ? Rect(0,0,400,400); //events = this.midiTrackTypeEvents(track, type, channel); length = this.length.max(1); case { type == ...
-
... 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 ...
-
... Instance Methods . action An optional Function that will be evaluated for each step. The arguments passed in are: current value, current ramp position (0.0-1.0), current step index, total number of steps. . clock Get or ser the clock. . go ...
-
Dseries demand rate arithmetic series ugen superclass: DUGen *new(start, step, length) start start value step step value length number of values to create The arguments can be a number or any other ugen structurally related: Pseries see als ...
-
... Instance methods Data value valueAction increment decrement Interaction mode keystep step shift_scale ctrl_scale alt_scale Appearance centered color Actions action defaultKeyDownAction Drag and drop defaultGetDrag defaultCanReceiveDrag defa ...
-
bulging version of [simple rand-n-step](http://sccode.org/1-Eo) but with comments, which maybe helpful to reuse this stuff it seems, someday, it should be rewritten as Quark ) ( var w, status, limit, buttons, controls = [], one_button, ...
-
... , 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= ...