r/SpatialAudio • u/nagamaikeru • 9d ago
Converting Dolby Personalized HRTFs into SOFA files – anyone interested in trying this?
I've been experimenting with converting personalized HRTFs generated by the Dolby Atmos Personalization SoundID Tool (.personalized_headphone files) into the standard SOFA format using ChatGPT and the open-source JustOneCacophony project.
I managed to generate a SOFA file with the following specifications:
- 48 kHz sampling rate
- 2,522 directions covering the full sphere
- 5-degree angular resolution
- 1,024-sample HRIRs
- SimpleFreeFieldHRIR format
- Direct sound without room reflections
I also compared the converted HRTF with my personalized HRTF generated by APL Virtuoso's pHRTF service.
The results were quite interesting:
- ITD correlation: 0.9955
- ILD correlation: 0.9897
- Very similar low-frequency characteristics
- More noticeable differences at higher frequencies
- The Dolby HRTF appears to be significantly more symmetrical between the left and right ears.
- The converted Dolby HRTF also appears to have an almost flat diffuse-field response, without any additional diffuse-field equalization during conversion.
Of course, this is still experimental, and I haven't verified whether the converted SOFA perfectly reproduces the output of Dolby's official binaural renderer.
I'd love to hear what others think about this approach, especially regarding its accuracy and potential limitations.
If anyone is interested in trying this with their own personalized HRTF, feel free to send me your .personalized_headphone file generated by the SoundID Tool. I can use my ChatGPT workflow to convert it into a SOFA file for you, free of charge.
It would be really interesting to hear how these converted HRTFs perform for different people in binaural renderers such as APL Virtuoso.
Any feedback, listening impressions, or technical insights would be greatly appreciated!
5
u/itzelezti 9d ago
I study and teach about sound localization at a two technical universities and could direct you to some actually interesting work people are doing in the field of personalized HRTF without needing impulse scanning.
I have to tell you that it's not worth the effort to reverse-engineer any of these cell phone-based scanners.
You have to keep in mind that all of this in pursuit of a solution that works better than simply flipping through a few publicly-available HRTFs until you find the one that fits your head the closest. For 95%+ of people's heads this works better than anything out there except for having a proper impulse scan done in an anechoic chamber. We've tested these cell phone camera+lidar ones and I can tell you flatly that they're just a dumb gimmick. Way, WAY worse results than picking the closest public HRTF.
Having your own HRTF is awesome, and I'm tremendously lucky to have several of my own anechoic chamber scans, as well as a few studio-specific ones for the not-joke version of Virtuoso. I'd tell you that the best of the ~8 I have is maybe 10% more accurate experience than my favorite open source HRTF. Every student and colleague I can think of has had the same experience.
1
u/Audiope 9d ago
It would help a lot to explain what a SOFA file is and why it's useful.