![]() All that this calculation can give you is how the peaks in the sound file compares to other peaks in the same sound file. A few feet away, a human listening with human ears will get a totally different sound level and different frequencies.ģ) Without calibrated hardware, you cannot say that the sound is 60dB or 89dB or whatever. But you cannot know how loud it is in real life, not without the calibrations that the others are referring to.Ģ) This was also mentioned by PaulR and user545125: Because you're evaluating according to a recorded sound, you are only measuring the sound at the specific location where the microphone is, biased to the direction the microphone is pointing, and filtered by the frequency response of your hardware. And by that I mean that you will be able to see that the sound in the sound file at this point is 3 dB louder than at that point, or that this spike is 5 decibels louder than the background. Since we don't have calibrations and references, this measurement is only relative to itself. (We work with absolute values, positive numbers only.) So if you have a wave that peaks at 14731, then: amplitude = 14731 / 32767īut there are very important things to consider, specifically the answers given by the others.ġ) As Jörg W Mittag says, dB is a relative measurement. For example, if you have a 16 bit sound file, the amplitude can go as high as 32767. The amplitude in this case is expressed as a number between 0 and 1, where 1 represents the maximum amplitude in the sound file. There is no calibration or reference measurements, just a simple calculation: dB = 20 * log10(amplitude) Many wave-file editors have a vertical scale in decibels. But if you just want a general estimation of comparative loudness, like if you want to check whether the dog is barking or whether a baby is crying and you want to specify the threshold in dB, then it's a relatively simple calculation. All the previous answers are correct if you want a technically accurate or scientifically valuable answer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |