CF = lyon2024_design(n_ears, fs, one_cap, ihc_high_pass, CF_CAR_params, CF_AGC_params, CF_IHC_params)
n_ears | Number of audio channels, i.e, ears. |
fs | Sampling frequency (in Hz) of the model and the audio signals. |
one_cap | Optional flag for using a single capacitor in the network. Default: 0 (i.e., use two capacitors). Used only if CF_IHC_params is not set. |
ihc_high_pass | Optional flag showing how the AC will be coupled, Used only if CF_IHC_params is not set.
|
CF_CAR_params | Structure with the pole-zero filter cascade parameters with the following fields:
|
CF_AGC_params | Structure with the automatic gain control parameters:
|
CF_IHC_params | Structure with the inner hair cell parameters:
|
CF | Structure containing all filter coefficients:
|
R. F. Lyon, R. Schonberger, M. Slaney, M. Velimirović, and H. Yu. The carfac v2 cochlear model in matlab, numpy, and jax. arXiv preprint arXiv:2404.17490, 2024.