Higher Order Ambisonic (HOA) "by degree" radial filtering coefficients, returned for realization by FOS and SOS cascade.
Create a new instance.
degree |
Associated Legendre degree (ℓ). |
Return Associated Legendre degree (ℓ).
Return number of FOS required for cascade.
Return number of SOS required for cascade.
Return a dictionary of near-field effect proximity radial filtering coefficients. See Coefficient Dictionary below.
radius |
Radius, in meters. |
sampleRate |
Sample rate, in Hz. |
speedOfSound |
Speed of sound, in meters per second. |
Return a dictionary of near-field effect distance radial filtering coefficients. See Coefficient Dictionary below.
radius |
Radius, in meters. |
sampleRate |
Sample rate, in Hz. |
speedOfSound |
Speed of sound, in meters per second. |
Return a dictionary of near-field effect control radial filtering coefficients. See Coefficient Dictionary below.
encRadius |
Encoding radius, in meters. |
decRadius |
Decoding radius, in meters. |
sampleRate |
Sample rate, in Hz. |
speedOfSound |
Speed of sound, in meters per second. |
FOS and SOS coefficients are returned as rank two arrays of coefficients, available via the IdentityDictionary \sos
and \fos
keys. Additionally, a a normalizing scalar is also returned via the \g
key.
~degree = 3;
~encRadius = 1.0;
~decRadius = 1.5;
~sampleRate = 44100;
~coeffs = NFECoeffs.new(~degree).ctrl(~encRadius, ~decRadius, ~sampleRate);
~coeffs.fos;
~coeffs.sos;
~coeffs.g;
TBD