-
... Object Fold a signal outside given thresholds. Source: Trig.sc See also: Clip , Wrap Description This differs from the BinaryOpUGen fold2 in that it allows one to set low and high thresholds. Class Methods Fold. ar ( in , lo: 0.0 , hi: 1.0 ...
-
... his.asOssiaVec(value.collect( { | item, i | item.min(domain.max[i]) } )) }; }, 'wrap', { ^{ | value, domain | this.asOssiaVec(value.collect( { | item, i | item.wrap(domain.min[i], domain.max[i]); } )) }; }, 'fold', { ^{ | value, domain | th ...
-
... = LFSaw.ar(freq * [1,1.001, 1 + Rand(0,0.0001)]); sig1 = (sig * Rand(1,100)).wrap2(1)/2; sig = SelectX.ar( SelectX.kr(ExpRand(0.001,1), [ LFSaw.kr(1/8).range(0,1), SinOsc.kr(freq % 64 / 8).range(0,1), ]) , [sig, sig1]) ...
-
... quant The bar in the future. phase Shift the trigger by a set number of beats. wrapPhase Wrap the phase around the length of the bar. Inherited class methods Instance Methods Inherited instance methods Examples ( Alga.boot({ a = AlgaPatter ...
-
... y.velocity * friction; 0}) } rotateLeft{ rotation = (rotation - rotationAmount).wrap(0, 2pi); } rotateRight{ rotation = (rotation + rotationAmount).wrap(0, 2pi); } goto{ arg target; arrive.targetPos = target; this.force_({arg ent; arrive.va ...
-
... hase, 1, 1 ); ^numDim.collect({ |i| pos[ (1..4) + (i*4) ].splineIntPart2( phase.wrap(0,1) ); }); } *ar { |bufnum = 0, startIndex = 0, ratio = 1, loop = 0, reset = 1, delay = 0, numDim = 2, doneAction = 0| var phase, length, index, pos; leng ...
-
... efName a Symbol used for the internal SynthDef . . func a Function that will be wrapped inside the internal SynthDef . . mix a Function that will be wrapped inside the internal effect SynthDef . for example mix { ^{|snd| Mix(snd)*0.5; }; } ...
-
... the length of the longer array and items from each array are added together by wrapped indexing. Using adverbs can change this behavior. Adverbs are symbols and they follow a '.' (dot) after the binary operator. Adverbs can be applied to a ...
-
... urned directly into the event. To accomplish this, every such pattern should be wrapped in a Ref: Pseq ([` Pwhite (0, 9, 5), ` Pwhite (10, 19, 5)], 1).asStream.all; Hint: Pfunc is another good way to wrap patterns, because it simply returns ...
-
... out = \ambi; ~function = { | order = 2, bufnum = 0, loop = 1, mul = 1| SynthDef.wrap(~diskins.at(order), prependArgs: [loop, bufnum]); }; ~setup = { |satieInstance| var orders = satieInstance.config.ambiOrders; ~diskins = Array.fill(6, {0}) ...