Black Mesa
50 évaluations
3D Sound for Headphones (HRTF) setup guide
De ReddishRat
This is an easy setup guide to enable 3D headphone audio. Be amazed and get the true black mesa experience!
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Introduction

This is a very good video where you can experience (listen using headphones with plain stereo) the end result of this guide. I'm not the author of this video or any way affiliated but it inspired me to write this guide. It is not complicated to set it up but the steps to do this are found on different pages or readme files. This guide should improve this and with the upcoming 1.0 release I want to share this immersive experience with fellow gamers.

Goal
So what are actually going to do? We're going to "fool" the game sound setup in thinking we're able to use the legacy DirectSound3D audio renderer which then uses OpenAl Soft to convert the sound using HRTF filters. This way, when putting on a headphone you have the full 3D spatial sound experience with (some) EAX effects. So be warned when using speakers, the sound will not be as intended.

Important note
Make sure you have any virtual surround settings or spatial sound in windows 10 turned off and the speaker output set to stereo for your headphones. Otherwise it counter effects the result. Also set the sound output to 48000hz on 16 or 24 bit.
Installing DSOAL and OpenAL soft
Download the following file from nexusmods[www.nexusmods.com]. It is uploaded as a fallout new vegas mod, but DSOAL can be used by any game using DirectSound3D.

Unpack the following files to your Black Mesa Source folder (Steam\steamapps\common\Black Mesa) Make sure they're placed in the root of that folder:
  • alsoft.ini
  • dsoal-aldrv.dll
  • dsound.dll
Then unpack the HARD MODE INSTALLATION zip file in the same root folder. You should have the following folder structure.
Setting OpenAL configuration
Open the alsoft.ini file and change to the following settings:
[General] channels=stereo frequency=48000 stereo-mode=headphones cf_level=0 sources=512 slots=64 sends=16 sample-type=float32 resampler=cubic default-hrtf=irc_1037_48000 hrtf=true drivers="-dsound," period_size=1024 periods=3 hrtf-mode=full [reverb] boost=0

Side note
Above setup uses the HRTF preset 1037 which is also used in the video. There are additional presets included in the OpenAL soft folder that might give you a better 3D experience. You can use this video from the same author to check which HRTF preset sounds the best for you. Then change the default-hrtf line to that other filter. After some testing I found the 1037 works the best for me.
Setting in-game configuration
Set the audio speaker output to 4 or more speakers.

Set the following console commands:
  • snd_mixahead 0.05
  • snd_legacy_surround 1 (note the 3D sound enabled message).
The console commands are saved in your config.cfg, so no need to change this everytime you start BMS.

You should instantly hear the 3D spatial audio after setting the console command. If not, then something is not setup properly :-)
Extra recommended mods
On top of the amazing 3D sound experience you should consider the following workshop mods (also used in the video). These make the experience complete:

https://gtm.steamproxy.vip/id/GameB_IIopn/myworkshopfiles/?appid=362890
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1954333932
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1945786736
Additional info
To learn more about the differences between virtual surround, 3D (spatial) sound (binaural), HRTF, EAX or other techniques and how to apply them to other games see below resources. The author of this video has some additional videos and links on his channel to explain this very well. Also you can use this [www.pcgamingwiki.com]resource to learn more.
10 commentaires
GordRat 13 juil. 2022 à 19h45 
I tried using this for a few days. In the end, I prefer the default 7.1 audio. Perhaps I needed to tweak some of the parameters to get a more realistic 3D speakers.
CranSo 16 oct. 2021 à 9h08 
beefy sound pack is awful
Tmob 30 juin 2021 à 18h36 
@The Third Portal Fear the truth do we?
christmasyname 12 juin 2021 à 10h54 
@SquidNipples Go to hell.
SquidNipples 4 mars 2021 à 12h43 
I still don't know why the FUCK people like the "beefy" sound mod. It's just bass boosted, clippy garbage, like an HD version of the shit you'd hear in 90's and early 00's games.

Anyway, this setup makes the ambiance sound pretty nice and spatialized, but the actual sound effects (mostly weapons) are extremely quiet and distant in comparison. The glock sounds like I'm actually holding it a mile in front of my head. Is that just a preset thing, or did I set this up wrong? That's assuming this isn't just a bad way to do sound in general.
Colonel 9 févr. 2021 à 20h24 
Impressive. Thank you :numberone:
Uhuru N’Uru 7 mars 2020 à 14h41 
@MiskatonicFox Sounds like you're using a spatial setting, which is sort of doing the same thing
Windows Sonic for Headphones is the Free W10 virtualisation audio popst processing, but you may have one of the Win Store options Dolby Access, or DTS sound Unbound.

You may even have an audio card with it's own custom setup, or software provided with your headphones.

This is an alternative to such things, and to try it you'd after switch off any existing audio post processing.

Which depends on your setup,, but it's unusual to have only 7.1 on headphones, without a sound card, or software forcing it. Your headphones usually come with 2 speakers, not 7, and a sub woofer (7.1), so virtualise the effect, but some very expensive headphone do in fact have that many speakers. So it's difficult to figure out exactly what you should do.
MiskatonicFox 6 mars 2020 à 11h48 
Will this still work if Windows 10 doesn't let me set my headphones to Stereo? 7.1 is the only option it gives me...
x 3 mars 2020 à 8h00 
After installing this mod, I got noise.
(They are both in the headphones and in the speakers)
Although before this was not
x 28 févr. 2020 à 3h21 
cool!