-
... + other.dual; ^this.class.new(r, d) } amclip { |other| ^this * max(other, 0) } scaleneg { |other| ^this * (this.real.sign.linlin(-1, 1, other, 1)) } clip2 { |other| ^max(min(this, other.neg), other) } clip { |lo, hi| ^max(min(this, hi), lo ...
-
... rd loops of controller movements that can be modified while played back, e.g. rescaled and inverted in value ranges, with changeable tempo and direction, etc. To use a gamepad with the Gamepad class, it has to have: 2 analog joysticks, 4-di ...
-
... ombineNode .new( 100, x, 24 ); [ \floor1 , \floor2 , \floor3 ].do{ |it,i| x[it].scale_( 1/256 ); x[it].action_( { |data| // reorder data and set in combine node ~floorall .set( ( ~floorsensors [i]*8), data.at( ~floorsorders [i].copyRange(0, ...
-
... aras: laras, instKey: instKey, noteKey: noteKey)); var node = event[\node]; var scaleToneFreq = VGScale.scales[laras][noteKey]; var partialPitches, scaleTonePitch, deltas, order, partIndex; if (scaleToneFreq.isNil) { "VGSound: no scaleToneF ...
-
KtlLoopGui : EventLoopGui { var resetScaleBut, rescaledBut, invBut, infoBut, scalerSl, shiftSl; // add sliders for scaler, shift, // but rescaled, inv, rstScale; // show ktlMap, paramsToRecord, nonRescalableCtls? makeViews { |options| super ...
-
... elayWritePhase / BufFrames.kr(localbuf)) - (freqPhase / BufDur.kr(localbuf)); //scaled to 0-1 for use in GrainBuf if(timeDispersion.isNil, { trigger = Impulse.ar(grainFreq); }, { trigger = Impulse.ar(grainFreq + (LFNoise0.kr(grainFreq) * ti ...
-
... he input range to listen to (-1 to 1) toRange: the range to which the output is scaled curve: a curvature value for toRange. If curve == 0, the range is linear. invert: if true, the fromRange is inverted (i.e. low values become high and v.v ...
-
... he input range to listen to (-1 to 1) toRange: the range to which the output is scaled curve: a curvature value for toRange. If curve == 0, the range is linear. invert: if true, the fromRange is inverted (i.e. low values become high and v.v ...
-
... .extend( oldArgs.size, 0 ); ^this.class.new( *( oldArgs - newArgs ) ) } * { arg scaleWFSPoint; var oldArgs, newArgs; oldArgs = this.storeArgs; newArgs = scaleWFSPoint.asWFSPoint.storeArgs.extend( oldArgs.size, 1 ); ^this.class.new( *( oldAr ...
-
... .elAt(\bend).action = { |el| // bend only covers part of the 14bit range, // so scale observed min/max to +- semitones: var bendVal = el.deviceValue.linlin(6784 + 128, 9472, -2, 2); // [\bend, el.deviceValue, bendVal].postcs; v.proxy.object ...