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.|
|'dim',d||Do the computation along dimension d of the input.|