-
... le is part of redUniverse /redFrik RedFingerprint { var <>array, <>normalize, <>points; *new {|array, normalize= true| ^super.newCopyArgs(array, normalize).calc; } calc { var p= Point(0, 0); points= array.copyRange(0, array.size.div(2)*2-1) ...
-
... ://www.gnu.org/licenses/>. */ /* These are basic editors for WFSPath2 and (WFS-)Points. use classes: WFSPathView( parent, bounds, object ); // object: a WFSPath2 WFSPathTimeView( parent, bounds, object ); // object: a WFSPath2 WFSPointView( ...
-
+ KDTree { //Search within a circle (/hypersphere) defined by a point and a radius, and sort the outcome by it's distance from the point by decending order radiusSort { |point, radius=1| var outcome; outcome = this.radiusSearch(point, radiu ...
-
/* \point_axis Creates an UMap for converting a point (or point UMap) to a single value, by projecting it on a line. The line can be the x axis (default) or y axis, but via the 'rotate' argument it can also be somewhere in between. point: t ...
-
... { |numArrays = 4| ^SynthDef( this.getDefName( numArrays ), { // synth args: var point = 0@0, pointFromBus = 0; var pointLag = 0; var outBus = 1999; // output: var output; pointFromBus = \pointFromBus.kr( pointFromBus ); point = (\point.kr( ...
-
+ Point{ constrain{ |rect| if ( rect.contains( this ).not, { x = x.clip( rect.left, rect.left + rect.width ); y = y.clip( rect.top, rect.left + rect.height ); }); } constrainCopy{ |rect| var point = this.copy; if ( rect.contains( this ).not ...
-
USpeakerConf : WFSPointGroup { classvar <>default; classvar <>current; var listener; *new { |positions, listener| ^super.newCopyArgs( positions, listener ).init; } init { this.changed( \init ); } listener_ { |point| listener = point.asPoint ...
-
/* \crossfade_point Creates an UMap for crossfading between two points via linear interpolation. The points can also be UMaps. a: the first point b: the second point crossfade: (0-1) the crossfading position (a to b) -- this is an UMapDef d ...
-
( ~points = all {: Point(6*x,6*y), x <- [-1,1], y <- [-1,1]}; Udef(\justAPoint, { |point = #[0,0]| UOut.kr(0, point.asArray) }, [[ \point: 0@0, WFSPointSpec( 200, 0.1 ) ]]).sendSynthDef(s); UChain(*([\diskSoundFile, \justAPoint ]++4.collect ...
-
( ~points = all {: Point(6*x,6*y), x <- [-1,1], y <- [-1,1]}; Udef(\justAPoint, { |point = #[0,0]| UOut.kr(0, point.asArray) }, [[ \point: 0@0, WFSPointSpec( 200, 0.1 ) ]]).sendSynthDef(s); UChain(*([\diskSoundFile, \justAPoint ]++4.collect ...