[car_out, state] = lyon2011_carstep(x_in, CAR_coeffs, state);
x_in | The CF struct holds the filterbank design and state; if you want to break the input up into segments, you need to use the updated CF to keep the state between segments. |
CAR_coeffs | input_waves is a column vector if there's just one audio channel; more generally, it has a row per time sample, a column per audio channel. The input_waves are assumed to be sampled at the same rate as the CARFAC is designed for. A resampling may be needed before calling this. |
state | Plot automatic gain control figure. Default is 0. |
car_out | The CF struct holds the filterbank design and state; if you want to break the input up into segments, you need to use the updated CF to keep the state between segments. |
state | decim_naps is like naps but time-decimated by the int CF.decimation. |
lyon2011_carstep updates the filter cascade state taking into account outer hair cell feedback
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 ]