aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-11-01 02:20:19 -0700
committerChris Robinson <[email protected]>2016-11-01 02:20:19 -0700
commit43e7323adba756ca96abef2e69a09461c8e1e633 (patch)
tree74f992a6853d6d9ba70cb8a16bd55dbda1c7223e /OpenAL32
parenta44f4c2fcb3cb22737a46b8a2419ff7bd1ce3555 (diff)
Rebalance the frequencies for B-Format HRTF coefficients
The original pseudo-inverse method that generated the LF matrix expects the high frequencies to be scaled up by ~2.645751 over the low frequencies (or sqrt(7), ~8.45dB). However, the AllRAD method used to generate the HF matrix produced a matrix that was only scaled up by 1.46551981258 (based on the average of the W coefficients). Previously, the LF matrix was scaled down by sqrt(7), as the difference specified in the pseudo-inverse results. This failed to account for the increase already present in the HF matrix, so now the LF matrix is scaled down by the remaining difference between the expected scaling and the scaling already present in the HF matrix (sqrt(7) / 1.46551981258 = 1.80533302205, or roughly 5.13dB, where the reciprocal is 0.553914423 for -5.13 dB).
Diffstat (limited to 'OpenAL32')
0 files changed, 0 insertions, 0 deletions