How can find decibal sampl for audio

1 view (last 30 days)
Iam read audio file and ineed to comput loudness sample in audio

Accepted Answer

Star Strider
Star Strider on 19 Aug 2020
See if the Signal Processing Toolbox mag2db function will do what you want.
Note that it is necessary to use the absolute value of the argument:
xdB = mag2db(abs(x));
.
  8 Comments
Esraa abd Altoni
Esraa abd Altoni on 19 Aug 2020
I want to get samples that contain decibels higher than 80 from this equation. Mag2db) Values are very low and negative Is there an add-on to get noisy samples over 80 db?
Star Strider
Star Strider on 19 Aug 2020
CConsider that:
dB80 = db2mag(80)
produces:
dB80 =
10.0000e+003
so multiplying them by 1E+4 or dibviding them by 1E-4 would do what you want.

Sign in to comment.

More Answers (0)

Categories

Find more on Audio Processing Algorithm Design in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!