BlumRotate:
Filter:
BlumBox/Classes (extension) | Libraries > Blumlein Box > Transforms | UGens > Multichannel > Panners

BlumRotate
ExtensionExtension

Stereo rotation transform

Description

Rotation is a true stereo panning algorithm, accepting a stereo input and returning a stereo output. It is the stereo equivalent of the sine-cosine panning law. In the cartesian plane, rotation orients a stereo signal with respect to the x-axis (i.e. the listener's perspective) in radians.

BlumRotate is a wrapper for the inbuilt Rotate2.

Class Methods

.ar

.kr

Arguments:

in

The stereo input, an array: [L, R]

angle

Rotation angle in radians between -pi/2, pi/2

Returns:

Stereo rotated signal, an array: [L, R]

Discussion:

BlumRotate's angle input is measured from the listener's perspective at zero radians. A rotation of -pi/2 will place an M-channel signal in the -S channel. Additionally, stereo rotation may be used as a basis for other stereo transforms.

Examples

Contrast full stereo rotation with BlumBalance.