Skip to content

Music Audio is not normalized/leveled correctly #9295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
suit opened this issue May 25, 2021 · 10 comments
Closed

Music Audio is not normalized/leveled correctly #9295

suit opened this issue May 25, 2021 · 10 comments

Comments

@suit
Copy link

suit commented May 25, 2021

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
@nielsmh
Copy link
Contributor

nielsmh commented May 25, 2021

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.

@James103
Copy link
Contributor

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.

@suit
Copy link
Author

suit commented May 27, 2021

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

DxDiag.txt

@TrueBrain TrueBrain added the needs triage This issue needs further investigation before it becomes actionable label Jun 28, 2021
@Limyx826
Copy link
Contributor

#9565
Might be related.

@James103
Copy link
Contributor

James103 commented Jun 7, 2022

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

@Limyx826
Copy link
Contributor

Limyx826 commented Jun 8, 2022

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.

@James103
Copy link
Contributor

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

@nielsmh
Copy link
Contributor

nielsmh commented Oct 26, 2022

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

@TrueBrain
Copy link
Member

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 TrueBrain added waiting on author and removed needs triage This issue needs further investigation before it becomes actionable labels Jan 30, 2024
@Limyx826
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants