Decode a two dimensional ambisonic B-format signal for any speaker arrangement.
3D Ambisonic decoder with compensation for speakers at different distances (delay and intenisty caluclated for meters).
w |
B-format signal. |
x |
B-format signal. |
y |
B-format signal. |
z |
B-format signal. |
azimuth |
The angle from 0pi front and center of the speaker. Can be an array of angles. |
elevation |
The angle from 0pi center of the speaker. Can be an array of angles. |
maxDist |
The distance (in meters) to the furthest speaker from center (this allocates the delay size). |
distance |
The distance (in meters) to each speaker. |
wComp |
chooses how the W channels is scaled. If 0, a scaler of 0.707 is used. If 1, W is varied according to the scaling of the X, Y and Z channels. 1 is the default. |
mul | |
add | |
scaleflag |
If 1, apply amplitude scaling to the closest signals to match more distant speakers. |
w |
B-format signal. |
x |
B-format signal. |
y |
B-format signal. |
z |
B-format signal. |
azimuth |
The angle from 0pi front and center of the speaker. Can be an array of angles. |
elevation |
The angle from 0pi center of the speaker. Can be an array of angles. |
wComp |
Chooses how the W channels is scaled. If 0, a scaler of 0.707 is used. If 1, W is varied according to the scaling of the X, Y and Z channels. 1 is the default. |
mul | |
add |