Re: [AUDITORY] Gammatone filter bank in MATLABr2019a (Volker Hohmann )


Subject: Re: [AUDITORY] Gammatone filter bank in MATLABr2019a
From:    Volker Hohmann  <volker.hohmann@xxxxxxxx>
Date:    Wed, 17 Apr 2019 10:28:06 +0200
List-Archive:<http://lists.mcgill.ca/scripts/wa.exe?LIST=AUDITORY>

Dear Dick and all, just want to add that the re-synthesis method they apply is not optimal. I would recommend using the Matlab implementations contributed by our community, which have been described properly in citable publications, are readily available and have been running flawlessly for many years under whatever Matlab version came out. Best regards, Volker On 17.04.2019 02:51, Richard F. Lyon wrote: > Bastian, >=20 > That's an interesting distinction that needs to be made, between the > peripheral and "whole system" auditory filter, whether gammatone or > otherwise.=C2=A0 In my book, I say this about that (in Part III =E2=80=93= The > Auditory Periphery): >=20 > 13.1 What Is an Auditory Filter? > The auditory filters that we consider here include both those > motivated by psychoacoustic experiments, such as detection of tones > in noise maskers, and those motivated by reproducing the observed > mechanical response of the basilar membrane or neural response of > the auditory nerve. One thesis of this work is that a single model > can do a good job for both of these, and thereby provide a good > basis for a machine hearing system. Since there are several stages > of neural processing between the cochlea and our psychoacoustic > perceptions, it would not be surprising if the best parameters were > different between these types of models, but it seems likely that > the linear and nonlinear filtering due to the cochlea plays a > sufficient role in perception that we may find one set of parameter= s > is adequate, at least for a range of machine hearing applications. >=20 >=20 > And to be fair, the gammatone was originally proposed as a model of fro= g > hearing physiology, and is widely used in cochlear models, even though > Patterson popularized it in the psychoacoustic domain. >=20 > So the MathWorks ought to be more careful what they say.=C2=A0 I'd have > several other quibbles with their docs (in the Audio Toolbox reference > at https://www.mathworks.com/help/pdf_doc/audio/index.html).=C2=A0 >=20 > Quibbles: >=20 > 1. "The gammatoneFilterBank follows the algorithm described in [1] and > first proposed by [2]."=C2=A0 [1] is Slaney's method, a simple filter c= ascade > based on analyzing the Laplace transform of the gammatone.=C2=A0 [2] is > Patterson et al.'s "Complex Sounds and Auditory Images", a great paper > but it doesn't say one word about how to implement the gammatone (they > did have other implementation papers elsewhere, but not this method and > not here). >=20 > 2. Ref 2 says "the shape of the magnitude characteristic of the > gammatone filter is very similar to that of the roex(p) filter commonly > used to represent the magnitude characteristic of the human auditory > filter."=C2=A0 Mathworks says "The gammatone filter is similar to the r= oex > filter derived from the notched-noise > experiment."=C2=A0 A cursory look at more recent literature on auditory > filters, including Patterson's, would suggest omitting or at least > tempering this claim.=C2=A0 See my book Chapter 13 or this paper: > https://storage.googleapis.com/pub-tools-public-publication-data/pdf/36= 895.pdf >=20 > 3. Error where it says b =E2=80=93=E2=80=93 bandwidth, set to 1.019*erb= 2hz(fc).=C2=A0 Either > the documentation is wrong, or the functionality is wrong.=C2=A0 Hopefu= lly > the former. >=20 > 4. The parameterization by only FrequencyRange, NumFilters, and > SampleRate is rather impoverished.=C2=A0 It is not documented whether t= he > filters match the ERB bandwidth if some of these parameters are changed= , > or whether adjacent filters continue to cross over about 3 dB down; you > can't have both, but you might want one or the other, and there's not > enough control to say what you want.=C2=A0 With a few more parameters o= ne > could do useful comparisons, tradeoffs, and tunings of filter numbers, > orders, bandwidths, and phases for example.=C2=A0 With just a few more = one > could include better auditory filter variants (that differ only in the > locations of the zeros of the cascaded second-order filters), including > APGF and OZGF. >=20 > R2019a also adds gtcc (gammatone cepstral coefficients).=C2=A0 Their > algorithm uses log(energy) before the DCT, instead of the cube root > proposed by the Shao et al. reference, which also uses a slightly > different acronym:=C2=A0 GFCC (gammatone frequency cepstral coefficient= s).=C2=A0 > Not clear why.=C2=A0 The referenced paper did not really investigate wh= ether > their improvement over mfcc was due to the different frequency scale > (700 Hz=C2=A0 mel vs 229 Hz ERB break point between linear and exponent= ial > spacing), or the filter shape (triangle vs gammatone), or the > nonlinearity (log vs cube root), or the domain of implementation > (frequency vs time). With the impoverished parameterizations of these > functions in the audio toolboxes, it's hard to further compare such > things (though the gtcc does allow some of that).=C2=A0 The other gtcc = ref > (Rabiner and Schafer) has nothing on gammatone or gtcc or gfcc. >=20 > I could go on... >=20 > Dick >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > On Tue, Apr 16, 2019 at 12:24 AM Bastian Epp > <000000a94eb56441-dmarc-request@xxxxxxxx > <mailto:000000a94eb56441-dmarc-request@xxxxxxxx>> wrote: >=20 > Dear list, >=20 > This morning I read through the release notes of MATLAB R2019a and = was > happy to find that there was an implementation of a Gammatone filte= r > bank included: >=20 > "Gammatone Filter Bank: Mimic the human auditory system" >=20 > With the reference to (among others): >=20 > Glasberg, Brian R., and Brian CJ Moore. "Derivation of Auditory Fil= ter > Shapes from Notched-Noise Data." Hearing=C2=A0Research. Vol. 47. Is= sue 1-2, > 1990, pp. 103 =E2=80=93138. >=20 > This made me quite happy because it is a proper description of what > Gammatone filter banks most often are used for - to model the frequ= ency > selectivity of the auditory system (as measured using psychoacousti= cs). >=20 > However, in the DOC page, they show a picture of the Basilar membra= ne > on top with the frequency response of the filter bank - suggesting = that > there exists a 1:1 correspondance. >=20 > Everybody needs a topic to grow old and grumpy on - mine is this:=C2= =A0 >=20 > From my point of view, this is only correct under the (overly stron= g?) > assumption that the cochlear is the only place in the auditory syst= em > underlying the perceptually observed frequency selectivity. Measuri= ng > "auditory filters" means to evaluate the auditory system as a > whole=C2=A0(the concept of a "neuron" also only makes sense when be= ing > embedded in its network). "Cochlear filters" are measured on/in the > cochlea .=C2=A0 >=20 > Besides the common critiques (linearity, coarse approximation of th= e > actual "filter" shape, etc), the main problem in my point of view i= s > that we teach students that we can "measure" the function of a > "subsystem" (the cochlea) using a method that assesses the function= of > the "whole" system. There are some data sets that suggest a strong > link, but the "tool" of psychoacoustics simply does not allow such = a > statement. >=20 > Even though I like the working hypothesis "The brain exists to keep= the > cochlea warm", I think equating cochlear frequency selectivity with > auditory filters (without explicitly stating the assumption that no= (!) > element along the auditory pathway modifies this frequency selectiv= ity) > is a point where we could=C2=A0 be more careful to avoid misconcept= ions and > overly strong conclusions. In most publications and books, this poi= nt > is not explicitly wrong, but not as precise as it could be in my > opinion. >=20 > I hope that someone from MATHWORKS follows this list and considers = a > more careful description in the DOCs. I would also be happy to comp= ile > all the constructive arguments that people might have for/against m= y > point of view. >=20 > Have a great day everybody! >=20 > BAstian >=20 >=20 >=20 >=20 > --=20 > Bastian Epp > Associate Professor >=20 > DTU Healthtech=C2=A0=C2=A0=C2=A0=C2=A0 > ------------------------------------ > Technical University of Denmark > =C3=98rsteds Plads > Building 352, Room 118 > 2800 Kgs. Lyngby > Direct +45 45253953 > bepp@xxxxxxxx <mailto:bepp@xxxxxxxx> > http://www.dtu.dk/english >=20 --=20 --------------------------------------------------------- Prof. Dr. Volker Hohmann Medizinische Physik and Cluster of Excellence Hearing4all Universit=C3=A4t Oldenburg D-26111 Oldenburg Germany Tel. +49 441 798 5468 FAX +49 441 798 3902 Email volker.hohmann@xxxxxxxx http://www.uni-oldenburg.de/mediphysik/ http://www.uni-oldenburg.de/auditorische-signalverarbeitung/ Public Key and Key Fingerprint http://medi.uni-oldenburg.de/members/vh/pubkey_vh_uni.txt C75A 8A8D 9408 28EE FCFD 20CA 1D9F 23CC BAD2 B967 ---------------------------------------------------------


This message came from the mail archive
src/postings/2019/
maintained by:
DAn Ellis <dpwe@ee.columbia.edu>
Electrical Engineering Dept., Columbia University