A UGen that can be used for rotating an ambisonic B-format sound field around
an axis. It uses 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 again two channels, using these formulas:
xr = cos(angle) * x + sin(angle) * y
yr = cos(angle) * y - sin(angle) * x
where angle = pos * Pi
. This allows, for example, the use of LFSaw
to
create a continuous rotation around a circle.
'''Note''': Be careful when accessing the output channels. xr
and yr
are
the X and Y output channels, whereas x
and y
refers to the X and Y input
channel.
- Value Params
- pos
angle to rotate around the circle, normalized between -1 and +1. -1 and +1 corresponds to -180 and +180 degrees (behind), -0.5 is 90 degrees left, 0 is frontal, +0.5 is 90 degrees right.
- x
B-format X input channel
- y
B-format Y input channel
- Companion
- object