THE AUDITORY MODELING TOOLBOX

Applies to version: 1.1.0

View the code

Go to function

ADAPTLOOP - Adaptation loops

Usage

outsig = adaptloop(insig,fs,limit,minspl,tau);
outsig = adaptloop(insig,fs,limit,minlvl,tau);
outsig = adaptloop(insig,fs,limit,minspl);
outsig = adaptloop(insig,fs,limit,minlvl);
outsig = adaptloop(insig,fs,limit);
outsig = adaptloop(insig,fs);

Description

adaptloop(insig,fs,limit,minspl,tau) applies non-linear adaptation to an input signal insig sampled at a sampling frequency of fs Hz. limit (in arbitrary units) is used to limit the overshoot of the output. minspl determines the lowest audible SPL of the signal (in dB). minlvl is minspl but expressed as a linear amplitude to be directly passed to the core of adaptloop. In order to be recognized as a valid minlvl, it needs to be 0 < minlvl < 1. tau is a vector with time constants involved in the adaptation loops. The number of adaptation loops is determined by the length of tau.

adaptloop(insig,fs,limit,minspl) does as above, but uses the values for tau determined in Dau. et al (1996a).

adaptloop(insig,fs,limit) does as above with an minspl of 0 dB.

adaptloop(insig,fs) does as above with an overshoot limit of \(limit=10\).

adaptloop takes the following flags at the end of the line of input arguments:

'adt_dau1997' Default. This consists of 5 adaptation loops with an overshoot limit of 10 and a minimum SPL of 0 dB. The adaptation loops have an exponential delay.
'adt_dau1996' This is as in adt_dau1997 but without any overshoot limiting.
'adt_puschel1988' This consists of 5 adaptation loops without overshoot limiting. The adapation loops have a linear spacing.
'adt_breebaart2001' As 'adt_puschel1998'
'adt_relanoiborra2019'
 As 'adt_dau1997 but with minspl of -34 dB.
'dim',d Do the computation along dimension d of the input.

References:

H. Relaño-Iborra, J. Zaar, and T. Dau. A speech-based computational auditory signal processing and perception model. J. Acoust. Soc. Am., 146(5), 2019. [ www: ]

J. Breebaart, S. van de Par, and A. Kohlrausch. Binaural processing model based on contralateral inhibition. I. Model structure. J. Acoust. Soc. Am., 110:1074--1088, August 2001.

T. Dau, D. Pueschel, and A. Kohlrausch. A quantitative model of the effective signal processing in the auditory system. I. Model structure. J. Acoust. Soc. Am., 99(6):3615--3622, 1996a.

T. Dau, B. Kollmeier, and A. Kohlrausch. Modeling auditory processing of amplitude modulation. I. Detection and masking with narrow-band carriers. J. Acoust. Soc. Am., 102:2892--2905, 1997a.

T. Dau, B. Kollmeier, and A. Kohlrausch. Modeling auditory processing of amplitude modulation. II. Spectral and temporal integration. J. Acoust. Soc. Am., 102:2906--2919, 1997b.

D. Pueschel. Prinzipien der zeitlichen Analyse beim Hoeren. PhD thesis, Universitaet Goettingen, 1988.