-
... { |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 ...
-
/* \point_speed Creates an UMap for measuring the speed of a point (or point UMap) and convert it to a value. point: the point fromRange: the speed range from which the output value will be calculated toRange: the value range to which the s ...
-
... = iconViewGroup[0].bounds.width, y = iconViewGroup[0].bounds.height; Pen.moveTo(Point(x * playX1, y * playY1)); Pen.lineTo(Point(x * (1-playX1), y * 0.5)); Pen.lineTo(Point(x * playX1, (1-playY1) * y)); Pen.width = 1.4 * fac; Pen.strokeColo ...
-
XiiSnd { var <>point, <>pitch, rect, stageRect; var fillcolor, strokecolor; var rot, predatorArray, preyArray; var xDistance, yDistance, destpoint, move, friction; var posNegX, posNegY; var xAway, yAway; var outbus, inbus, selected; // temp ...
-
... find the median index, but if even-sized data we want to // make sure we find a point, so we don't use the average-of-two-centre-points that .median uses medianPos = array.size >> 1; sorted = array.copy; sorted.hoareFind(medianPos, { |a,b| ...