aboutsummaryrefslogtreecommitdiffstats
path: root/utils/uhjencoder.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-11-28 05:21:33 -0800
committerChris Robinson <[email protected]>2021-11-28 05:39:35 -0800
commita73b64ce3c7bffa8a9a97f517bcce7b7604f44a3 (patch)
tree2a442f8585516809614bc035df63095d577783d2 /utils/uhjencoder.cpp
parentbd254c5426748a1a0d64944bc91ab1956241dd1b (diff)
Slight update to the UHJ coefficients
The extended precision of the encoder's 0.6512*X term was guesswork, with no real basis for it. Switch back to the original value until something better actually comes up. Also updates the decoder to account for the change in the encoder.
Diffstat (limited to 'utils/uhjencoder.cpp')
-rw-r--r--utils/uhjencoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/uhjencoder.cpp b/utils/uhjencoder.cpp
index 73e21479..700d1b17 100644
--- a/utils/uhjencoder.cpp
+++ b/utils/uhjencoder.cpp
@@ -89,7 +89,7 @@ const PhaseShifterT<UhjEncoder::sFilterDelay*2> PShift{};
*
* Left = (S + D)/2.0
* Right = (S - D)/2.0
- * T = j(-0.1432*W + 0.6511746*X) - 0.7071068*Y
+ * T = j(-0.1432*W + 0.6512*X) - 0.7071068*Y
* Q = 0.9772*Z
*
* where j is a wide-band +90 degree phase shift. T is excluded from 2-channel