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

cartopol~

Signal Cartesian to Polar coordinate conversion

Description

cartopol~ will take any given signal as a cartesian coordinate and output the polar conversion of that signal.

Arguments

None.

Messages

signal In left inlet: The real part of a frequency domain signal (such as that created by the fft~ or fftin~ objects) to be converted to a polar-coordinate signal pair consisting of amplitude and phase values.

In right inlet: The imaginary part of a frequency domain signal (such as that created by the fft~ or fftin~ objects) to be converted to a polar-coordinate signal pair consisting of amplitude and phase values.

Information for box attributes common to all objects

Output

signal: Out left outlet: The magnitude (amplitude) of the frequency bin represented by the current input signals.

Out right outlet: The phase, expressed in radians, of the frequency bin represented by the current input signals. If only the left outlet is connected the phase computation will be bypassed, reducing the intensity of the computation.

Examples

Use cartopol~ to get amplitude/phase data from the real/imaginary data pair that fftin~ outputs

See Also

Name Description
cartopol Cartesian to Polar coordinate conversion
fft~ Fast Fourier transform
fftin~ Input for a patcher loaded by pfft~
fftinfo~ Report information about a patcher loaded by pfft~
fftout~ Output for a patcher loaded by pfft~
frameaccum~ Compute "running phase" of successive phase deviation frames
framedelta~ Compute phase deviation between successive FFT frames
ifft~ Inverse fast Fourier transform
pfft~ Spectral processing manager for patchers
poltocar Polar to Cartesian coordinate conversion
poltocar~ Signal Polar to Cartesian coordinate conversion
vectral~ Vector-based envelope follower
MSP Tutorial 26: Frequency Domain Signal Processing with pfft~ MSP Tutorial 26: Frequency Domain Signal Processing with pfft~