THE AUDITORY MODELING TOOLBOX

Applies to version: 1.6.0

View the code

Go to function

lyon2011_design
Computes all the coefficients needed to run the 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. The Journal of the Acoustical Society of America, 130(6), 2011. [ http ]