gtfSignal Modifiers:Specialized Filtersgtfgtf
Apply a gammatone filter to an audio signal.
Description
Apply a gammatone filter of various orders to an audio signal.
Syntaxaout gtf ain, kfreq, idecay[, iorder, iphase]Initializationidecay -- rate of decay
iorder -- (optional) Order of filter in
rangs 1 to 10 defaulting to 4.
iphase -- (optional) Phase output,
defaulting to zero.
Performanceasig -- audio signal to be filtered.
kfreq -- central frequency of filter in Hertz.
The gammatone filter is commonly used in models of the auditory system.
The algorithm is based on Martin Cooke's Ph.D work (Cooke, 1993) using
the base-band impulse invariant transformation. See http://staffwww.dcs.shef.ac.uk/people/N.Ma/resources/gammatone/Examples
Here is an example of the gtf opcode. It uses the file gtf.csd.
Example of the gtf opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoSpecialized Filters: Other filtersCreditsBy: &namejohn; 2019