A newer version of Max is available. Click here to access the latest version of the Max documentation

poltocar Reference

Convert polar to cartesian coordinates

poltocar

Examples

Arguments

angle [number]

Optional

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~ Signal Polar to Cartesian coordinate conversion
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