Convert Sone and Hz to dB
ucnv_sone_and_hz_to_db.RdConvenience function to convert loudness (sone) and frequency (Hz) to sound pressure level (dB), combining ISO 532 and ISO 226:2023 conversions.
Usage
ucnv_sone_and_hz_to_db(sone, freq_hz, method = c("zwicker", "moore-glasberg"))Details
This function combines two conversions:
sone -> phon using ISO 532 Zwicker or Moore-Glasberg method
(phon, frequency) -> SPL using ISO 226:2023 equal-loudness contours
Equivalent to: ucnv_phon_and_hz_to_db(ucnv_sone_to_phon(sone, method), freq_hz)
Examples
# At 1 kHz reference
ucnv_sone_and_hz_to_db(1, 1000) # Returns 40 dB (by definition)
#> [1] 40
ucnv_sone_and_hz_to_db(2, 1000) # Returns ~50 dB (2x loudness ~= +10 dB)
#> [1] 50
# Same loudness at different frequencies requires different SPL
ucnv_sone_and_hz_to_db(2, 100) # Higher dB (low freq needs more SPL)
#> [1] 71.36646
ucnv_sone_and_hz_to_db(2, 1000) # Reference
#> [1] 50
ucnv_sone_and_hz_to_db(2, 4000) # Lower dB (high freq more sensitive)
#> [1] 47.29502