diff options
author | Chris Robinson <[email protected]> | 2022-08-30 08:00:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-08-30 08:00:55 -0700 |
commit | 042c3d4a4241d03f7a2368d8744f93a3a4fb7565 (patch) | |
tree | 122da0b52ec5ba16de49fcdaa6418fec4cb9e4be | |
parent | c9fbb359df1afd45afdcd5e2aab5ca8e722e14af (diff) |
Use a more precise 3D7.1 decoder
-rw-r--r-- | alc/panning.cpp | 24 | ||||
-rw-r--r-- | presets/3D7.1.ambdec | 28 |
2 files changed, 26 insertions, 26 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp index 36216bbe..2fe590a8 100644 --- a/alc/panning.cpp +++ b/alc/panning.cpp @@ -569,21 +569,21 @@ constexpr DecoderConfig<DualBand, 6> X3D71Config{ DevAmbiScaling::N3D, /*HF*/{{1.73205081e+0f, 1.00000000e+0f}}, {{ - {{1.66669447e-1f, 0.00000000e+0f, 2.36070520e-1f, -1.66153012e-1f}}, - {{1.66669447e-1f, 2.04127551e-1f, -1.17487922e-1f, -1.66927066e-1f}}, - {{1.66669447e-1f, 2.04127551e-1f, 1.17487922e-1f, 1.66927066e-1f}}, - {{1.66669447e-1f, -2.04127551e-1f, 1.17487922e-1f, 1.66927066e-1f}}, - {{1.66669447e-1f, -2.04127551e-1f, -1.17487922e-1f, -1.66927066e-1f}}, - {{1.66669447e-1f, 0.00000000e+0f, -2.36070520e-1f, 1.66153012e-1f}}, + {{1.666666667e-01f, 0.000000000e+00f, 2.356640879e-01f, -1.667265410e-01f}}, + {{1.666666667e-01f, 2.033043281e-01f, -1.175581508e-01f, -1.678904388e-01f}}, + {{1.666666667e-01f, 2.033043281e-01f, 1.175581508e-01f, 1.678904388e-01f}}, + {{1.666666667e-01f, -2.033043281e-01f, 1.175581508e-01f, 1.678904388e-01f}}, + {{1.666666667e-01f, -2.033043281e-01f, -1.175581508e-01f, -1.678904388e-01f}}, + {{1.666666667e-01f, 0.000000000e+00f, -2.356640879e-01f, 1.667265410e-01f}}, }}, /*LF*/{{1.00000000e+0f, 1.00000000e+0f}}, {{ - {{1.66669447e-1f, 0.00000000e+0f, 2.36070520e-1f, -1.66153012e-1f}}, - {{1.66669447e-1f, 2.04127551e-1f, -1.17487922e-1f, -1.66927066e-1f}}, - {{1.66669447e-1f, 2.04127551e-1f, 1.17487922e-1f, 1.66927066e-1f}}, - {{1.66669447e-1f, -2.04127551e-1f, 1.17487922e-1f, 1.66927066e-1f}}, - {{1.66669447e-1f, -2.04127551e-1f, -1.17487922e-1f, -1.66927066e-1f}}, - {{1.66669447e-1f, 0.00000000e+0f, -2.36070520e-1f, 1.66153012e-1f}}, + {{1.666666667e-01f, 0.000000000e+00f, 2.356640879e-01f, -1.667265410e-01f}}, + {{1.666666667e-01f, 2.033043281e-01f, -1.175581508e-01f, -1.678904388e-01f}}, + {{1.666666667e-01f, 2.033043281e-01f, 1.175581508e-01f, 1.678904388e-01f}}, + {{1.666666667e-01f, -2.033043281e-01f, 1.175581508e-01f, 1.678904388e-01f}}, + {{1.666666667e-01f, -2.033043281e-01f, -1.175581508e-01f, -1.678904388e-01f}}, + {{1.666666667e-01f, 0.000000000e+00f, -2.356640879e-01f, 1.667265410e-01f}}, }} }; diff --git a/presets/3D7.1.ambdec b/presets/3D7.1.ambdec index 87138457..ec3b787d 100644 --- a/presets/3D7.1.ambdec +++ b/presets/3D7.1.ambdec @@ -43,24 +43,24 @@ 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.66669447e-01 2.04127551e-01 1.17487922e-01 1.66927066e-01 -add_row 1.66669447e-01 -2.04127551e-01 1.17487922e-01 1.66927066e-01 -add_row 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00 -add_row 1.66669447e-01 0.00000000e+00 2.36070520e-01 -1.66153012e-01 -add_row 1.66669447e-01 0.00000000e+00 -2.36070520e-01 1.66153012e-01 -add_row 1.66669447e-01 2.04127551e-01 -1.17487922e-01 -1.66927066e-01 -add_row 1.66669447e-01 -2.04127551e-01 -1.17487922e-01 -1.66927066e-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 +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.66669447e-01 2.04127551e-01 1.17487922e-01 1.66927066e-01 -add_row 1.66669447e-01 -2.04127551e-01 1.17487922e-01 1.66927066e-01 -add_row 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00 -add_row 1.66669447e-01 0.00000000e+00 2.36070520e-01 -1.66153012e-01 -add_row 1.66669447e-01 0.00000000e+00 -2.36070520e-01 1.66153012e-01 -add_row 1.66669447e-01 2.04127551e-01 -1.17487922e-01 -1.66927066e-01 -add_row 1.66669447e-01 -2.04127551e-01 -1.17487922e-01 -1.66927066e-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 +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 |