THE AUDITORY MODELING TOOLBOX

Applies to version: 1.2.0

View the code

Go to function

LYON2011_DESIGN - computes all the filter 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 struct, pole-zero filter cascade parameters
CF_AGC_params struct, automatic gain control parameters
CF_IHC_params struct, inner hair cell parameters

Output parameters

CF filter coefficients

Description

Defaults to Glasberg & Moore's ERB curve: ERB_break_freq = 1000/4.37; % 228.833 ERB_Q = 1000/(24.7*4.37); % 9.2645

All args are defaultable; for sample/default args see the code; they make 96 channels at default fs = 22050, 114 channels at 44100.

This function designs the CARFAC (Cascade of Asymmetric Resonators with Fast-Acting Compression); that is, it take bundles of parameters and computes all the filter coefficients needed to run it.