THE AUDITORY MODELING TOOLBOX

Applies to version: 0.9.7

View the code

Go to function

DEMO_GAMMATONE - Demo for gammatone.m

Description

demo_gammatone demonstrates the usage of various Gammatone filter implementations in the AMT.

demo_gammatone_1.png

Gammatone IRs obtained with the gammatone implementation with the option classic (Patterson et al., 1987).

This figure shows IRs of Gammatone filters in 24 erb-spaced channels derived from gammatone with parameters classic and real (Patterson et al., 1987). Left panel shows the causalphase option. Right panel shows the peakphase option, which aligns the IRs to the maxima of the corresponding envelope maxima.

demo_gammatone_2.png

Gammatone IRs obtained with the gammatone implementation with the option complex (Hohmann, 2002).

This figure shows IRs of Gammatone filters in 24 erb-spaced channels derived from gammatone with parameters allpole and complex (Hohmann, 2002). Left panel shows the causalphase option. Right panel shows the peakphase option, which aligns the IRs to the maxima of the corresponding envelope maxima.

demo_gammatone_3.png

Gammatone IRs obtained with the gfb implementation corresponding to complex-valued allpole filters (Hohmann, 2002).

This figure shows IRs of Gammatone filters in 24 erb-spaced channels derived from gfb_analyzer_new and other gfb function. This implementation corresponds to complex-valued allpole Gammatone filters (Hohmann, 2002). Left panel shows the IRs as output by gfb_analyzer_new, the right panel shows those IRs manually delayed such that their maxima are aligned across frequency channels.