AuroraOpenALSoft/utils
Chris Robinson f403fbd2e9 Fix UHJ encoding/decoding factors
Classic B-Format uses scaling factors W=1, X=sqrt(2), Y=sqrt(2), and Z=sqrt(2),
which is +3dB louder than FuMa. The base factors are designed assuming classic
scaling, so encoding a 0dBFS FuMa signal without accounting for this would
result in the UHJ signal peaking at about -3dBFS. Similarly, decoding UHJ to
FuMa B-Format would be +3dB louder than intended.

So encoding needs to implicitly boost the signal by +3dB, and decoding needs to
attenuate by -3dB.
2021-04-11 17:09:52 -07:00
..
alsoft-config Avoid a deprecated function 2020-11-13 21:47:48 -08:00
makemhr Add missing include 2021-02-16 05:42:14 -08:00
CIAIR.def Change references of makehrtf to makemhr 2019-03-24 17:35:32 -07:00
getopt.c Use getopt to handle options in makehrtf 2017-08-20 04:30:53 -07:00
getopt.h Use getopt to handle options in makehrtf 2017-08-20 04:30:53 -07:00
IRC_1005.def Change references of makehrtf to makemhr 2019-03-24 17:35:32 -07:00
MIT_KEMAR_sofa.def Change references of makehrtf to makemhr 2019-03-24 17:35:32 -07:00
MIT_KEMAR.def Change references of makehrtf to makemhr 2019-03-24 17:35:32 -07:00
openal-info.c Improve handling main() with UTF-8 args on Windows 2020-08-12 17:40:00 -07:00
SCUT_KEMAR.def Change references of makehrtf to makemhr 2019-03-24 17:35:32 -07:00
sofa-info.cpp Print the number of used measurements in sofa-info 2020-10-07 01:04:42 -07:00
sofa-support.cpp Move duplicate SOFA-related functions to a reusable library 2019-12-11 00:49:57 -08:00
sofa-support.h Move duplicate SOFA-related functions to a reusable library 2019-12-11 00:49:57 -08:00
uhjdecoder.cpp Fix UHJ encoding/decoding factors 2021-04-11 17:09:52 -07:00