Decibels are always relative. Whether the thing they are relative to is defined/calibrated is a different question.
A complete product, such as that sound level meter, will be calibrated against the normal 0dB as 20 micropascals (in air). A random microphone and sound card have an arbitrary (potentially adjustable) gain structure, therefore additional calibration would be required for it to be accurate.
And, as drgeoff has commented, the human ear is not linear in frequency response. Sound level meters therefore generally offer an A-weighted response which roughly matches the human ear, or a C-weighted response which has a flat frequency response -
https://en.wikipedia.org/wiki/Frequency_weighting.
Either way you are highly dependent on the frequency response of your random microphone as well, which is why you get reference microphones for doing frequency response analysis (eg
https://dbxpro.com/en/products/rta-m or
https://www.behringer.com/Categories/Be ... 00/p/P0118)
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.