Decibels#
The dB family#
Grouped scalars#
Units in one dB scalar group are interconvertible by a constant offset.
= x + c means base = declared + c. In units.audio, dBm, dBW, dBf and dBk interconvert, as do dBu and dBV. The catalogue gives each unit’s group.
unit scalar ratio_db storage float64
unit dbr: ratio_db label "dBr"
unit dbq: ratio_db = x + 30 label "dBq"
Standalone scalars#
A dimensionless quantity with no derived units and no interconversion is a unit scalar group with a single member.
Two standalone scalars are different groups, and combining their values is a cross-dimension operation.
Linear conversion#
A dB value and a linear value are related by an explicit let or a declared unit formula, outside the affine conversions.
(Spec: [LUNI.6.3])