THE AUDITORY MODELING TOOLBOX

Applies to version: 1.5.0

View the code

Go to function

LYON2011_DESIGN - computes all the coefficients needed to run Lyon's CARFAC model

Usage:

CF = lyon2011_design(n_ears, fs, CF_CAR_params, CF_AGC_params, CF_IHC_params)

Input parameters:

n_ears Number of input signals
fs Sampling frequency (Hz)
CF_CAR_params A struct with the pole-zero filter cascade parameters
CF_AGC_params A struct with the automatic gain control parameters
CF_IHC_params A struct with the inner hair cell parameters

Output parameters:

CF filter coefficients

Description:

CF_CAR_params consists of the following field, among others:

'ac_corner_Hz',ac_corner_Hz
 Corner frequency (Hz) of the high-pass filter in the CAR stage (e.g., at basilar membrane). Set ac_corner_Hz to a non-zero to enable the filter in CAR stage. Set ac_corner_Hz to 0 to disable the filter. Default is 0, i.e., enabled in the IHC stage. The filter should be enabled either in CAR or IHC stage.

CF_IHC_params consists of the following field, among others:

'ac_corner_Hz',ac_corner_Hz
 Corner frequency (Hz) of the high-pass filter in the IHC stage. Set ac_corner_Hz to a non-zero to enable the filter in IHC stage. Set ac_corner_Hz to 0 to disable the filter. Default is 20, i.e., enabled in the IHC stage. The filter should be enabled either in CAR or IHC stage.

References:

R. F. Lyon. Cascades of two-pole–two-zero asymmetric resonators are good models of peripheral auditory function. J. Acoust. Soc. Am., 130(6), 2011. [ http ]