First Commit

This commit is contained in:
2025-02-06 22:24:29 +08:00
parent ed7df4c81e
commit 7539e6a53c
18116 changed files with 6181499 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
# AmbDec configuration
# Written by Ambisonic Decoder Toolbox, version 8.0
# input channel order: W Y Z X
/description 3D7-noCenter_1h1v_pinv_even_energy_rV_max_rE_2_band
# In OpenAL Soft, 3D7.1 is a distinct configuration that uses the standard 5.1
# channels (LF, RF, CE, LS, RS), plus two auxiliary channels (AUX0, AUX1) in
# place of the rear speakers. AUX0 corresponds to the LB speaker (upper back
# center), and AUX1 corresponds to the RB speaker (lower front center).
# Similar to the the ITU-5.1-nocenter configuration, the front-center is
# declared here so that an appropriate distance may be set (for proper delaying
# or attenuating of dialog and such which feed it directly). It otherwise does
# not contribute to positional sound output due to its irregular position.
/version 3
/dec/chan_mask f
/dec/freq_bands 2
/dec/speakers 6
/dec/coeff_scale n3d
/opt/input_scale n3d
/opt/nfeff_comp input
/opt/delay_comp on
/opt/level_comp on
/opt/xover_freq 400.000000
/opt/xover_ratio 0.000000
/speakers/{
# id dist azim elev conn
#-----------------------------------------------------------------------
add_spkr LF 1.828800 51.000000 24.000000
add_spkr RF 1.828800 -51.000000 24.000000
add_spkr CE 1.828800 0.000000 0.000000
add_spkr AUX0 1.828800 180.000000 55.000000
add_spkr AUX1 1.828800 0.000000 -55.000000
add_spkr LS 1.828800 129.000000 -24.000000
add_spkr RS 1.828800 -129.000000 -24.000000
/}
/lfmatrix/{
order_gain 1.00000000e+00 1.00000000e+00 0.000000 0.000000
add_row 1.666666667e-01 2.033043281e-01 1.175581508e-01 1.678904388e-01
add_row 1.666666667e-01 -2.033043281e-01 1.175581508e-01 1.678904388e-01
add_row 0.000000000e+00 0.000000000e+00 0.000000000e+00 0.000000000e+00
add_row 1.666666667e-01 0.000000000e+00 2.356640879e-01 -1.667265410e-01
add_row 1.666666667e-01 0.000000000e+00 -2.356640879e-01 1.667265410e-01
add_row 1.666666667e-01 2.033043281e-01 -1.175581508e-01 -1.678904388e-01
add_row 1.666666667e-01 -2.033043281e-01 -1.175581508e-01 -1.678904388e-01
/}
/hfmatrix/{
order_gain 1.73205081e+00 1.00000000e+00 0.000000 0.000000
add_row 1.666666667e-01 2.033043281e-01 1.175581508e-01 1.678904388e-01
add_row 1.666666667e-01 -2.033043281e-01 1.175581508e-01 1.678904388e-01
add_row 0.000000000e+00 0.000000000e+00 0.000000000e+00 0.000000000e+00
add_row 1.666666667e-01 0.000000000e+00 2.356640879e-01 -1.667265410e-01
add_row 1.666666667e-01 0.000000000e+00 -2.356640879e-01 1.667265410e-01
add_row 1.666666667e-01 2.033043281e-01 -1.175581508e-01 -1.678904388e-01
add_row 1.666666667e-01 -2.033043281e-01 -1.175581508e-01 -1.678904388e-01
/}
/end

View File

@@ -0,0 +1,53 @@
# AmbDec configuration
# Written by Ambisonic Decoder Toolbox, version 8.0
# input channel order: W Y Z X
/description 11_1_1h1v_allrad_5200_rE_max_1_band
/version 3
/dec/chan_mask f
/dec/freq_bands 1
/dec/speakers 11
/dec/coeff_scale n3d
/opt/input_scale n3d
/opt/nfeff_comp output
/opt/delay_comp on
/opt/level_comp on
/opt/xover_freq 400.000000
/opt/xover_ratio 0.000000
/speakers/{
# id dist azim elev conn
#-----------------------------------------------------------------------
add_spkr LF 1.000000 30.000000 0.000000
add_spkr RF 1.000000 -30.000000 0.000000
add_spkr CE 1.000000 0.000000 0.000000
add_spkr LS 1.000000 90.000000 0.000000
add_spkr RS 1.000000 -90.000000 0.000000
add_spkr LB 1.000000 150.000000 0.000000
add_spkr RB 1.000000 -150.000000 0.000000
add_spkr LFT 1.000000 45.000000 35.000000
add_spkr RFT 1.000000 -45.000000 35.000000
add_spkr LBT 1.000000 135.000000 35.000000
add_spkr RBT 1.000000 -135.000000 35.000000
/}
/matrix/{
order_gain 1.00000000e+00 1.00000000e+00 0.000000 0.000000
add_row 1.27149251e-01 7.63047539e-02 -3.64373750e-02 1.59700680e-01
add_row 1.07005418e-01 -7.67638760e-02 -4.92129762e-02 1.29012797e-01
add_row 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00
add_row 1.26400196e-01 1.77494694e-01 -3.71203389e-02 0.00000000e+00
add_row 1.26396516e-01 -1.77488059e-01 -3.71297878e-02 0.00000000e+00
add_row 1.06996956e-01 7.67615256e-02 -4.92166307e-02 -1.29001640e-01
add_row 1.27145671e-01 -7.63003471e-02 -3.64353304e-02 -1.59697510e-01
add_row 8.80919747e-02 7.48940670e-02 9.08786244e-02 6.22527183e-02
add_row 1.57880745e-01 -7.28755272e-02 1.82364187e-01 8.74240284e-02
add_row 1.57892225e-01 7.28944768e-02 1.82363474e-01 -8.74301086e-02
add_row 8.80892603e-02 -7.48948724e-02 9.08779842e-02 -6.22480443e-02
/}
/end

View File

@@ -0,0 +1,51 @@
# AmbDec configuration
# Written by Ambisonic Decoder Toolbox, version 8.0
/description Hexagon_2h0p_pinv_match_rV_max_rE_2_band
/version 3
/dec/chan_mask 11b
/dec/freq_bands 2
/dec/speakers 6
/dec/coeff_scale fuma
/opt/input_scale fuma
/opt/nfeff_comp input
/opt/delay_comp on
/opt/level_comp on
/opt/xover_freq 400.000000
/opt/xover_ratio 0.000000
/speakers/{
# id dist azim elev conn
#-----------------------------------------------------------------------
add_spkr LF 1.000000 30.000000 0.000000
add_spkr RF 1.000000 -30.000000 0.000000
add_spkr RS 1.000000 -90.000000 0.000000
add_spkr RB 1.000000 -150.000000 0.000000
add_spkr LB 1.000000 150.000000 0.000000
add_spkr LS 1.000000 90.000000 0.000000
/}
/lfmatrix/{
order_gain 1.000000 1.000000 1.000000 0.000000
add_row 0.235702 0.166667 0.288675 0.288675 0.166667
add_row 0.235702 -0.166667 0.288675 -0.288675 0.166667
add_row 0.235702 -0.333333 0.000000 -0.000000 -0.333333
add_row 0.235702 -0.166667 -0.288675 0.288675 0.166667
add_row 0.235702 0.166667 -0.288675 -0.288675 0.166667
add_row 0.235702 0.333333 0.000000 -0.000000 -0.333333
/}
/hfmatrix/{
order_gain 1.414214 1.224745 0.707107 0.000000
add_row 0.235702 0.166667 0.288675 0.288675 0.166667
add_row 0.235702 -0.166667 0.288675 -0.288675 0.166667
add_row 0.235702 -0.333333 0.000000 -0.000000 -0.333333
add_row 0.235702 -0.166667 -0.288675 0.288675 0.166667
add_row 0.235702 0.166667 -0.288675 -0.288675 0.166667
add_row 0.235702 0.333333 0.000000 -0.000000 -0.333333
/}
/end

View File

@@ -0,0 +1,46 @@
# AmbDec configuration
# Written by Ambisonic Decoder Toolbox, version 8.0
# input channel order: WYXVU
/description itu50-noCenter_2h0p_allrad_5200_rE_max_1_band
# Although unused in this configuration, the front-center is declared here so
# that an appropriate distance may be set (for proper delaying or attenuating
# of dialog and such which feed it directly). It otherwise does not contribute
# to positional sound output.
/version 3
/dec/chan_mask 11b
/dec/freq_bands 1
/dec/speakers 5
/dec/coeff_scale fuma
/opt/input_scale fuma
/opt/nfeff_comp input
/opt/delay_comp on
/opt/level_comp on
/opt/xover_freq 400.000000
/opt/xover_ratio 0.000000
/speakers/{
# id dist azim elev conn
#-----------------------------------------------------------------------
add_spkr LS 1.000000 110.000000 0.000000 system:playback_3
add_spkr LF 1.000000 30.000000 0.000000 system:playback_1
add_spkr CE 1.000000 0.000000 0.000000 system:playback_5
add_spkr RF 1.000000 -30.000000 0.000000 system:playback_2
add_spkr RS 1.000000 -110.000000 0.000000 system:playback_4
/}
/matrix/{
order_gain 1.00000000e+00 8.66025404e-01 5.00000000e-01 0.000000
add_row 4.70934222e-01 3.78169605e-01 -4.00084750e-01 -8.22264454e-02 -4.43765986e-02
add_row 2.66639870e-01 2.55418584e-01 3.32591390e-01 2.82949132e-01 8.16816772e-02
add_row 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00
add_row 2.66634915e-01 -2.55421639e-01 3.32586482e-01 -2.82947688e-01 8.16782588e-02
add_row 4.70935891e-01 -3.78173080e-01 -4.00080588e-01 8.22279700e-02 -4.43716394e-02
/}
/end

View File

@@ -0,0 +1,47 @@
# AmbDec configuration
/description itu50_2h0p_idhoa
/version 3
/dec/chan_mask 11b
/dec/freq_bands 2
/dec/speakers 5
/dec/coeff_scale fuma
/opt/input_scale fuma
/opt/nfeff_comp output
/opt/delay_comp on
/opt/level_comp on
/opt/xover_freq 400.000000
/opt/xover_ratio 0.000000
/speakers/{
# id dist azim elev conn
#-----------------------------------------------------------------------
add_spkr LS 1.000000 110.000000 0.000000
add_spkr LF 1.000000 30.000000 0.000000
add_spkr CE 1.000000 0.000000 0.000000
add_spkr RF 1.000000 -30.000000 0.000000
add_spkr RS 1.000000 -110.000000 0.000000
/}
/lfmatrix/{
order_gain 1.000000 1.000000 1.000000 0.000000
add_row 4.9010985e-1 3.7730501e-1 -3.7310699e-1 -1.2591453e-1 1.4513300e-2
add_row 1.4908573e-1 3.0356168e-1 1.5329006e-1 2.4511248e-1 -1.5075313e-1
add_row 1.3765492e-1 0.0000000e+0 4.4941794e-1 0.0000000e+0 2.5784407e-1
add_row 1.4908573e-1 -3.0356168e-1 1.5329006e-1 -2.4511248e-1 -1.5075313e-1
add_row 4.9010985e-1 -3.7730501e-1 -3.7310699e-1 1.2591453e-1 1.4513300e-2
/}
/hfmatrix/{
order_gain 1.000000 1.000000 1.000000 0.000000
add_row 5.6731600e-1 4.2292000e-1 -3.1549500e-1 -6.3449000e-2 -2.9238000e-2
add_row 3.6858400e-1 2.7234900e-1 3.2161600e-1 1.9264500e-1 4.8260000e-2
add_row 1.8357900e-1 0.0000000e+0 1.9958800e-1 0.0000000e+0 9.6282000e-2
add_row 3.6858400e-1 -2.7234900e-1 3.2161600e-1 -1.9264500e-1 4.8260000e-2
add_row 5.6731600e-1 -4.2292000e-1 -3.1549500e-1 6.3449000e-2 -2.9238000e-2
/}
/end

View File

@@ -0,0 +1,54 @@
Ambisonic decoder configuration presets are provided here for common surround
sound speaker layouts. The presets are prepared to work with OpenAL Soft's high
quality decoder. By default all of the speaker distances within a preset are
set to the same value, which results in no effect from distance compensation.
If this doesn't match your physical speaker setup, it may be worth copying the
preset and modifying the distance values to match (note that modifying the
azimuth and elevation values in the presets will not have any effect; the
specified angles do not change the decoder behavior).
Details of the individual presets are as follows.
square.ambdec
Specifies a basic square speaker setup for Quadraphonic output, with identical
width and depth. Front speakers are placed at +45 and -45 degrees, and back
speakers are placed at +135 and -135 degrees.
rectangle.ambdec
Specifies a narrower speaker setup for Quadraphonic output, with a little less
width but a little more depth over a basic square setup. Front speakers are
placed at +30 and -30 degrees, providing a bit more compatibility for existing
stereo content, with back speakers at +150 and -150 degrees.
itu5.1.ambdec
Specifies a standard ITU 5.0/5.1 setup for 5.1 Surround output. The front-
center speaker is placed directly in front at 0 degrees, with the front-left
and front-right at +30 and -30 degrees, and the surround speakers (side or
back) at +110 and -110 degrees.
hexagon.ambdec
Specifies a flat-front hexagonal speaker setup for 7.1 Surround output. The
front left and right speakers are placed at +30 and -30 degrees, the side
speakers are placed at +90 and -90 degrees, and the back speakers are placed at
+150 and -150 degrees. Although this is for 7.1 output, no front-center speaker
is defined for the decoder, meaning that speaker will be silent for 3D sound
(however it may still be used with AL_SOFT_direct_channels or ALC_EXT_DEDICATED
output). A "proper" 7.1 decoder may be provided in the future, but due to the
nature of the speaker configuration will have trade-offs.
hex-quad.ambdec
Specifies a flat-front hexagonal speaker setup, plus an elevated quad speaker
setup, for 7.1.4 Surround output. The front left and right speakers are placed
at +30 and -30 degrees, the side speakers are placed at +90 and -90 degrees,
and the back speakers are placed at +150 and -150 degrees. The elevated
speakers are placed at an elevation of +35 degrees, with the top front left and
right speakers placed at +45 and -45 degrees, and the top back left and right
speakers placed at +135 and -135 degrees. Similar to 7.1, the front-center
speaker is not used for 3D sound, but will be used as appropriate with
AL_SOFT_direct_channels or ALC_EXT_DEDICATED.
3D7.1.ambdec
Specifies a 3D7.1 speaker setup for 3D7.1 Surround output. Please see
docs/3D7.1.txt for information about speaker placement. Similar to 7.1, the
front-center speaker is not used for 3D sound, but will be used as appropriate
with AL_SOFT_direct_channels or ALC_EXT_DEDICATED.

View File

@@ -0,0 +1,45 @@
# AmbDec configuration
# Written by Ambisonic Decoder Toolbox, version 8.0
/description Rectangle_1h0p_pinv_match_rV_max_rE_2_band
/version 3
/dec/chan_mask b
/dec/freq_bands 2
/dec/speakers 4
/dec/coeff_scale fuma
/opt/input_scale fuma
/opt/nfeff_comp input
/opt/delay_comp on
/opt/level_comp on
/opt/xover_freq 400.000000
/opt/xover_ratio 0.000000
/speakers/{
# id dist azim elev conn
#-----------------------------------------------------------------------
add_spkr LF 1.000000 30.000000 0.000000
add_spkr RF 1.000000 -30.000000 0.000000
add_spkr RB 1.000000 -150.000000 0.000000
add_spkr LB 1.000000 150.000000 0.000000
/}
/lfmatrix/{
order_gain 1.000000 1.000000 0.000000 0.000000
add_row 0.353553 0.500000 0.288675
add_row 0.353553 -0.500000 0.288675
add_row 0.353553 -0.500000 -0.288675
add_row 0.353553 0.500000 -0.288675
/}
/hfmatrix/{
order_gain 1.414214 1.000000 0.000000 0.000000
add_row 0.353553 0.500000 0.288675
add_row 0.353553 -0.500000 0.288675
add_row 0.353553 -0.500000 -0.288675
add_row 0.353553 0.500000 -0.288675
/}
/end

View File

@@ -0,0 +1,45 @@
# AmbDec configuration
# Written by Ambisonic Decoder Toolbox, version 8.0
/description Square_1h0p_pinv_match_rV_max_rE_2_band
/version 3
/dec/chan_mask b
/dec/freq_bands 2
/dec/speakers 4
/dec/coeff_scale fuma
/opt/input_scale fuma
/opt/nfeff_comp input
/opt/delay_comp on
/opt/level_comp on
/opt/xover_freq 400.000000
/opt/xover_ratio 0.000000
/speakers/{
# id dist azim elev conn
#-----------------------------------------------------------------------
add_spkr LF 1.000000 45.000000 0.000000
add_spkr RF 1.000000 -45.000000 0.000000
add_spkr RB 1.000000 -135.000000 0.000000
add_spkr LB 1.000000 135.000000 0.000000
/}
/lfmatrix/{
order_gain 1.000000 1.000000 0.000000 0.000000
add_row 0.353553 0.353553 0.353553
add_row 0.353553 -0.353553 0.353553
add_row 0.353553 -0.353553 -0.353553
add_row 0.353553 0.353553 -0.353553
/}
/hfmatrix/{
order_gain 1.414214 1.000000 0.000000 0.000000
add_row 0.353553 0.353553 0.353553
add_row 0.353553 -0.353553 0.353553
add_row 0.353553 -0.353553 -0.353553
add_row 0.353553 0.353553 -0.353553
/}
/end