SuperCollider CLASSES (extension)

FoaRotate
ExtensionExtension

First Order Ambisonic (FOA) rotation transformer

Description

Rotate a first order ambisonic signal (B-format) around the z-axis.

The inbuilt equivalent is Rotate2.

NOTE: FoaRotate is usually called via the convenience wrapper FoaTransform.

Class Methods

*ar (in, angle: 0, mul: 1, add: 0)

Arguments:

in

The B-format signal, an array: [w, x, y, z]

angle

Rotation angle, in radians.

mul

Output will be multiplied by this value.

add

This value will be added to the output.

Discussion:

A rotation of pi/2 will rotate a source at [0, 0] to [pi/2, 0].

NOTE: Corresponding matrix transformer: FoaXformerMatrix: *newRotate

Inherited class methods

Instance Methods

Inherited instance methods

Examples

Please see various examples here.