You can generate custom HRTF using the makehrtf utility supplied with OpenAL Soft.
OpenAL, or Open Audio Library, is a widely-used, cross-platform audio API designed for 3D audio processing. The library provides a powerful and flexible way to create immersive audio experiences in various applications, including games, simulations, and interactive environments. The latest release, OpenAL 2.0.7.0, brings several improvements and enhancements to the table, making it an attractive choice for developers seeking high-quality audio solutions. openal -open audio library- 2.0.7.0
– Understanding your version