THE AUDITORY MODELING TOOLBOX

Applies to version: 1.4.0

View the code

Go to function

DEMO_LYON2011_IMPULSERESPONSES - impulse responses of the CARFAC model

Description:

This script produces an 80-us impulse (click) feeds it into the the 'cascade of asymmetric resonators with fast-acting compression' (CARFAC) model. The model's output ('impulse response') is converted to the frequency domain by taking the FFT (yielding the 'frequency response'). The ERB bandwidth and the quality factor (QERB) is calcualted and compared to the experimental data. The impulses responses to clicks at various intensities are also assessed and the QERBs are compared with the respective experimental data.

demo_lyon2011_impulseresponses_1.png

Impulse responses at a center frequency of 4 kHz

demo_lyon2011_impulseresponses_2.png

Equivalent rectangular bandwidth at low intensities

demo_lyon2011_impulseresponses_3.png

The filter bandwidth as a function of intensity

This code produces the following output:

CF_IHC_params =

  struct with fields:

        just_hwr: 0
         one_cap: 1
    ac_corner_Hz: 20
         tau_lpf: 8.0000e-05
         tau_out: 5.0000e-04
          tau_in: 0.0100
        tau1_out: 5.0000e-04
         tau1_in: 2.0000e-04
        tau2_out: 1.0000e-03
         tau2_in: 0.0100