OpenTTD icon indicating copy to clipboard operation
OpenTTD copied to clipboard

Music Audio is not normalized/leveled correctly

Open suit opened this issue 3 years ago • 6 comments

Version of OpenTTD

1.11.2 Steam, Windows

Expected result

Music should have a nice level according to game settings

Actual result

Audio levels are not consistent, on some music sets the difference is very high (eardrum ripping high)

Steps to reproduce

  1. Install the the "Doom I Soundtrack" Version 1.2 from the library
  2. reduce global music level to a low setting (for example 20 %) and start listening
  3. change the track to 09 Hiding the Secrets or 26 Hiding the Secrets (those play at full volume, no matter the music level you have set)
  4. go to content_downloads directory and search for midi-Files: open them in your prefered media player e1m9.mid and e3m9.mid play at the same volume as all the other files

suit avatar May 25 '21 19:05 suit

Cannot reproduce. Tested with dmusic driver playing to the Microsoft GM soft-synth using the default DLS instruments, as well as with the win32 driver playing to two different hardware MIDI (GM) synths. The volume control is correct in all cases, with track 9, 26, and any other tested from the Doom music set. Of course, 1.11.2 Windows version from Steam.

nielsmh avatar May 25 '21 21:05 nielsmh

Can you please try the following:

  1. Locate the openttd.cfg file in your Documents folder and post it here if possible.
  2. Run the executable located at C:\Windows\System32\dxdiag.exe, then wait for the progress bar to finish.
  3. Click "Save All Information", then upload the resulting file here.

James103 avatar May 27 '21 10:05 James103

I have tried it with the stock config and just downloaded the Doom I Soundtrack, still reproduceable.

DxDiag.txt

suit avatar May 27 '21 18:05 suit

#9565 Might be related.

Limyx826 avatar Sep 21 '21 09:09 Limyx826

Are you still able to reproduce this in 12.2 or the latest nightly? If not, this issue can be closed.

James103 avatar Jun 07 '22 12:06 James103

Are you still able to reproduce this in 12.2 or the latest nightly? If not, this issue can be closed.

Not the OP but tried to reproduce his steps in 12.2 and able to confirm still an issue. Not sure it is because I used VMS, but when switch to track no 9 from other tracks, the channel 1 is full volume and the rest is normal. However if you adjust the global music volume during playback then it will back to normal. Same case with track 26.

Limyx826 avatar Jun 08 '22 12:06 Limyx826

Can reproduce in 4052feef1f. Also occurs with tracks 0 and 1 when using the Modern Motion music set.

James103 avatar Oct 23 '22 23:10 James103

Those capable of reproducing, please try making an audio recording of your mixed audio output.

nielsmh avatar Oct 26 '22 15:10 nielsmh

Sadly, nobody got back to us with a recording.

We think this has recently been fixed with some other audio related fixes. Please test this with a recent nightly. Feel free to reopen this issue if it hasn't been fixed, including the requested audio recording by @nielsmh . Tnx!

TrueBrain avatar Jan 30 '24 16:01 TrueBrain

openttd-20240130-master-g96651b5ada-windows-win64 From my listening, seem fixed right now. I can't how I check the volume of each channel again but from my listening seems good now.

Limyx826 avatar Jan 31 '24 03:01 Limyx826