r/SpatialAudio • u/ChipsAhoiMcCoy • Sep 11 '22
How do Personalized HRTFs typically created?
So I’ve been looking around at HRTF lately because I think it would be really nice to get that extra level of immersion while watching movies were playing video games as I’m actually blind, so I’ve been going down a pretty steep rabbit hole lately. I have been hearing things about personalized HRTF profiles being the most accurate surround you can pretty much get it since it’s personalized to you, but while looking up how to actually do this it seems as though the tech is fairly new and most of the time the methods in which we can accomplish this are scrutinized with consumer programs at least. An example would be the immersion software by anybody. It sounded great on paper being able to just simply take a picture of your ear, but I’ve seen others mention how this probably is not going to give you an accurate HRTF result, and those same users mention how it’s probably not possible to get an accurate result at home but don’t go on to mention how to actually get one. So my question is, how is this actually done? Do you need to see an audio professional like an audiologist or something to correctly create an HRTF profile for you? Once you have your HRTF as well, how exactly does it work? Is it simply a file that you would import to some kind of a surround program like Dolby Atmos for Windows or that immersion software? If this is something that can be done at home with very nice results with some other method, what method is that? Is it expensive? What software would you use after having the HRTF profile? Also, does every program natively support the use of HRTF? Sorry for the bombardment of questions, I am very interested in this technology as it could help make games much much more enjoyable for me. Thank you!
4
u/Morgin187 Sep 11 '22
I use impulcifer. It’s free program on GitHub. You need a good speaker, in ear mics, good headphones (open back) an interface and connectors for the in ear mics. not too expensive
You can create a stereo or surround hrtf for your ears. The way it works is mics in your ears and you play a sound through your speaker at different postitions and it records how the sound comes into your ears for each position. It takes a good few tries and different settings to get right but the quality is perfect for your ears.
The person who made this has a demo you can try out but you have to learn how and what to install which is all in the guide.
This is a link to the guide
https://github.com/jaakkopasanen/Impulcifer
Here is a forum where I got loads of help from
https://www.head-fi.org/threads/recording-impulse-responses-for-speaker-virtualization.890719/
Any questions ask there they are more than willing to help.
2
u/Morgin187 Sep 11 '22
Btw impulcifer only gives surround sound. So if you already have surround set up then there’s not really any point apart from the quality of the sound.
True binaural is different because it sounds like you’re actually there. So impulcifer will give you cinema type of sound.
True binaural will give you something like
https://youtu.be/IUDTlvagjJA
I think there are a few games that use true binaural. Maybe try these as they will already have the binaural built in
Hellblade sanuas sacrifice is one of those games
1
u/TomChai Sep 12 '22
The proper way to get HRTF is always to measure it in a lab, however that is not practical for obvious reasons here.
Most spatial audio solution uses standardized HRTF models that should be close enough for most average people, but to get proper HRTF, you either measure it or somehow compute it.
Here is the machine learning part coming to play. After scanning thousands or even millions
of ears and measuring their corresponding HRTF, you throw these sample data into a very powerful computer and let it figure out a model in which you can pretty much estimate the HRTF for a given 2D or 3D ear scan. It's not strongly based on hard physics, it's basically just computer collecting and summarizing the relationship between a given ear shape and its possible HRTF.
Once the model is done, it is usually light enough to run in average server PCs, people can upload their ear scans generated by their phones to calculate an estimated HRTF. If the model is highly optimized and light enough to run on extremely efficient mobile chips, they can even run locally on NPUs on modern phones.
1
u/Kabraxis Sep 12 '22
You’re asking this just in time. Apple has released iOS 16 few hours ago, which includes a new feature to take users ear photographs and create custom HRTF models to be used with AirPods. I’m guessing HRTF will gain some more traction very soon so we can observe how people react to it.