audiowaveform icon indicating copy to clipboard operation
audiowaveform copied to clipboard

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

Open AlbertoMeQ opened this issue 3 years ago • 2 comments

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?

AlbertoMeQ avatar Jun 10 '21 14:06 AlbertoMeQ

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

chrisn avatar Jun 04 '23 22:06 chrisn

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

cdgraff avatar Jan 29 '24 14:01 cdgraff