This script generates a tone at 30 dB SPL and feeds it to the cascade of asymmetric resonators with fast-acting compression (CARFAC) model. The excitation pattern is formed by taking the RMS of the output channels.
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 ]