Generates transform matrices required by the Ambisonic Toolkit's first order (matrix) transformer, FoaXform.
You may wish to explore the visualizations of the available transforms via FoaXformDisplay.
Rotate around the z-axis.
angle |
Rotation angle, in radians. |
A rotation of pi/2 will rotate a source at [0, 0]
to [pi/2, 0]
.
Rotate around the x-axis.
angle |
Rotation angle, in radians. |
A rotation of pi/2 will rotate a source at [pi/2, 0]
to [0, pi/2]
.
Rotate around the y-axis.
angle |
Rotation angle, in radians. |
A rotation of pi/2 will rotate a source at [0, 0]
to [0, pi/2]
.
Rotate around the z, x and y axes.
rotAngle |
Rotation angle around z-axis, in radians. |
tilAngle |
Rotation angle around x-axis, in radians. |
tumAngle |
Rotation angle around y-axis, in radians. |
Rotate is followed by Tilt and then Tumble.
Mirror across the origin.
A source at [pi/4, pi/6]
will be mirrored to [-3/4*pi, -pi/6]
.
Mirror in the x-axis (across the y-z plane).
A source at [pi/4, pi/6]
will be mirrored to [3/4*pi, pi/6]
.
Mirror in the y-axis (across the x-z plane).
A source at [pi/4, pi/6]
will be mirrored to [-pi/4, pi/6]
.
Mirror in the y-axis (across the x-z plane).
A source at [pi/4, pi/6]
will be mirrored to [pi/4, -pi/6]
.
Mirror across an arbitrary plane.
theta |
Azimuth for the normal to the plane, in radians. |
phi |
Elevation for the normal to the plane, in radians. |
Adjust the soundfield directivity (across the origin).
angle |
The distortion angle, in radians. 0 to pi/2 |
Angle = 0 retains the current directivity of the soundfield. Increasing angle towards pi/2 decreases the directivity, reducing the gains on the directional compenents to zero, and is equivalent to a spatial low-pass filter. The resulting image becomes omnidirectional or directionless.
Imaging is illustrated here.
Adjust the soundfield directivity along the x-axis.
angle |
The distortion angle, in radians. 0 to pi/2 |
Angle = 0 retains the current directivity of the soundfield. Increasing angle towards pi/2 decreases the directivity along the x-axis, reducing the gain on this axis to zero, and is equivalent to a spatial low-pass filter. The resulting image becomes directionless on the x-axis.
Imaging is illustrated here.
Adjust the soundfield directivity along the y-axis.
angle |
The distortion angle, in radians. 0 to pi/2 |
Angle = 0 retains the current directivity of the soundfield. Increasing angle towards pi/2 decreases the directivity along the y-axis, reducing the gain on this axis to zero, and is equivalent to a spatial low-pass filter. The resulting image becomes directionless on the y-axis.
Imaging is illustrated here.
Adjust the soundfield directivity along the z-axis.
angle |
The distortion angle, in radians. 0 to pi/2 |
Angle = 0 retains the current directivity of the soundfield. Increasing angle towards pi/2 decreases the directivity along the z-axis, reducing the gain on this axis to zero, and is equivalent to a spatial low-pass filter. The resulting image becomes directionless on the z-axis.
Adjust the soundfield directivity across an arbitrary plane.
angle |
The distortion angle, in radians. 0 to pi/2 |
theta |
Azimuth for the normal to the plane, in radians. |
phi |
Elevation for the normal to the plane, in radians. |
Angle = 0 retains the current directivity of the soundfield. Increasing angle towards pi/2 decreases the directivity along the normal defined by theta and phi, reducing the gain on this normal to zero, and is equivalent to a spatial low-pass filter. The resulting image becomes directionless on the normal.
Apply dominance along the x-axis.
gain |
Dominance gain, in dB. |
Positive values of gain increase the gain at [0, 0]
to +gain dB, while decreasing the gain at [pi, 0]
to -gain. This simultaneously results in a distortion of the image towards [0, 0]
. Negative values of gain invert this distortion, distorting towards [pi, 0]
. The default, 0, results in no change.
Imaging is illustrated here.
Apply dominance along the y-axis.
gain |
Dominance gain, in dB. |
Positive values of gain increase the gain at [pi/2, 0]
to +gain dB, while decreasing the gain at [-pi/2, 0]
to -gain. This simultaneously results in a distortion of the image towards [pi/2, 0]
. Negative values of gain invert this distortion, distorting towards [-pi/2, 0]
. The default, 0, results in no change.
Apply dominance along the z-axis.
gain |
Dominance gain, in dB. |
Positive values of gain increase the gain at [0, pi/2]
to +gain dB, while decreasing the gain at [0, -pi/2]
to -gain. This simultaneously results in a distortion of the image towards [0, pi/2]
. Negative values of gain invert this distortion, distorting towards [0, -pi/2]
. The default, 0, results in no change.
Apply dominance along an arbitrary axis.
gain |
Dominance gain, in dB. |
theta |
Azimuth, in radians. |
phi |
Elevation, in radians. |
Applies dominance along the axis defined by theta and phi. See *newDominateX.
Apply zoom along the x-axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
Zoom is a normailised dominance variant, specified in terms of a distortion angle. Positive values of angle increase gain at [0, 0]
, while reducing at [pi, 0]
. Negative values do the inverse. The default, 0, results in no change.
Imaging is illustrated here.
Apply zoom along the y-axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
Zoom is a normailised dominance variant, specified in terms of a distortion angle. Positive values of angle increase gain at [pi/2, 0]
, while reducing at [-pi/2, 0]
. Negative values do the inverse. The default, 0, results in no change.
Imaging is illustrated here.
Apply zoom along the z-axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
Zoom is a normailised dominance variant, specified in terms of a distortion angle. Positive values of angle increase gain at [0, pi/2]
, while reducing at [0, -pi/2]
. Negative values do the inverse. The default, 0, results in no change.
Apply zoom along an arbitrary axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
theta |
Azimuth, in radians. |
phi |
Elevation, in radians. |
Applies zoom along the axis defined by theta and phi. See *newZoomX.
Apply focus along the x-axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
Focus is a normalised dominance variant, specified in terms of a distortion angle. Positive values of angle maintain gain at [0, 0]
, while reducing at [pi, 0]
. 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.
Imaging is illustrated here.
Apply focus along the y-axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
Focus is a normalised dominance variant, specified in terms of a distortion angle. Positive values of angle maintain gain at [pi/2, 0]
, while reducing at [-pi/2, 0]
. 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.
Apply focus along the x-axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
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.
Apply focus along an arbitrary axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
theta |
Azimuth, in radians. |
phi |
Elevation, in radians. |
Applies focus along the axis defined by theta and phi. See *newFocusX.
Apply push along the x-axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
Push is a dominance related transform, specified in terms of a distortion angle. Positive values of angle push the image towards [0, 0]
. Negative values push towards [pi, 0]
. The default, 0, results in no change.
Imaging is illustrated here.
Apply push along the y-axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
Push is a dominance related transform, specified in terms of a distortion angle. Positive values of angle push the image towards [pi/2, 0]
. Negative values push towards [-pi/2, 0]
. The default, 0, results in no change.
Apply push along the x-axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
Push is a dominance related transform, specified in terms of a distortion angle. Positive values of angle push the image towards [0, pi/2]
. Negative values push towards [0, -pi/2]
. The default, 0, results in no change.
Apply push along an arbitrary axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
theta |
Azimuth, in radians. |
phi |
Elevation, in radians. |
Applies push along the axis defined by theta and phi. See *PushX.
Apply press along the x-axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
Press is a dominance related transform, specified in terms of a distortion angle. Positive values of angle press the image towards [0, 0]
. Negative values press towards [pi, 0]
. The default, 0, results in no change.
Imaging is illustrated here.
Apply press along the x-axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
Press is a dominance related transform, specified in terms of a distortion angle. Positive values of angle press the image towards [pi/2, 0]
. Negative values press towards [-pi/2, 0]
. The default, 0, results in no change.
Apply press along the z-axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
Press is a dominance related transform, specified in terms of a distortion angle. Positive values of angle press the image towards [0, pi/2]
. Negative values press towards [0, -pi/2]
. The default, 0, results in no change.
Imaging is illustrated here.
Apply press along an arbitrary axis.
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
theta |
Azimuth, in radians. |
phi |
Elevation, in radians. |
Applies press along the axis defined by theta and phi. See *PressX.
Apply soundfield asymmetry
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
Positive values of angle rotate [-pi/2, 0]
towards [0, 0]
, and at pi/2 collapse the soundfield to a planewave. Negative values rotate [pi/2, 0]
toowards [0, 0]
. The default, 0, results in no change.
Imaging is illustrated here.
Apply soundfield balance. A synonym for ZoomY
angle |
The distortion angle, in radians. -pi/2 to pi/2 |
See ZoomY.
Imaging is illustrated here.
Create an FoaXformerMatrix by loading a matrix from a file.
filePathOrName |
Can be a path relative to your Otherwise a full path to your matrix file. |
See the Guide-to-ATK-Matrix-Files for more information.
'xformer'
Answers the kind of transformer.
Answers the number of transformer dimensions: 3D.
Answers the number of channels.
All Transformer matricies are square: 4.
A convenience method providing polymorphism with FoaEncoderMatrix: -dirChannels and FoaDecoderMatrix: -dirChannels.
[ inf, inf, inf , inf ]
A convenience method providing polymorphism with FoaEncoderMatrix: -numInputs and FoaDecoderMatrix: -numInputs.
A convenience method providing polymorphism with FoaEncoderMatrix: -dirInputs and FoaDecoderMatrix: -dirInputs.
A convenience method providing polymorphism with FoaEncoderMatrix: -numOutputs and FoaDecoderMatrix: -numOutputs.
A convenience method providing polymorphism with FoaEncoderMatrix: -dirOutputs and FoaDecoderMatrix: -dirOutputs.