Native C++ port of the bramslow2004 canonical engine, corrected per AMToolbox 1.6.0 reference with noted simplifications.
calculate_loudness_cpp(
inputF,
inputLdB,
HLcf,
HLohcdB0,
HLihcdB0,
NoChan = 30L,
E_Beg = 3,
E_End = 32,
Binaural = 0L
)A list containing Loudness (sones), Excitation, Cams, and CFs.
Vector of input frequencies (Hz)
Vector of input spectrum levels (dB/Hz, free field)
Audiogram frequencies (Hz)
OHC loss at audiogram frequencies (dB)
IHC loss at audiogram frequencies (dB)
Number of ERB channels (default 30)
Lowest ERB rate (default 3.0)
Highest ERB rate (default 32.0)
Integer indicating whether to compute binaural loudness (default 0L)