poltocar
Convert polar to cartesian coordinates
Description
Converts a polar-coordinate pair consisting of distance and angle values into a cartesian-coordinate pair consisting of real and imaginary values.
Arguments
angle [number]
The angle portion of a polar coordinate pair to be converted into a Cartesian coordinate pair consisting of real and imaginary values. When used in an audio context, the value represents the phase portion of a polar coordinate pair to be converted into a cartesian (real/imaginary) coordinate pair.
Inlets
radius [number]
The distance portion of a polar coordinate pair to be converted into a Cartesian coordinate pair consisting of real and imaginary values. When used in an audio context, the value represents magnitude (amplitude) portion of a polar coordinate pair to be converted into a cartesian (real/imaginary) coordinate pair.
angle [number]
The angle portion of a polar coordinate pair to be converted into a Cartesian coordinate pair consisting of real and imaginary values. When used in an audio context, the value represents the phase portion of a polar coordinate pair to be converted into a cartesian (real/imaginary) coordinate pair.
Outlets
out1 [number]
The real portion of a Cartesian coordinate pair.
out2 [number]
The imaginary portion of a Cartesian coordinate pair.
Fixed Attributes
These attributes must be set in the object box and determine the behavior of the object at runtime.
hot [bool] (default: false)
Trigger computation on all inlets.
Dynamic Attributes
These attributes can be modified in the code during execution using the set object
angle [number]
The angle portion of a polar coordinate pair to be converted into a Cartesian coordinate pair consisting of real and imaginary values. When used in an audio context, the value represents the phase portion of a polar coordinate pair to be converted into a cartesian (real/imaginary) coordinate pair.
radius [number]
The distance portion of a polar coordinate pair to be converted into a Cartesian coordinate pair consisting of real and imaginary values. When used in an audio context, the value represents magnitude (amplitude) portion of a polar coordinate pair to be converted into a cartesian (real/imaginary) coordinate pair.
reset [bang] (default: 0)
Banging this attribute will reset the object to its default state.
See Also
Name | Description |
---|---|
poltocar~ | Convert polar to cartesian coordinates |
poltocar~ | |
cartopol~ | Convert Cartesian values to polar format. Angles are in radians. |
cartopol | Convert Cartesian values to polar format. Angles are in radians. |
fftstream~ | Fast Fourier Transform |