NOTE: don’t use the GPRD as-is — I’ve been misled by the nice properties of the Gaussian — in particular, the Gaussian is an even functions and its FT is thus purely real.
The conclusion, in short, is that the dot product (i.e. inner product) and as a similarity measure is much too brittle. For example, the dot product between two sines with identical frequency content can be made arbitrarily small by an appropriate phase shift. Likewise, pulses with arbitrary shape can be easily made to produce misleading PRDs (e.g. PRDs suggesting that the output looks much more like the pulse at small widths while visually it looks much more like ). Another problem is that the curves in the PRD cease to be positive as the dot product can be negative for arbitrary pulses.1
These problems can be fixed; however, after some reflection, this is still an ad-hoc similarity measure, rather too typical of the ones it was supposed to replace, and I have stopped this project. I leave it here as an example of the many dead ends in science :)
Notes on the Gaussian pulse response diagram
Given a vocaltract transfer function with impulse response . Assume that has only one conjugatepole pair with , and that the input to the system is a Gaussian pulse (or bump) of variance :
where .
Write the speechwaveform output as
Define the inner product of two real functions as
The Gaussian pulse diagram or GPRD consists of the two curves
which are the normalised projections of the output on the IR and on the input pulse , respectively.
The factor depends only on , while depends only on .
Moreover
The GPRD answers the question:
How does the qualitative shape of the output depend on the width of the input ?
When the resonance peak of is far away from the Fourier transform
the output spectrum is essentially a scaleddown Gaussian; the scaling is determined approximately (and, for , exactly) by .
Although the frequencydomain view is simplest, we still want a quantitative timedomain characterisationmost importantly, to know for which the output loses its oscillatory character.
As increases, the shape of changes smoothly from completely like to completely like (apart from a scale factor). For small
while for large
where and depend on but not on . In the limit
and
(though in practice already suffices). Thus, for sufficiently broad , the output is simply a scaled copy of the input pulse.
The GPRD can be used to locate the crossover value of that separates regimesI andII. One option is the inflection point of
.
Another is to turn the GPRD into a similarity plot by dividing each curve by its asymptote and taking the where the two normalised curves intersect.
Finally, note that plotting itself on the axis may be misleading, since one reasonable width for a Gaussian is (see below), or alternatively the FWHM. For real pulses the PRD (the GPRD generalised to arbitrary pulse shapes; see below) might use more relevant parameters such as the opening time or other measures derived from the generalised glottal flow model of Doval, D’Alessandro, and Henrich (2006).
Q&A
Why the name?
GPRD stands for Gaussian pulse response diagram.
The first word, Gaussian, refers to the specific parametrization of the input
.
The next two words, pulse response, are intended to conjure up associations to the concept of impulse response familiar from linearsystems theory. The association we want to trigger is that the GPRD is all about describing the systems behaviour in terms of and for varying inputpulse width, thus including the impulse response as a special case:
The last word, diagram, refers to the simplifying nature of the GPRD: we start with a Gaussian pulse rather than one of arbitrary shape. In addition, there is the qualitative, diagrammatic nature of the GPRD: it is constructed so that the two curves behave in the simplest possible way, with clear behaviour at the limits and .
The GPRD is a bit like a bifurcation diagram, except that there are no sudden qualitative jumps; the transition between regimeI andII is very smooth and a crossover point of does not exist in any sharply defined sense.
Whats the point of the GPRD?
The GPRD is not an end in itself, but a means to address several important questions about the glottal excitation in sourcefilter theory.
The objects of the paper are the glottal pulse and the glottal excitation .2 In the typical case (standard modal speech) the excitation divides into an opening time of length and a closing time of length , during which shows contrasting behaviour:
- During , and looks like a broad, slowly varying, symmetrical peak.We call this the broad peak ().
- During , and looks like a sharp, rapidly varying, skewed peak.We call this the narrow peak ().
For modal or tense speech the narrow peak is usually the main energy source, while the broadpeak excitation is often neglected. As Schleusing puts it:
For computational and analytical convenience the periodic glottal cycles are often simplified to a train of Dirac pulses. The accuracy of this simplification was sufficient in a surprising number of applications. (Schleusing 2012, 23)
Its lowfrequency influence is nevertheless noticeable; see Chens phase correction (Chen 2016, 147) or Dovals remark:
[T]he shape of the glottal flow derivative can often be recognized in acoustic speech or singingvoice waveform itself. For instance, the peak of the derivative is often visible. (Doval, D’Alessandro, and Henrich 2006, 4)
These observations raise the following questions:
- What is the effect of the broad peak on the speech waveform? How can its shape sometimes reoccur in after passing through?
- For a given application, when can the broadpeak excitation be ignored and when is it important?
- How does the broadpeak excitation depend on speech modality (tense, breathy, etc.)?
- Is there a connection with LPC?
Because our analysis is modulo scaling, the primary influence is expected to be the width of the broad peak, which is why the GPRDs are fundamental for answering these questions.
Is it useful in real life?
(a)The broad and narrow peaks in are not Gaussian pulses, and
(b)the vocaltract transfer function has more than one conjugatepole pair (and usually some zeros). Doesnt the GPRD oversimplify?
We answer (b) first. From the frequencydomain argument in the GPRD section, only affects the ability of the broad peak (regimeII) to produce anything oscillatory.Moreover is typically much stronger than , further reducing the latters importance.
Higherorder poles in could matter for the narrow peak (regimeI); the fine detail of the GPRD curves might change for small.
Whether those details matter perceptually is hard to say: we again face the linearversuslogarithmic dilemma familiar from LPC.
Concerning (a), for an arbitrary pulse shape we can compute
for the pulse response diagram (PRDnote the missing Gaussian) by numerical integration. This equation could also be evaluated analytically for arbitrary peaks in and for arbitrary poles and zeros in, because we can expand
- the input as a linear combination (LC) of Gaussians, and
- the transfer function in partial fractions.
Being able to compute it analytically is convenient but not critical unless the PRD is well approximated by the GPRD. Write a broad plus a narrow peak. For a tolerance ,3 expand the broad peak as
so that (Calcaterra and Boldt 2008)
For a given the optimal expansion is not unique and may lack intuitive meaning unless one component dominates in both amplitude and width .4If so, the GPRD is presumably a good PRD approximationexactly what we conjecture for many practical cases.
Can you prove that any function can be expanded as a LC of Gaussians?5
Strictly speaking this is not true;6 for every we do not have
Yet in practice it is true enough: LCs of Gaussians are dense in , so any can be approximated arbitrarily closely. Calcaterra proved that translations of equalvariance Gaussians are already dense (Calcaterra and Boldt 2008; see also Calcaterra 2008): for any there exist , and such that
meaning . Allowing free can only improve matters.
A key ingredient is that Hermite functions are dense in and that derivatives of are LCs of infinitesimally shifted copies of themselves, e.g.
a fact used in fewbody quantummechanics calculations (Hiyama, Kino, and Kamimura 2003).7
Expanding a glottalexcitation peak into Gaussians is thus more an inference problem than a deduction: the expansion is nonunique and numerically delicate. Still, whenever a Hermitianwavelet analysis suits the derivatives of, a parsimonious Gaussian expansion of may exist. One safe strategy is to accept a large and fit one Gaussian to the whole pulse, guaranteeing at least one component captures the peak width.
Finally, because the broad peak is smooth and slowly varying, we may get away with a very sparse Gaussian expansion; sudden changes merely add highfrequency content, which the frequencydomain picture suggests will foster a more oscillatory response even for moderately large.8
This seems to undermine the idea that the GPRD could stand in for the PRD when the broad peak is not Gaussian. A Gaussian is very smooth and has minimal spectral variance for its temporal variance;9 by the frequencydomain argument it ought to favour nonoscillatory output compared with other shapes of the same width.
Indeed. Whether the GPRD suffices for arbitrary pulses remains to be seen.
In short, the Gaussian expansion is not needed to compute PRDs; numerical integration does the job. The expansion is possible in principle but hard in practice, and may be unnecessary unless the singleGaussian GPRD already captures the key behavioursomething that still needs empirical testing.
Is there a connection to the convolutional model?
Yes.The GPRD tells you when the dampedsines+polynomial (DS+PM) model is a good standin for the more elaborate convolutional model (CM).
The DS+PM becomes appropriate when the broad peak is wide and smooth enough that the corresponding response contains mainly low frequencies and can therefore be represented by a polynomial . The model function is
Because polynomials come for free in a linear model, this greatly simplifies the fitting process.
In the example of the MDPI proceedings article, integrating the fitted polynomial produced something that looked like a genuine glottal pulse and even correlated well with the EGG data.Yet this is not obvious, because it implies
In other words, since , the two expressions above for imply thatmodulo scalingthe polynomial part must have passed through unscathed.Here is exactly where the GPRD becomes relevant.10
Model comparison between CM and DS+PM can therefore test the GPRDs advice on when the broadpeak excitation may be ignored (i.e. taken to have negligible oscillatory content).
The (G)PRD does not require steadystate vowels; it is enough that the vocal tract remain stationary during the pulse width under study.(Stricter speaking, depends slightly on the glottalarea function, so the transfer function should correspond to an open glottiswith bandwidths perhaps 20Hz widerbut this difference is unlikely to affect the (G)PRD appreciably.)
Is there a connection with LPC?
Probably.The GPRD may offer the first steps toward a quantitative theory of when linearprediction coding (LPC) (Atal and Hanauer 1971) works and when it fails (though this is only a hunch).LPC assumes white shot noise is added to perhaps the (G)PRD can indicate when that assumption breaks down.
Footnotes
-
The longer conclusion is that it is possible to show that and . This implies that the left argument of the dot product depends only the even components of and , indicating dependence on the origin and thus not invariant under translation in the time domain. (The Gaussian is purely even and has for all frequencies, thus guaranteeing positive curves in the GPRD while this is in general not the case.) To fix this dependence on the origin I thought of calculating the energies and in the cross-spectrum. Let be cross-correlation, then , and analogously for . This indeed makes the “similarity measures” and invariant to translation, ensures positives similarity and even produces curves much like the GPRD (perhaps these measures could be equivalent for ) provided a particular normalization is used. ↩
-
These are equivalent because the integration constants follow from (). Saying that is the excitation of the vocal tract is equivalent to stating that the radiation factor in sourcefilter theory (Stevens 2000, 127). ↩
-
One could restate the tolerance as a signaltoerror ratio, e.g. demand that the error power is 60dB below the power of. ↩
-
The square root comes from the definition in(Calcaterra and Boldt 2008). ↩
-
This is not the same as a Gaussian mixture, because the coefficients may be negative. ↩
-
I am not 100% certain the statement is false, but it seems very likely; it is certainly false for equalvariance translations (Calcaterra and Boldt 2008, 3). ↩
-
(1) The display above is just the finitedifference definition of a derivative. (2) A LC of Gaussians is a radialbasisfunction expansion; see (MacKay 2005, c h.45, eq.45.3). Radialbasis functions are also dense in . ↩
-
See the related discussion in (Jaynes 2003, 235239). ↩
-
I am not 100% sure this form of the uncertainty principle is accurate. ↩
-
This also explains why a fairly high polynomial order is expected: if we know should be close to zero when the glottis is closed, yet we force it to start at the glottal closure instant (). ↩
Go to next post ▤ or ▥ previous post in research series.