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);
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.|
|As 'adt_dau1997 but with minspl of -34 dB.|
|'dim',d||Do the computation along dimension d of the input.|
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: ]