RNBO Objects & Operators poltocar~
Open Help

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 [auto]

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 [auto]

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 [auto]

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 [signal]

The real portion of a Cartesian coordinate pair.

out2 [signal]

The imaginary portion of a Cartesian coordinate pair.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

angle [auto]

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 [auto]

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