THE AUDITORY MODELING TOOLBOX

Applies to version: 1.6.0

View the code

Go to function

DEMO_ADAPTLOOP
Show the effect of adaptation

Description:

This script demonstrates the effect of adaptation applied to a test signal with and without noise.

The test signal is made of a sinosoidal ramp up and down between 0 and 1.

demo_adaptloop_1.png

Clean test signal

This figure shows the effect of adaptation on the clean test signal with and without overshoot limiting.
demo_adaptloop_2.png

Noisy test signal

This figure shows the effect of adaptation on the noisy test signal with and without overshoot limiting. Notice that in the second plot, the initial spike at the beginning of the signal caused from the sharp transition from complete silence to noise is magnitudes larger than the values in the rest of the output.