by lambdaone · 1y ago · 0 comments
decibels are simply a dimensionless ratio, used as a multiplier for some known value of some known quantity.
In every context where decibels are used, either the unit they qualify is explicitly specified, or the unit is implicity known from the context. For instance, in the case of loudness of noise to human ears in air, the unit can be taken to be dBA (in all but rare cases which will be specified) measured with an appropriate A-weighted sensor, relative to the standard reference power level.
And similar (but different) principles apply to every other thing measured in dB; either theres an implicit convention, or the 0 dB point and measurement basis are specified.
People who assume that everyone is an idiot but themselves are rarely correct.
I look forward to the author discovering about (for example) the measurement of light, or colorimetry, and the many and various subtleties involved. The apparent excessive complexity is necessary, not invented to create confusion.
The author's whole point is that this is not true.
To adapt your analogy, it's not like being mad at the number three, it's like being mad about people not attaching any units to the number three, arguing that it's clear in context. It isn't!
In virtually any other situation, leaving off units and counting on context to fill them in would be considered to be at the extreme end of unacceptable.
The unit problems in question, are only accepted because they are an historically created anomaly. Not because they are a good idea, or anyone wanted that outcome.
No. We've painstakingly figured out the right answer to this through the generations of doing science and engineering: You always specify units.
“How old is your son?” “He’s 3.”
Clear in context. People write things like dB SPL (A-weighted) in spec sheets because spec sheets benefit from being unambiguous. Most of the time it’s really clear, like you’re talking about insertion loss or amplifier gain and there’s only one reasonable way to interpret it.
On detailed spec sheets they list the gain of amplifiers as xxx dB.
3 days, weeks, months or years are ironically all common units when someone is "3".
dB for anyone not already knowing the answer is like going to another planet and hearing "he's 3". Of course it's on a logarithmic scale, offset to -5 as starting point, counting the skin shedding events - clear in context and you should've known that.
I just don’t remember encountering the problem you’re describing, and it’s unfamiliar to me. There’s something about your experience that I don’t understand, but I don’t know what it is.
How about velocity? What's 0 m/s? What does it mean to be absolutely still? All motion is relative, and being still is entirely a matter of perspective. You might be sitting still on a train, but traveling very quickly relative to a cow standing still while you blow by.
Bels are a relative measure that confuse some because they pop up in different contexts that seem unrelated. However, they are useful when dealing with quantities for which most pertinent relationships are exponential. e.g. They work for sound because humans perceive exponential increases in volume in a linear fashion. Something that is 3dB louder is twice as loud in terms of pressure levels, but we only perceive it as a little bit louder. Sound pressure levels are both relative measures and an attempt to reflect human perception . That makes them, necessarily, a bit odd.
Except they are not. 1 dB can sometimes mean a ratio of ~ 1.26 and other times it can mean a ratio of ~ 1.12.
"In every context where decibels are used, either the unit they qualify is explicitly specified, or the unit is implicity known from the context."
Maybe in university, but certainly not in the real world.
The SI way to write `10 dBm` is to write `10 dB (1mW)`, clearly communicating both the power level and the reference point and unit. This ensures that you do not have to just memorize a bunch of decibell suffixes and their magical reference values.
Our senses are all like this - for the same reason we have dozens of systems to describe color. And why perfume and wine makers can never agree descriptions.
But this is not arcane knowledge only known by a priesthood. Since you are clearly confused about what a decibel is and how and why it is used, you can read
https://en.wikipedia.org/wiki/Decibel
and all will be revealed.
This was covered in the article. But also it was discussed why things aren't this simple.
> People who assume that everyone is an idiot but themselves are rarely correct.
Indeed.
Of course, unless it's a multiplier for an unknown value of a known quantity, like every amplifier, filter, and sensor specified in dB.
> For instance, in the case of loudness of noise to human ears in air, the unit can be taken to be dBA
Unless you're using dBB or dBC, but of course we all know exactly why you'd use dBC (more suitable for figuring out safety of high impulse, short events) or dBB (it's somewhere in between - you'll know it when you see it).
> The apparent excessive complexity is necessary, not invented to create confusion.
Wait, so writing dB instead of dBA is now necessary, not just convenient?
No, it’s a bit like saying “for chocolate M&Ms, 3 obviously means 9, to compensate for the fact that they’re much smaller than the peanut ones”.
The complexity absolutely is not necessary. Maybe you mean to say it’s understandable or it’s coherent if you know the rules.
Physics doesn’t require us to create ambiguity by assigning DB to mean multiple possible ratios. If it needs to be disambiguated, then they both didn’t need to be DB in the first place.
Print this, frame this, put this up on walls in schools, offices, heck even outdoor on large billboards!
https://en.wikipedia.org/wiki/Mel-frequency_cepstrum
>Mel-frequency cepstral coefficients (MFCCs) are coefficients that collectively make up an MFC. They are derived from a type of cepstral representation of the audio clip (a nonlinear "spectrum-of-a-spectrum"). The difference between the cepstrum and the mel-frequency cepstrum is that in the MFC, the frequency bands are equally spaced on the mel scale, which approximates the human auditory system's response more closely than the linearly-spaced frequency bands used in the normal spectrum. This frequency warping can allow for better representation of sound, for example, in audio compression that might potentially reduce the transmission bandwidth and the storage requirements of audio signals.
https://en.wikipedia.org/wiki/Psychoacoustics
>Psychoacoustics is the branch of psychophysics involving the scientific study of the perception of sound by the human auditory system. It is the branch of science studying the psychological responses associated with sound including noise, speech, and music. Psychoacoustics is an interdisciplinary field including psychology, acoustics, electronic engineering, physics, biology, physiology, and computer science.
You see the same in HN threads where people complain that eg Git or Rust are needlessly complex, there's a swath of people who are so emotionally invested in how well they understand the ins and outs of Git resp Rust that any suggestion that maybe things could be better makes them angry.
It's possible for decibels to be usable and generally fine and also for them to needlessly complex, ie for there to exist better alternatives in each place they're used.
As an example, it makes no sense to me that eg in audio software, volume sliders start at 0 dB and then go down to negative $MUCHO, until complete silence at -Infinity. And then this same unit is also used to measure how loud my coffee machine is, somehow, but then it's suddenly positive and not a relative number at all? That's just weird shit, it's like expressing the luminosity of a pixel (in HSL terms) in lumen instead of a unitless percentage.
In the audio software context, it would be much more intuitive for "no sound" to be 0, and "full volume" to be 100, a bit like percentages. The "but volume needs to be logarithmic because that's how we hear it!" argument doesn't disallow that at all. Just because a slider goes from 0 to 100 doesn't mean that a 10 must mean 10% of the power output. Decibels are ridiculous.
“0 dB SPL” is 20 micro pascals which is roughly the threshold of hearing. A loud rock concert at 120 dB SPL is 20 pascals (no micro). The dB figures are a lot more convenient to work with.
It’s intuitive for 0 to be silent and 100 to be full, but if you work with audio you learn that dB are more convenient. Long-term convenience for experts tends to win out over short-term intuition for non-experts. This is why musicians continue to use sheet music and all of its seemingly ridiculous conventions—and likewise, decibels only seem ridiculous to people who don’t work in audio.
I don’t know what more usable alternative there would be, to decibels.
They're not the same unit, at all.
The audio software is a skeuomorphism from an analogue mixing console that is applying a change to a signal. 0 is unity gain and deviation from this describes an amplitude variation. This is important, as it means you are either discarding information by lowering the level and reducing dynamic range, or interpolating new information (/ decreasing SNR) by applying gain. This is less important today with floating point, but has strong historical reasons for existence across both analogue and digital domains.
If you look at an audio power amp, you will likely have some form of positive number as this is applying gain. Depending on the context this may have some specific meaning or it may be a screen print of a Spinal Tap logo and the numbers 1..11. These are all just UI decisions and part of doing that well is presenting coherent information for the target user group.
When you're talking about an acoustic noise source this is dB SPL which is a quantifier against a physical reference. That reference level quantifier is omitted a lot, which leads us to a lot of the angst in this post and the comments here. These are precise measurements, with very specific meaning. Their expression is often sloppy, but the units aren't to blame.
(excuse me while I got "full HN" here - I appreciate the irony in this response noting your first few sentences)
The reason people respond strongly to comments like this (or those about Git, or Rust) is because details matter. When you immerse in a domain, you learn the reason for those details. That does not mean things can't be improved, but this also does not imply those details can be removed or are wrong. A lot of the world, particularly when working outside of the bounds of a computer, depends on necessary complexity.
Exactly, so why label two different things using the exact same letters in a potentially ambiguous context.
If I pay for something in Australia and the bill comes to $50 this has meaning within that context.
I receive a bill in Zimbabwe for $50 this also has meaning within that context.
These values are not equivalent.
Ditto if I were to say it’s 30 degrees out. You may interpret that as either a good day for the beach, nice weather for ice skating, or we need to bear north-northeast depending on what context we share.
Language is messy.
This one doesn’t bother me. Those sliders, and especially the real analog sliders they’re modeled after, don’t have an absolute scale — they are attenuators that reduce voltage. So 0dB is the same as no slider at all, -20dB reduces voltage by a factor of 10, etc.
And then put two in series. Is there a simple formula to calculate the total attenuation?
This works flawlessly with dB. Just add. And it doesn't matter how you break it: -20dB and -20 dB in series is the same as -40dB and 0dB.
A major reason decibels are used is to make it easy to assess the overall gain or loss of an entire chain of processing stages: you simply add the numbers. The equipment's output can only go down from 0 dB, so the rest of the scale is negative.
As for sound pressure levels in dB, those are given relative to a 0-dB point that corresponded originally to the faintest sound people were generally considered capable of perceiving. These days "0 dB" refers to a specific amount of acoustic power, which I don't know off the top of my head, and that might or might not be near the threshold of perception for a given listener. But the reasoning still applies: amplification or attenuation of power levels is a simple matter of addition when expressed in dB. Arbitrarily defining a system's reference level to be 100 dB instead of 0 dB would be of no use to anyone.
Ultimately people who use this a lot would choose to become familiar with dB, as they always have. But there's no rush.
Surely constant unchanging air pressure has zero volume?
Volume is the range of variation in air pressure, right? That can surely go down to zero.
It can also only meaningfully go up to about double the absolute mean air pressure, before what you are talking about becomes shockwaves of overpressure.
Zero volume is when a speaker's diaphragm is still. On an 8-bit PCM audio file, it corresponds to a value of zero.
In the context of a signal, full volume corresponds to the 127 value in an 8-but PCM audio file (or arguably -128). In the context of a speaker, those values should push the diaphragm no further than how far it can travel linearly without distortion. Obviously the user may want to turn down the volume from this full volume.
I hope you understand that even when using an audio editor that displays values in dB, the underlying values are integers (or floats) that absolutely have zero and "full volume" meanings, and conventionally map respectively to -∞ dB and 0 dB.
Maybe they're all in a conspiracy to make things needlessly complex. But that's not the only possibility.
You're just projecting your ideas here. I've not made that choice, it's just the only option in a lot of software - I'd like my % slider back.
They are still some kind of faux-logarithmic*
*behavior depends on drivers/hardware.**
**for some hardware 50 in Windows will be neutral and 100 will be something like a +30 dB digital gain, that's probably in part because Windows is mapping the 0-100 range in some way to the USB audio control range, which is at most +-127 dB or something like that.***
***with some audio interfaces (the non-USB-Audio-class kind) the 0-100 actually becomes a linear factor of 0-1, making the windows controls very useless indeed, as 70% of the slider range does approximately nothing.
Like you have to describe relative intensity of waves in some way and these were experimental scientists, not commerce merchants looking for absolute interchangeability like weights and measures.
Computer blog people like standards and languageisms but science isn’t determined by big tech sponsored committee. It’s the best tool put forward so far and db is a physics concept and with a reference denominator you can calculate the absolute value. It’s fine. If you dabble with physics and expect the universe to make intuitive sense then you need an education.
Read books not blogs.
Kid: "Thirty."
Interviewer" "Thirty what?"
Kid: "Umm..."
Kid: "Speed."
This is an off-by-one error.
Many buildings don't have a 13th floor because superstitious people think it's unlucky.
Some people lose their shit at 8647 because paranoid delusional people think it's out to kill them.