In the spatial audio community, there is a lot of interesting, ongoing research and experimentation that aims to understand the trade-offs involved in using customized (or personalized) HRTFs. With the latest release of Steam Audio 2.0-beta.16, we want to provide developers with an efficient tool that enables them to conduct experiments and research studies. Our hope is that new knowledge in this domain can be created faster, and can be shared with the VR and gaming communities more easily.
Custom HRTFs can be specified to Steam Audio using the SOFA file format. SOFA stands for Spatially-Oriented Format for Acoustics, and is a standard developed by the Audio Engineering Society (AES) and published in 2015. For more information on the SOFA format, see https://www.sofaconventions.org/.
How to obtain a SOFA file, whether by measurement, calibration, or any other process, is beyond the scope of Steam Audio. We just provide an efficient tool for using SOFA files for research and experimentation.
Steam Audio makes a few assumptions about the data provided using SOFA files; for more information refer to the documentation.
To provide a SOFA file to Steam Audio, follow the instructions below.
Unity plugin
Copy SOFA files to the StreamingAssets directory in your Unity project. Then open the Steam Audio tab (Window > Steam Audio) and specify the SOFA files to load under HRTF Settings.

FMOD Studio plugin
SOFA files are specified using your game engine. If using Unity, follow the instructions for the Unity plugin; the FMOD Studio plugin will automatically load and use your SOFA files.
Unreal plugin
SOFA file support will be added to the Unreal plugin in an upcoming update.
C API
SOFA files are loaded when creating a Binaural Renderer using iplCreateBinauralRenderer. The relevant information is passed using the params parameter to this function: set the type member to IPL_HRTFDATABASETYPE_SOFA and the sofaFileName member to the absolute path to the SOFA file you wish to load.
For more information on using any of the above plugins to load SOFA files, refer to the relevant documentation. Note that SOFA files are not necessary to use Steam Audio; you can continue to use Steam Audio for HRTF-based 3D audio and all of its other features without specifying any SOFA files, just as before.
