SuperCollider CLASSES (extension)

FoaFocusZ
ExtensionExtension

First Order Ambisonic (FOA) focus transformer

Description

Apply focus to a first order ambisonic signal (B-format) along the z-axis.

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

Class Methods

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

From superclass: FoaRotate

Arguments:

in

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

angle

The distortion angle, in radians. -pi/2 to pi/2

mul

Output will be multiplied by this value.

add

This value will be added to the output.

Discussion:

Focus is a normalised dominance variant, specified in terms of a distortion angle. Positive values of angle maintain gain at [0, pi/2], while reducing at [0, -pi/2]. Negative values do the inverse. The default, 0, results in no change.

In contrast with zoom, gain is maintained at 0dB in the direction of distortion.

NOTE: Corresponding matrix transformer: FoaXformerMatrix: *newFocusZ

Inherited class methods

Instance Methods

Inherited instance methods

Examples

Please see various examples here.