Stereo sounds are too loud in OpenMW

Type: 

Bug

Severity: 

Normal

Game version: 

OpenMW

Concerns: 

Tamriel_Data

Related Release File: 

Found in Version: 

Status: 

Fixed for Version: 

Description: 

In OpenMW v0.45.0 and TES3MP v0.7.0, some sounds sound way too loud, much louder than in the vanilla engine. It is as if distance isn't taken into account when determining sound volume. This is especially noticable with Ornada "moan" sounds, but other sounds are affected as well:

 Morrowind\Data Files\Sound\TR\r\ornada moan.wav

I reported the issue to the OpenMW here: https://gitlab.com/OpenMW/openmw/issues/5235

@cmaugust Converting the Ornada moan .wav file to mono appears to fix the attenuation. Looks like OpenMW doesn't handle stereo sounds properly.
@Capostrophic Content file issue, stereo sounds aren't supposed to be attenuated.

Should all stereo sounds in Tamriel_Data be converted to mono?

Comments

According to the linked

Vesicant's picture

According to the linked OpenMW issue, this bug is also present in the vanilla engine if the "3D Audio" setting is set to "Hardware Accelerated".

Basically, it seems that any audio file that is meant to be played in the 3D world space should be mono, not stereo. So it's okay for music, weather, and UI SFX to be stereo, but pretty much everything else should be mono. This is also mentioned in Tamriel Rebuilt's Audio Guidelines:

NPC voices must be exported at 64kbps mp3, 44100 KHz Mono [...]
The format Bethesda uses for Sounds and creature Sound Gen is .wav 22050 kHz, 16-bit, Mono. MSFD reports that lower qualities work as well.

I've been doing some testing with ffprobe, which comes with ffmpeg. It looks like 91 of 498 sounds are stereo.

I wrote a script to downmix stereo files to mono, while keeping bit rate and sample rate the same:

https://pastebin.com/puPquJVT

You can find the fixed files here:

https://www.dropbox.com/s/y9it6hbo5m5y8p6/Tamriel_Data-v7.0-Loud-Sound-Fix.7z?dl=0

From some casual in-game testing, I can confirm that this fixed the loudness issues for me.

The following files were affected:

  1. Data Files/Sound/TR/fx/TR weirgate loop.wav
  2. Data Files/Sound/TR/fx/TR_dae_amb_01.wav
  3. Data Files/Sound/TR/fx/TR_dae_amb_02.wav
  4. Data Files/Sound/TR/fx/TR_dae_amb_03.wav
  5. Data Files/Sound/TR/fx/TR_dae_amb_04.wav
  6. Data Files/Sound/TR/fx/TR_dae_amb_05.wav
  7. Data Files/Sound/TR/fx/TR_dae_amb_06.wav
  8. Data Files/Sound/TR/fx/TR_dae_amb_07.wav
  9. Data Files/Sound/TR/fx/TR_dae_amb_08.wav
  10. Data Files/Sound/TR/fx/TR_dae_amb_09.wav
  11. Data Files/Sound/TR/fx/TR_dulcimer_01.wav
  12. Data Files/Sound/TR/fx/TR_dulcimer_02.wav
  13. Data Files/Sound/TR/fx/TR_dulcimer_03.wav
  14. Data Files/Sound/TR/fx/TR_dulcimer_04.wav
  15. Data Files/Sound/TR/fx/TR_dulcimer_05.wav
  16. Data Files/Sound/TR/fx/TR_dulcimer_06.wav
  17. Data Files/Sound/TR/fx/TR_dulcimer_TR01.wav
  18. Data Files/Sound/TR/fx/TR_dulcimer_TR02.wav
  19. Data Files/Sound/TR/fx/TR_dulcimer_TRFull.wav
  20. Data Files/Sound/TR/fx/TR_imperial_wnd01.wav
  21. Data Files/Sound/TR/fx/TR_imperial_wnd02.wav
  22. Data Files/Sound/TR/fx/TR_imperial_wnd03.wav
  23. Data Files/Sound/TR/fx/TR_imperial_wnd04.wav
  24. Data Files/Sound/TR/fx/TR_imperialbell_close.wav
  25. Data Files/Sound/TR/fx/TR_imperialbell_dist.wav
  26. Data Files/Sound/TR/fx/TR_khalaan_loop.wav
  27. Data Files/Sound/TR/r/dridrea matri moan.wav
  28. Data Files/Sound/TR/r/dridrea matri roar.wav
  29. Data Files/Sound/TR/r/dridrea matri scream.wav
  30. Data Files/Sound/TR/r/dridrea moan.wav
  31. Data Files/Sound/TR/r/dridrea roar.wav
  32. Data Files/Sound/TR/r/dridrea scream.wav
  33. Data Files/Sound/TR/r/dridrea spawn moan.wav
  34. Data Files/Sound/TR/r/dridrea spawn roar.wav
  35. Data Files/Sound/TR/r/dridrea spawn scream.wav
  36. Data Files/Sound/TR/r/ornada moan.wav
  37. Data Files/Sound/TR/r/ornada roar.wav
  38. Data Files/Sound/TR/r/ornada scream.wav
  39. Data Files/Sound/TR/r/parastylus moan.wav
  40. Data Files/Sound/TR/r/parastylus roar.wav
  41. Data Files/Sound/TR/r/parastylus scream.wav
  42. Data Files/Sound/TR/r/troll-vermai_1.wav
  43. Data Files/Sound/TR/r/troll-vermai_2.wav
  44. Data Files/Sound/TR/r/troll-vermai_3.wav
  45. Data Files/Sound/TR/r/troll-vermai_4.wav
  46. Data Files/Sound/TR/r/velk moan.wav
  47. Data Files/Sound/TR/r/velk scream.wav
  48. Data Files/Sound/TR/r/vermai moan.wav
  49. Data Files/Sound/TR/r/vermai roar.wav
  50. Data Files/Sound/TR/r/vermai scream.wav
  51. Data Files/Sound/pc/cr/cow_scream.wav
  52. Data Files/Sound/pc/cr/cow_scream2.wav
  53. Data Files/Sound/pc/cr/donkey_moan.wav
  54. Data Files/Sound/pc/cr/horse_moan.wav
  55. Data Files/Sound/pc/cr/horse_moan2.wav
  56. Data Files/Sound/pc/cr/horse_roar.wav
  57. Data Files/Sound/pc/cr/horse_scream.wav
  58. Data Files/Sound/pc/cr/seagull_flap.wav
  59. Data Files/Sound/pc/cr/seagull_scream01.wav
  60. Data Files/Sound/pc/cr/seagull_scream02.wav
  61. Data Files/Sound/sky/cr/RakiMoan.wav
  62. Data Files/Sound/sky/cr/SabreCat01.wav
  63. Data Files/Sound/sky/cr/SabreCat02.wav
  64. Data Files/Sound/sky/cr/Sky_Giant_Moan.wav
  65. Data Files/Sound/sky/cr/Sky_Giant_Right.wav
  66. Data Files/Sound/sky/cr/Sky_Giant_Roar.wav
  67. Data Files/Sound/sky/cr/Sky_Giant_Scream.wav
  68. Data Files/Sound/sky/cr/Sky_Giant_left.wav
  69. Data Files/Sound/sky/cr/chickenMOAN.wav
  70. Data Files/Sound/sky/cr/chickenROAR.wav
  71. Data Files/Sound/sky/cr/chickenScream.wav
  72. Data Files/Sound/sky/cr/cow_scream2.wav
  73. Data Files/Sound/sky/cr/goat_moan.wav
  74. Data Files/Sound/sky/cr/hagraven_moan.wav
  75. Data Files/Sound/sky/cr/hagraven_roar.wav
  76. Data Files/Sound/sky/cr/hagraven_scream.wav
  77. Data Files/Sound/sky/cr/horse_moan2.wav
  78. Data Files/Sound/sky/cr/mammoth_moan.wav
  79. Data Files/Sound/sky/cr/mammoth_roar.wav
  80. Data Files/Sound/sky/cr/mammoth_scream.wav
  81. Data Files/Sound/sky/cr/roosterRoar.wav
  82. Data Files/Sound/sky/cr/wereboar_moan.wav
  83. Data Files/Sound/sky/cr/wereboar_roar.wav
  84. Data Files/Sound/sky/cr/wereboar_scream.wav
  85. Data Files/Sound/sky/direnni_haunted.wav
  86. Data Files/Sound/sky/direnni_loop.wav
  87. Data Files/Sound/sky/fx/barrow_amb.wav
  88. Data Files/Sound/sky/vorndgad_birds.wav
  89. Data Files/Sound/sky/vorndgad_birds2.wav
  90. Data Files/Sound/pc/cr/cow_moan.WAV
  91. Data Files/Sound/sky/beehive.WAV