Generate matrix encoders required by the Ambisonic Toolkit's Higher Order Ambisonic (HOA) encoder, HoaEncodeMatrix.
Matrix encoding is offered via three different methods:
As implemented here, beamforming offers familiar angular encoding with the added opportunity to apply matching beaming weights for reciprocal decoding / encoding signal processing.
Mode matching is suitable for designing encoders from various spatial sampling distributions.
Format exchange encoding offers interfacing with other Ambisonic formats and systems.
Encode a single beam into a Higher Order Ambisonic signal (HOA).
theta |
Azimuth, in radians. |
phi |
Elevation, in radians. |
beamShape |
Keyword argument for beam shape.
See discussion here. |
order |
Ambisonic order. |
Gain is matched to pressure. See discussion here
Encode multipe beams into a Higher Order Ambisonic signal (HOA).
directions |
An array of directions. Specify in radians. Rank 1 arrays return pantophonic, while rank 2 arrays return periphonic. E.g.,
|
beamShape |
Keyword argument for beam shape.
See discussion here. |
match |
Keyword argument for gain matching. See discussion here. |
order |
Ambisonic order. |
Encode a Higher Order Ambisonic signal (HOA) via the mode matching method.
directions |
An array of directions. Specify in radians. Rank 1 arrays return pantophonic, while rank 2 arrays return periphonic. E.g.,
|
beamShape |
Keyword argument for beam shape. See discussion here. |
match |
Keyword argument for gain matching. See discussion here. |
order |
Ambisonic order. |
Also known as Pseudoinverse Encoding, aka Pinv.
Encode multiple beams evenly distributed in a SphericalDesign as a Higher Order Ambisonic signal (HOA).
design |
SphericalDesign instance |
beamShape |
Keyword argument for beam shape. See discussion here. |
order |
Ambisonic order. |
A-format encoding, aka spherical (re-)composition, is offered by *newSphericalDesign.
Gain is matched to maximum beam amplitude.
An Ambisonic format exchange encoder. Encodes from a variety of formats to ACN-N3D.
format |
An array of kewords designating component ordering and normalisation. E.g., source input format ACN-SN3D is expressed |
order |
Ambisonic order. |
A variety of component ordering and normalisation schemes are supported. Please review the discussion found here: HoaMatrixDecoder: *newFormat
TBD