SuperCollider CLASSES (extension)

FoaMirror
ExtensionExtension

First Order Ambisonic (FOA) mirror transformer
Inherits from: Object

Description

Mirror a first order ambisonic signal (B-format) across an arbitrary plane.

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

Class Methods

*ar (in, theta: 0, phi: 0, mul: 1, add: 0)

Arguments:

in

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

theta

Azimuth for the normal to the plane, in radians.

phi

Elevation for the normal to the plane, in radians.

mul

Output will be multiplied by this value.

add

This value will be added to the output.

Discussion:

Mirroring across the origin and individual axes is implemented via FoaXformerMatrix: *newMirrorO and FoaXformerMatrix: *newMirrorX, FoaXformerMatrix: *newMirrorY, FoaXformerMatrix: *newMirrorZ.

NOTE: Corresponding matrix transformer: FoaXformerMatrix: *newMirror

Inherited class methods

Instance Methods

Inherited instance methods

Examples

Please see various examples here.