-
Notifications
You must be signed in to change notification settings - Fork 16
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
Provide possibility for Album Gain calculations #58
Comments
Sounds like a good idea. Do you want to provide a PR for exposing methods that allow you to calculate the album gain? If you can also add an example that makes use of them to calculate album gain that would be even better :) |
Alright, I opened PR #59. |
@sdroege Do you want to tag a new release? Or anything else missing? |
Nothing missing, I was going to do that today :) See #60 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have multiple track that I would like to analyze individually and then compute the album gain (which is the gain of the concatenation of all tracks). I'd like to avoid analyzing all the audio data twice. If I understand correctly this could be archieved like this:
This means I need the energy for each track and the number of gating blocks, so that I can compute the overall energy of the album. I can calculate each track energy from its loudness value by inverting https://github.com/sdroege/ebur128/blob/main/src/utils.rs#L25, but I do not know how many gating blocks the track has.
Could you expose methods for this?
The text was updated successfully, but these errors were encountered: