Steam Audio HRTF in Unity: So easy, a caveman could code it in!
Use headphones only with any virtual surround features turned off.
I decided to take the plunge into learning Unity's basics in order to do some experiments with its various HRTF plugins. This video is not a serious display of programming knowledge, mind you, but rather my first steps into this wonderful and yet woefully underutilized technology. The effects of spatialized audio are so prominent that even the laziest possible implementation of it is instantly prevalent. With a proper camera and controller setup as well as additional parameters like air absorption and physics-based attenuation, who knows just how wonderful Unity could end up sounding?
I undertook this experiment for two reasons, mainly.
1.) https://steamcommunity.com/games/596420/announcements/detail/1681425498140397761
As of October 25th, Steam Audio (Phonon3D) now has support for personalized HRTF presets in the same SOFA format that Rapture3D uses. This means I may be able to produce a second half to the "Personalized HRTF Binaural Audio demo" with Unity.
2.) https://steamcommunity.com/games/519860/announcements/detail/1700566430829988642
The popular upcoming retro-throwback FPS game DUSK will be including a full-blown SDK that may or may not be able to completely rewrite the game from the ground up. My plan, should things go the way I expect, is to make a mod that will fully integrate Steam Audio into Dusk for full 3D positional audio plus real-time reverb and occlusion effects. In other words: fake Aureal A3D for the '90s shooter that was made 20 years too late.
This video also covers the Oculus Spatializer. I had to amplify the footage by 8db just to match the Steam Audio clip, so...yeah. I want to give a BIG shout out to Lakulish for supporting Steam Audio while everybody else at Valve just makes virtual hats, knives, and trading cards.
Links:
https://valvesoftware.github.io/steam-audio/
https://steamcommunity.com/gid/103582791457441778/announcements/detail/1681419156989664451
(Looks like hardware-accelerated sound isn't dead after all.)
https://steamcommunity.com/gid/103582791457441778/announcements/detail/1681425498140407794
(Right-click the video and click "show controls" to unmute. Holy shit.)
Credits:
Wants To Know by BODYSURFER
URL: http://freemusicarchive.org/music/BODYSURFER/Digital_Prints/Wants_To_Know
Comments: http://freemusicarchive.org/
Curator: ccCommunity
Copyright: Creative Commons Attribution-NonCommercial-NoDerivatives 4.0: http://creativecommons.org/licenses/by-nc-nd/4.0/
#3dsound #spatialaudio #binaural #3daudio #hrtf #headphones #audiophile #gameaudio #unity #steamaudio #oculus
3D 3Д звук пространственный бинауральный 3Dサウンド バイノーラル 空間オーディオ Ilusión Auditiva Sonido 3D áudio audio espacial Som em 3D 3D zvok Son en 3D 3D geluid 3D zvuk 3d声音 双耳 เสียง 3D Âm thanh 3D Suono 3D audio spaziale 3d-ääni binauraalisen 3D lyd 3D dźwięk Suara 3D 3D 사운드 3 डी साउंड 3 डी ध्वनि صوت ثلاثي الأبعاد صدای سه بعدی Τρισδιάστατος ήχος 3D skaņa 3D garsai 3D ses צליל תלת ממדי דימוי שמע