-
Polar polar coordinates superclass: Number Represents polar coordinates. Creation new(rho, theta) Create a new polar coordinate with the given radius, rho, and angle in radians, theta. Math + - * / The math operations of addition, subtracti ...
-
... Exponentiation. squared The square of the number. cubed The cube of the number. Polar Coordinate Support rho Answer the polar radius of the number. theta Answer the polar angle of the number. Complex Number Support real Answer the real part ...
-
... signal for FFT chains, without doing an FFT on a signal FFTrigger(buffer, hop, polar) buffer - a buffer to condition for FFT use hop - the hop size for timing triggers (defaults to 0.5) polar - a flag. If 0.0, the buffer will be prepared f ...
-
... by the angle given in radians. abs Absolute value of the point. rho return the polar coordinate radius of the receiver. theta return the polar coordinate angle of the receiver. dist(aPoint) return the distance from the receiver to aPoint. ...
-
... , x] }; (1..8).collect((a: _ )); (1..8).collect { |x| (a:x) }; (1..8).collect( Polar ( _ , pi)); (1..8).collect { |x| Polar (x, pi) }; (1..8).collect((1.. _ )); (1..8).collect { |x| (1..x) }; f = (a: _ , b: _ ); // f is a two argument func ...
-
... e in radians. theta Answer the angle in radians. asPoint Convert to a Point . asPolar Convert to a Polar asInteger Answer real part as Integer . asFloat Answer real part as Float . // example a = Complex (0, 1); a * a; // returns Complex(-1 ...
-
... tion: { arg array; var z, x; z = array.clump(2).flop; // MagSquared converts to Polar x = Signal .newFrom(z[0]); // magnitude first {x.plot( 'After MagSquared' , Rect (200, 100, 700, 200))}.defer }) ) [b, c, d, e, f].do( _ .free); // free t ...
-
... rap(0,23) + phase; Pen .width = 0.2 + 1.0.linrand; Pen .beginPath; Pen .moveTo( Polar (r1, a1).asPoint + Point (400,400)); Pen .lineTo( Polar (r2, a2).asPoint + Point (400,400)); Pen .stroke; }; thisThread .randSeed = Date .seed; 40.do { va ...
-
... false if receiver cannot be used in UGen. magnitude returns abolute value (see Polar , Complex ) angle returns angle of receiver conceived as Polar or Complex number. wait within a routine, yield the number so that the clock can wait for t ...
-
... _ .free); Note that PV UGens convert as needed between cartesian (complex) and polar representations, therefore when using multiple PV UGens it may be impossible to know in which form the values will be at any given time. FFT produces comp ...