Rotate2:
Filter:
Classes | UGens > Multichannel > Ambisonics | UGens > Multichannel > Panners

Rotate2 : MultiOutUGen : UGen : AbstractFunction : Object

Rotate a sound field.
Source: Pan.sc

Description

Rotate2 can be used for rotating an ambisonic B-format sound field around an axis. Rotate2 does an equal power rotation so it also works well on stereo sounds. It takes two audio inputs (x, y) and an angle control (pos). It outputs two channels (x, y). It computes this:

where angle = pos * pi, so that -1 becomes -pi and +1 becomes +pi. This allows you to use an LFSaw to do continuous rotation around a circle.

Class Methods

Rotate2.ar(x, y, pos: 0.0)

Rotate2.kr(x, y, pos: 0.0)

Arguments:

x

Input signal X.

y

Input signal Y.

pos

angle to rotate around the circle from -1 to +1. -1 is 180 degrees, -0.5 is left, 0 is forward, +0.5 is right, +1 is behind.

Inherited class methods

Instance Methods

Inherited instance methods

Examples