Applies to version: 1.0.0

View the code

Go to function

ADAPTLOOP - Adaptation loops


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


adaptloop(insig,fs,limit,minlvl,tau) applies non-linear adaptation to an input signal insig sampled at a sampling frequency of fs Hz. limit is used to limit the overshoot of the output, minlvl determines the lowest audible threshhold of the signal (in dB SPL) and tau are time constants involved in the adaptation loops. The number of adaptation loops is determined by the length of tau.

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

adaptloop(insig,fs,limit) does as above with a minimum threshhold minlvl equal to 0 dB SPL.

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_dau1996' Choose the parameters as in the Dau 1996 and 1997 models. This consists of 5 adaptation loops with an overshoot limit of 10 and a minimum level of 1e-5. This is a correction in regard to the model described in Dau et al. (1996a), which did not use overshoot limiting. The adaptation loops have an exponential spacing. This flag is the default.
'adt_puschel1988' Choose the parameters as in the original Puschel 1988 model. This consists of 5 adaptation loops without overshoot limiting. The adapation loops have a linear spacing.
'adt_breebaart2001' As 'adt_puschel1998'
'dim',d Do the computation along dimension d of the input.


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.

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