-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
OPUS gain is applied incorrectly/undocumented #969
Comments
Auxio does, but I don't know if the system media codec handler does.
That is my belief. The system media codec handler is documented to already process and handle the header gain. Auxio handles the additional R128 tags. Does this help @hknutsen? |
Thank you for the quick response! As a result of your very helpful comment, I did a couple of quick tests where I compared the volume in Auxio with the volume in Spotify. Test 1
With this configuration, Auxio plays back the exact same song at a noticeably lower volume than Spotify (that song being Fossegrim by Kvelertak, streamed on Spotify here and bought on Qobuz here. The UPC and ISRCs match between Spotify and Qobuz, so these are the same release). Test 2
With this configuration, Auxio seems to play back at the same volume as Spotify (or at least close enough that I'm unable to make out a difference). FindingsI'm fully aware that this is not a very formal testing method, but these are my findings for now:
|
Just to clarify: This issue was not created to argue whether Auxio should apply +5 dB gain to Opus files or not. I created it simply to clarify how gain is currently applied to Opus files, and that it should be documented to prevent future confusion, since gain for Opus files can be a confusing topic (hence my own confusion) 🙂 |
Will need some time to consider these results, as far as I know I'm doing everything right, but there may be a gotcha I'm not seeing @hknutsen. |
FWIW @OxygenCobalt, I think you're doing everything right as well 🙂 See this comment. |
Okay, I updated Supported Audio Formats to document the OPUS base gain behavior @hknutsen. Thanks for the heads-up. |
Documentation looks perfect, thanks @OxygenCobalt ! |
Context:
Also:
REPLAYGAIN_ALBUM_GAIN
tag, and track gain in theREPLAYGAIN_TRACK_GAIN
tag.R128_TRACK_GAIN
tag.I've been trying to figure out how Auxio applies header gain to Opus files by digging through issues, PRs and commits in this repository, however I'm still confused.
Would it be possible to document how Auxio applies gain to Opus files? For example in the wiki?
What could be documented:
The text was updated successfully, but these errors were encountered: