-
... are several alternatives: 1. Simple direct way to make sure there is a minimum step. // basic way to calculate the change on the interface element: MKtl(\x).elAt(\enc, 0).action = { |enc| var step = enc.deviceValue - enc.prevDeviceValue; / ...
-
... ap, <list, <task, <isRecording=false, then, <>tempo=1, <>start=0, <>length=1, <>step=1, <>jitter=0.0, <>scaler=1, <>shift=0.0, // assumes normalized values. <>rescaled=false, <nonRescalableCtls, inverter=1; var <loops; *new { arg key, ctlMa ...
-
... ob = SGME_Knob(parent, rect) .color_([blue, black, white, nil]) .mode_(\round) .step_(step); viewSizes = viewSizes.add([knob, rect]); parameterViews.put("/filterBank/" ++ (62.5*(2**(num))).ceil.asInteger, knob); // Ejemplo: /filterBank/4000 ...
-
... inval = yield(tuple); }; }; ^inval; } } PLslide : PL_ListPattern { var <>len, <>step, <>start, <>wrapAtEnd; *new { |list, repeats = inf, len = 3, step = 1, start = 0, wrapAtEnd = true, cutItems = true, envir = \current| ^super.new(list, rep ...
-
... .new(s, -1758497667, 1) k.start k[ \c1 ].action = { |jint| jint.value.postln} k.step = 0.01 k.step = 0.005 k.step = 0.2 // default k.step = 0.001 k[ \c1 ].action = nil // get information on device k.info p = p ? ProxySpace .push(s.boot) p.m ...
-
// subBass step by step // Here's the input wave: { LFPar.ar(100 * 2, iphase: 2) }.plot; // Step 1: take input, constrain between 0-1, create a mirror image of it (invert phase) ( { var freq = 100, in, ina, inb; //Input wave - To use SinOsc ...
-
... .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 == ...