Skip to content
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

Is it possible to use the generated data to get the "volume levels" of a track? #139

Open
AlbertoMeQ opened this issue Jun 10, 2021 · 2 comments

Comments

@AlbertoMeQ
Copy link

As the title says, I am trying to find a way to sample a track and know when there is sound (and its amplitude) and when there is silence?

The goal is to have something like the Decibel value (or something similar) that I can use to make an activity viewer.

I tried using the values directly (their absolute value) and making a ratio (dividing it by the max value = 16384) but the result wasn't matching the effective audio.
I also tried to convert it to relative DB with DB = 20 * log10(ampl / MAX_AMPL_) but that worked even more poorly.

Any clue? Am I approaching this incorrectly?

@chrisn
Copy link
Member

chrisn commented Jun 4, 2023

Sorry for taking so long to reply. Did you find a solution?

@cdgraff
Copy link

cdgraff commented Jan 29, 2024

Hi I'm interested into same topic! some alternative?

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

No branches or pull requests

3 participants