signal | input signal |
fs | sampling frequency |
dbMax | the RMS SPL of a sinusoid with a peak amplitude of 1. |
InstantaneousSpecificLoudnessLeft | |
instantaneous specific loudness left ear | |
InstantaneousSpecificLoudnessRight | |
instantaneous specific loudness right ear |
This code calculates the monaural instantaneous specific loudness for the binaural loudness model moore2016 in the version for TVL 2016 based on ANSI S3.4-2007 and Moore & Glasberg (2007).
The left and the right input signal and sampling rate Fs must be passed, the signal must contain two columns. Fs must be 32 kHz, the reading of the wav file and resampling must be done before calling this function.