-
... ; oldPos.sort({ |a,b| var aa, bb; aa = lastAngle - ((a - sortedPos.last).angle).wrap(-pi,pi); bb = lastAngle - ((b - sortedPos.last).angle).wrap(-pi,pi); if( aa.abs.round(0.01pi) == bb.abs.round(0.01pi) ) { a.dist( sortedPos.last ) >= b.dis ...
-
... t information regarding this method. Note the use of margins for effective text wrapping. arg2 - Explanation of arg1 and its default value. // inline example g = SomeClass .new; g.doSomething; // explanation g.cleanUpMethod; *aMethodWithNoA ...
-
... difference of two values in modulo arithmetics Source: Trig.sc See also: Clip , Wrap Description Returns the minimum difference of two values in modulo arithmetics. On a circle, there are two distances between two points. This UGen returns ...
-
... ttern as is, -1 means go in the reverse direction. Common patterns: 1 -- always wrap around to the other boundary. Pseq([1, -1], inf) -- go forward first, then backward, then forward again startPos : Where to start in the list. Example: ( a ...
-
... her: Filter: Description Class methods Inherited class methods Instance methods wrapFunc getKeysForFuncProxy value register unregister typeKey Inherited instance methods Classes | External Control > OSC'>OSC > OSC>Dispatchers'>Dispatchers O ...
-
... in their methods, which violates separation of concern. Instead, objects can be wrapped in Delegator that does the updating and that will be garbage collected once it is not referenced anymore. - one can lift objects like collections to for ...
-
... lass methods Inherited class methods Instance methods getKeysForFuncProxy value wrapFunc Inherited instance methods Classes | External Control > MIDI'>MIDI > MIDI>Dispatchers'>Dispatchers MIDIMessageDispatcherNV : MIDIMessageDispatcher : Ab ...
-
... (default): clip values outside fromRange 'fold': fold values outside fromRange 'wrap': wrap around values outside fromRange 'none': no clipping applied (values can go outside toRange) clipSoftness: softens the edges of 'clip' and 'fold' mod ...
-
... outSnd = (proxy.numChannels/funcNumChannels).asInteger.collect{ SynthDef.wrap(func, nil); } }, { // args given outSnd = funcControls.flop.collect{|args, i| // args.postln; SynthDef.wrap(func, nil, args); ...
-
... is just like Ramp , but always takes the shortest way around a defined circle, wrapping values where appropriate. This can be useful when smoothing panning signals for speaker rings, for instance in Vector Base Amplitude Panning. Class Met ...