From a73b64ce3c7bffa8a9a97f517bcce7b7604f44a3 Mon Sep 17 00:00:00 2001 From: Chris Robinson <chris.kcat@gmail.com> Date: Sun, 28 Nov 2021 05:21:33 -0800 Subject: 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. --- utils/uhjencoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/uhjencoder.cpp') 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 -- cgit v1.2.3