Loudness weighting coefficients

version 1.1.0.0 (150 KB) by Christopher Hummersone
Calculate loudness weighting coefficients based on ISO 226

276 Downloads

Updated 5 May 2018

From GitHub

View License on GitHub

NOTE: this function is now available from the IoSR Matlab Toolbox as iosr.auditory.loudWeight.
-------------------------
Calculate loudness weighting coefficients based on ISO 226
g = loud_weight(f)
g = loud_weight(f,phon)
G = LOUD_WEIGHT(F) returns loudness weighting
coefficients for frequencies F (Hz). The function is
based on the loudness at 65 phons defined in ISO
226:2003.

G = LOUD_WEIGHT(F,PHON) returns loudness weighting
coefficients at the loudness level PHON. PHON should be
a scalar and, according to the standard, is only valid
at all frequencies such that 20<=PHON<80 (although the
function will return SPL values outside of this range).

The input f may be an array of any size. The outputs
will be the same size as f, with coefficients calculated
for each element.

NB: since ISO 226:2003 only reports values up to 12.5
kHz, frequencies are limited to 12.5 kHz for the
purposes of calculating weighting coefficients.

Cite As

Christopher Hummersone (2022). Loudness weighting coefficients (https://github.com/IoSR-Surrey/MatlabToolbox), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.