iso226: iso226

Description Usage Arguments Details Value Examples

View source: R/utilities_loudness.R

Description

Internal soundgen function

Usage

1
iso226(phon, nBarks = 22)

Arguments

phon

the phon value in dB SPL represented by the loudness curve

Details

Calculates equal loudness curves according to the ISO226 standard. Expected range of input values in phon is 0 to 90 (1 phon is 1 dB at 1 kHz). The range of evaluated frequencies is 20 to 12500 Hz, with a total of 29 values (so upsample if more resolution is needed, but not that beyond 22 barks it's just assumed to be flat). Translated from the matlab implementation by Jeff Tackett (03/01/05) available from "https://www.mathworks.com/matlabcentral/fileexchange/ 7028-iso-226-equal-loudness-level-contour-signal"

Value

A dataframe containing evaluated frequencies and SPL values

Examples

1
2
3
i = soundgen:::iso226(40)
plot(i$curve29, type = 'l')
plot(i$curveBark$freq_Hz, i$curveBark$spl, type = 'l')

soundgen documentation built on Oct. 4, 2018, 9:04 a.m.