THE AUDITORY MODELING TOOLBOX

Applies to version: 1.4.0

View the code

Go to function

LYON2011_AGCSTEP - active gain control step (CARFAC) model

Usage:

[state, updated] = lyon2011_agcstep(detects, coeffs, state);

Input parameters:

detects detection indices
coeffs filter coefficients
state struct containing the internal model state

Output parameters:

state struct containing the internal model state
updated flag, indicates if there is new output

Description:

One time step of the automatic gain control (AGC) state update; decimates internally. This file is part of an implementation of Lyon's cochlear model: "Cascade of Asymmetric Resonators with Fast-Acting Compression"