aboutsummaryrefslogtreecommitdiffstats
path: root/presets
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-11-03 19:42:08 -0700
committerChris Robinson <[email protected]>2022-11-03 19:42:08 -0700
commite9ad8571ba93dd6631a9c05a05a28ede95728d9e (patch)
tree391684e8c815ccbd72db91c19c630bcb4549bf29 /presets
parent551a18a15c66440e3a5478c8b3d6b973f36c33d3 (diff)
Add preliminary support for 7.1.4 output modes
I don't know how different sound APIs handle 7.1.4 ("Atmos" or "Auro3D") output, but currently it simply specifies the additional channels with the height channel labels. This isn't likely how it works for a virtualized channel bed, for playing over other with-height configurations (7.1.2, 5.1.4, etc), but this should be an okay start.
Diffstat (limited to 'presets')
-rw-r--r--presets/hex-quad.ambdec53
-rw-r--r--presets/presets.txt11
2 files changed, 64 insertions, 0 deletions
diff --git a/presets/hex-quad.ambdec b/presets/hex-quad.ambdec
new file mode 100644
index 00000000..ce6cf8bf
--- /dev/null
+++ b/presets/hex-quad.ambdec
@@ -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
diff --git a/presets/presets.txt b/presets/presets.txt
index 445d75a4..f75a53e9 100644
--- a/presets/presets.txt
+++ b/presets/presets.txt
@@ -36,6 +36,17 @@ is defined for the decoder, meaning that speaker will be silent for 3D sound
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