CODING OF ACOUSTIC WAVEFORMS

Abstract: Encoding techniques and devices based on a sinusoidal speech representation model are disclosed. In one aspect of the invention, a pitch-­ adaptive channel encoding technique for amplitude coding is disclosed in which the channel spacing is varied in accordance with the pitch of the speaker's voice. In another aspect of the invention, a phase synthesis technique is disclosed which locks rapidly-varying phases into synchrony with the phase of the fundamental. Phase coding techniques which introduce a voice-dependent random phase and a pitch-adaptive quadratic phase dispersion are also disclosed.

Description: Background of the Invention The field of this invention is speech technology generally and, in particular, a method and a device for coding speech for digital transmission. Digital speech coding methods and devices are the subject of considerable present interest, particularly at rates compatible with conventional transmission lines (i.e., 2.4 - 9.6 kilobits per second). At such rates, the typical approaches to speech modelling, such as the so-called "binary excitation models", are ill-suited for coding applications and, even with linear predictive coding or other state of the art coding techniques, yield poor quality speech transmissions. In the binary excitation models, speech is viewed as the result of passing a glottal excitation waveform through a time-varying linear filter that models the resonant characteristics of the vocal tract. It is assumed that the glottal excitation can be in one of two possible states corresponding to voiced or unvoiced speech. In the voiced speech state the excitation is periodic with a period which varies slowly over time. In the unvoiced speech state, the glottal excitation is modeled as random noise with a flat spectrum. WO-A-8 605 617 discloses an alternative to the binary excitation model in which speech analysis and synthesis as well as coding can be accomplished simply and effectively by employing a time-frequency representation of the speech waveform which is independent of the speech state. Specifically, a sinusoidal model for the speech waveform is used to develop a new analysis-synthesis technique. The basic method of WO-A-8 605 617 includes the steps of: (a) selecting frames (i.e. windows of about 20 - 40 milliseconds) of samples from the waveform; (b) analyzing each frame of samples to extract a set of frequency components; (c) tracking the components from one frame to the nest; and (d) interpolating the values of the components from one frame to the next to obtain a parametric representation of the waveform. A synthetic waveform can then be constructed by generating a set of sine waves corresponding to the parametric representation. In one illustrated embodiment described in detail in WO-A-8 605 617, the method is employed to choose amplitudes, frequencies, and phases corresponding to the largest peaks in a periodogram of the measured signal, independently of the speech state. In order to reconstruct the speech waveform, the amplitudes, frequencies, and phases of the sine waves estimated on one frame are matched and allowed to continuously evolve into the corresponding parameter set on the successive frame. Because the number of estimated peaks is not constant and is slowly varying, the matching process is not straightforward. Rapidly varying regions of speech such as unvoiced/voiced transitions can result in large changes in both the location and number of peaks. To account for such rapid movements in spectral energy, the concept of "birth" and "death" of sinusoidal components is employed in a nearest-neighbor matching method based on the frequencies estimated on each frame. If a new peak appears, a "birth" is said to occur and a new track is initiated. If an old peak is not matched, a "death" is said to occur and the corresponding track is allowed to decay to zero. Once the parameters on successive frames have been matched, phase continuity of each sinusoidal component is ensured by unwrapping the phase. In one preferred embodiment the phase is unwrapped using a cubic phase interpolation function having parameter values that are chosen to satisfy the measured phase and frequency constraints at the frame boundaries while maintaining maximal smoothness over the frame duration. Finally, the corresponding sinusoidal amplitudes are simply interpolated in a linear manner across each frame. In speech coding applications, WO-A-8 605 617 teaches that pitch estimates can be used to establish a set of harmonic frequency bins to which the frequency components are assigned. (Pitch is used herein to mean the fundamental rate at which a speaker's vocal cords are vibrating). The amplitudes of the components are coded directly using adaptive differential pulse code modulation (ADPCM) across frequency or indirectly using linear predictive coding. In each harmonic frequency bin, the peak having the largest amplitude is selected and assigned to the frequency at the center of the bin. This results in a harmonic series based upon the coded pitch period. The phases are then coded by using the frequencies to predict phase at the end of the frame, unwrapping the measured phase with respect to this prediction and then coding the phase residual using 4-5 bits per phase peak. McAulay et al., "Mid-Rate Coding Based on a Sinusoidal Representation of Speech" PROC. IEEE International Conference on Acoustics, Speech, and Signal Processing 1985 (ICASSP '85), Tampa, 26-29 March 1985, vol. 3, pp. 945-948, teaches an algorithm for unwrapping and interpolating sine wave phases to produce phase tracks that are consistent with the measured frequencies and phases to generate synthetic speech that obviates the problems of magnitude-only speech synthesis systems. McAulay et al. also discloses coding phases of the sine wave components by forcing all of the frequencies to be harmonic. At low data rates (i.e., 4.8 kilobits per second or less), there can sometimes be insufficient bits to code amplitude information, especially for low-pitched speakers using the above-described techniques. Similarly, at low data rates, there can be insufficient bits available to code all the phase information. There exists a need for better methods and devices for coding acoustic waveforms, particularly for coding speech at low data rates. Summary of the Invention New encoding techniques based on a sinusoidal speech representation model are disclosed. In one aspect of the invention, a pitch-adaptive channel encoding technique for amplitude coding is disclosed in which the channel spacing is varied in accordance with the pitch of the speaker's voice. In another aspect of the invention, a phase synthesis technique is disclosed which locks rapidly-varying phases into synchrony with the phase of the fundamental. According to the present invention, a speech coding method and apparatus are as claimed in claims 1 and 11 respectively. Since the parameters of the sinusoidal model are the amplitudes, frequencies and phases of the underlying sine waves, and since for a typical low-pitched speaker there can be as many as 80 sine waves in a 4 kHz speech bandwidth, it is not possible to code all of the parameters directly and achieve transmission rates below 9.6 kbps. The first step in reducing the size of the parameter set to be coded is to employ a pitch extraction algorithm which lead to a harmonic set of sine waves that are a "perceptual" best fit to the measured sine waves. With this strategy, coding of individual sine-wave frequencies is avoided. A new set of sine-wave amplitudes and phases is then obtained by sampling an amplitude and phase envelope at the pitch harmonics. Efficiencies are gained in coding the amplitudes by exploiting the correlation that exists between the amplitudes of neighboring sine waves. A predictive model for the phases of the sine waves is also developed, which not only leads to a set of residual phases whose dynamic ranges are a fraction of the [-π,π] extent of the measured phases, but also leads to a model from which the phases of the high frequency, sine waves can be regenerated from the set of coded baseband phases. Depending on the number of bits allowed for the amplitudes and the number of baseband phases that are coded, very natural and intelligible coded speech is obtained at 8.0 kbps. Techniques are also, disclosed herein for encoding the amplitudes and phases that allow the Sinusoidal Transform Coder (STC) to operate at a rate down to 1.8 kbps. The notable features of the resulting class of coders is the intelligibility and the naturalness of the synthetic speech, the preservation of speaker-identification qualities so that talkers were easily recognizable, and the robustness in a background of high ambient noise. In addition to using differential pulse code modulation (DPCM) to exploit the amplitude correlation between neighboring channels, further efficiencies are gained by allowing the channel separation to increase logarithmically with frequency (at least for low-pitched speakers), thereby exploiting the critical band properties of the ear. In one preferred embodiment, a set of linearly-spaced frequencies in the baseband and a further set of logarithmically-spaced frequencies in the higher frequency region are employed in the transmitter to code amplitudes. At the receiver, another amplitude envelope is constructed by linearly interpolating between the channel amplitudes. This is then sampled at the pitch harmonics to produce the set of sine-wave amplitudes to be used for synthesis. For steadily voiced speech, the system phase can be predicted from the coded log-amplitude using homomorphic techniques which when combined with a prediction of the excitation phase can restore complete fidelity during synthesis by merely coding phase residuals. During unvoiced, transitions and mixed excitation, phase predictions are poor, but the same sort of behavior can be simulated by replacing each residual phase by a uniformly-distributed random variable whose standard deviation is proportional to the degree to which the analyzed speech is unvoiced. Moreover, for a very low data rate transmission lines (i.e., below 4.8 kbps), a coding scheme has been devised that essentially eliminates the need to code phase information. In order to avoid the loss in quality and naturalness which would otherwise occur in a "magnitude-only" analysis/synthesis system, systems are disclosed herein for maintaining phase coherence and introducting an artificial phase dispersion. A synthetic phase model is disclosed which phase-locks all the sine waves to the fundamental and adds a pitch-dependent quadratic phase dispersion and a voicing-dependent random phase to each phase track. Speech is analyzed herein as having two components to the phase: a rapidly-varying component that changes with every sample and a slowly varying component that changes with every frame. The rapidly-varying phases are locked into synchrony with the phase of the fundamental and, furthermore, the pitch onset time simply establishes the time at which all the excitation sine waves come into phase. Since the sine waves are phase-locked, this onset time represents a delay which is not perceptible by the ear and, hence, can be ignored. Therefore, the phase of the fundamental can be generated by integrating the instantaneous pitch frequency and the rapidly-varying phases will be multiples of the phase of the fundamental. The invention will next be described in connection with certain illustrated embodiments. However, it should be clear that various changes and modifications can be made by those skilled in the art without departing from the score of the invention as defined by the claims, although the description that follows is particularly adapted to speech coding, it should be clear that various other acoustic waveforms can be processed in a similar fashion. Brief Description of the Drawings FIG. 1 is a schematic block diagram of the invention. FIG. 2 is a plot of a pitch onset likelihood function according to the invention for a frame of male speech. FIG. 3 is a plot of a pitch onset likelihood function according to the invention for a frame of female speech. FIG. 4 is an illustration of the phase residuals suitable for coding for the sampled speech data of FIG 2. Detailed Description In the present invention, the speech waveform is modeled as a sum of sine waves. Accordingly, the first step in coding speech is to express the input speech waveform, s(n), in terms of the sinusoidal model, where A k , ω k and ϑ k are the amplitudes, frequencies and phases corresponding to the peaks of the magnitude of the high-resolution short-time Fourier transform. It should be noted that the measured frequencies will not in general be harmonic. The speech waveform can be modeled as the result of passing a glottal excitation waveform through a vocal tract filter. If H(ω) represents the transfer characteristics of this filter, then the glottal excitation waveform e(n) can be expressed as where a k = A k /|H(ω k )| (3a)  k = ϑ k - arg H(ω k ). (3b) In order to calculate the excitation phase in (3b), it is necessary to compute the amplitude and phase of the vocal tract filter. This can be done either by using homomorphic techniques or by fitting an all-pole model to the measured sine-wave amplitudes. These techniques are discussed in WO-A-8 605 617. Both of these methods yield an estimate of the vocal tract phase that is inherently ambiguous since the same transfer characteristic is obtained for the waveform -s(n) as is obtained for s(n). This essential ambiguity is accounted for in the excitation model by writing  k = ϑ k - arg H(ω k ) - βπ (4) where β is either 0 or 1, a decision that must be accounted for in the analysis procedure. FIG. 1 is a block diagram showing the basic analysis/synthesis system of the present invention. The peaks of the magnitude of the discrete Fourier transform (DFT) of a windowed waveform are found simply by determining the locations of a change in slope (concave down). Phase measurements are derived from the discrete Fourier transform by computing the arctangents at the estimated frequency peaks. In a simple embodiment, the speech waveform can be digitized at a 10kHz sampling rate, low-passed filtered at 5 kHz, and analyzed at 10-20 msec frame intervals employing an analysis window of variable duration in which the width of the analysis window is pitched adaptive, being set, for example, at 2.5 times the average pitch period with a minimum width of 20 msec. Pitch-Adaptive Amplitude Coding The earlier versions of the sinusoidal transform coder (STC) exploited the correlation that exists between neighboring sine waves by using PCM to encode the differential log-amplitudes. Since a fixed number of bits were allocated to the amplitude coding, then the number of bits per amplitude was allowed to change as the pitch changed. Since for low-pitched speakers there can be as many as 80 sine waves in a 4000 Hz speech bandwidth, then at 8.0 kbps at least 1 bit can be allocated for each differential amplitude, while leaving 4000 bits/sec for coding the pitch, energy, and about 12 baseband phases. At 4.8 kbps, assigning 1 bit/amplitude immediately exhausts the coding budget so that no phases can be coded. Therefore, a more efficient amplitude encoder is needed for operation at the lower rates. It has been discovered that natural speech of good quality can be obtained if about 7 baseband phases are coded. Using the predictive phase model, it has also been determined that 4 bits/phase is sufficient, provided a non-linear quantization rule was used in which the quantum step size increased as that residual phase got closer to the ±π boundaries. After allowing for coding of the pitch, energy and the parameters of the phase model, 50 bits remained for coding the amplitudes (when a 50Hz. frame rate is used). One way to encode amplitude information at low rates is to exploit a perception-based strategy. In addition to using the DPCM technique to exploit the amplitude correlation between neighboring channels, further efficiencies are gained by allowing the channel separation to increase logarithmically with frequency, thereby exploiting the critical band properties for the ear. This can be done by constructing an envelope of the sine-wave amplitudes by linearly interpolating between sine-wave peaks. This envelope is then sampled at predefined frequencies. A 22-channel design was developed which allowed for 9 linearly-spaced frequencies at 93 Hz/channel in the baseband and 11 logarithmically-spaced frequencies in the higher-frequency region. DPCM coding was used with 3 bits/channel for the channels 2 to 9 and 2 bits/channel for channels 10 to 22. It is not necessary to explicitly code channel 1 since its level is chosen to obtain the desired energy level. At the receiver, another amplitude envelope is constructed by lineary interpolating between the channel amplitudes. This is then sampled at the pitch harmonics to produce the set of sine-wave amplitudes to be used for synthesis. While this strategy may be a reasonable design technique for speakers whose pitch is below 93 Hz, it is obviously inefficient for high-pitched speakers. For example, if the pitch is above 174 Hz, then there are at most 22 sine waves, and these could have been coded directly. Based on this idea, the design was modified to allow for increased channel spacing whenever the pitch was above 93 Hz. If F O is the pitch and there are to be M linearly-spaced channels out of a total of N channels, then the linear baseband ends at frequency F M = MF O . The spacing of the (N-M) remaining channels increases logarithmically such that F n = (1 + α) F n-1 n = M+1, M+2, ..., N (5) The expansion factor α is chosen such that F N is close to the 4000 Hz band edge. If the pitch is at or below 93 Hz, then the fixed 93 Hz linear/logarithmic design can be used, and if it is above 93 Hz, then the pitch-adaptive linear/log design can be used. Furthermore, if the pitch is above 174 Hz, then a strictly linear design can be used. In addition, the bit allocation per channel can be pitch-adaptive to make efficient use of all of the available bits. The DPCM encoder is then applied to the logarithm of the envelope samples at the pitch-adaptive channel frequencies. Since the quantization noise has essentially a flat spectrum in the quefrequency domain (the Fourier transform of the log magnitudes) and since the speech envelope spectrum varies as 1/n² in this domain, then optimal reduction of the quantization noise is possible by designing a Weiner filter. This can be approximated by an appropriately designed cepstral low-pass filter. This amplitude encoding algorithm was implemented on a real-time facility and evaluated using the Diagnostic Rhyme Test. For 3 male speakers, the average scores were 95.2 in the quiet, 92.5 in airborne-command-post noise and 92.2 in office noise. For females, the scores were about 2 DRT points lower in each case. Although the pitch-adaptive 22-channel amplitude encoder is designed for operation at 4.8 kbps, it can operate at any rate from 1.8 kbps to 8.0 kbps simply by changing the bit allocations for the amplitudes and phases. Operation at rates below 4.8 kbps was most easily obtained by eliminating the phase coding. This effectively defaulted the coder into a "magnitude-only" analysis/synthesis system whereby the phase tracks are obtained simply by integrating the instantaneous frequencies associated with each of the sine waves. In this way, operation at 3.1 kbps was achieved without any modification to the amplitude encoder. By further reducing the bit allocations for each channel, operation at rates down to 1.8 kbps was possible. While all of the low rate systems appear to be quite intelligible, serious artifacts could be heard in the 1.8 kbps system, since in this case only 1 bit/channel was being used. At 2.4 kbps, these artifacts were essentially removed, and at 3.1 kbps, the synthetic speech was very smooth and completely free of artifacts. However, the quality of the synthetic speech at these lower rates was judged by a number of listeners to be "reverberant," "strident," and "mechanical". In fact, the same loss in quality and naturalness appear to occur in the uncoded magnitude-only system. It was hypothesized that a major factor in this loss of quality was lack of phase coherence in the sine waves. Therefore, if high quality speech is desired at rates below 4.8 kbps using the STC system, then provision can be made for maintaining phase coherence between neighboring sine waves. An approach for achieving this phase coherence is discussed below. Phase Modeling The goal of phase modeling is to develop a parametric model to describe the phase measurements in (4). The intuition behind the new phase model stems from the fact that during steady voicing the excitation waveform will consist of a sequence of pitch pulses. In the context of the sinewave model, a pitch pulse occurs when all of the sine waves add coherently (i.e., are in phase). This means that the glottal excitation waveform can be modeled as where n o is the onset time of the pitch pulse measured with respect to the center of the analysis frame. This shows that the excitation phases depend linearly on frequency. The phase model depends on the two parameters, n o and β which should be chosen to make e and(n) "close to" e(n). Since the amplitudes of the excitation sine waves are more or less flat, a good criterion to use is the minimum mean-squared error. Therefore, we seek the value of the onset time and the phase ambiguity which minimized the error where (N+1) is the number of points in the analysis frame. Using (2) and (6) in (7) and the fact that the analysis frame was originally chosen to be long enough to resolve all the component sine waves, then it is easy to show that the least squares estimates of the model parameters can be obtained by finding the maximum of the function This expression can be simplified somewhat by defining the pitch onset likelihood function to be and then noting that for β = O , ρ(n o ,O) = ℓ(n o ) whereas for β = 1, ρ(n o ,1) = -ℓ(n o ) . This means that the onset time is estimated by locating the maximum of |ℓ(n o )|. If n o denotes the maximizing value, then the phase ambiguity is resolved by choosing β = O if ℓ(n o ) is positive and β = 1 if ℓ(n o ) is negative. Unfortunately, the function ℓ(n o ) is highly non-linear in n o , and it is not possible to find a simple analytical solution for the optimum value. As a consequence, the optimizing value was found by evaluating ℓ(n o ) over a range of onset times corresponding to the largest expected pitch period (20 ms in our case). Figure 2 illustrates a plot of the pitch onset likelihood function evaluated for a frame of male speech. The positive-ongoing peaks indicate that there is no ambiguity in the measured system phase. Figure 3, which corresponds to a frame of female speech, shows how the inherent ambiguity in the system phase manifests itself in negative-going peaks in the likelihood function. These results, which are typical of those obtained for voiced speech, show that it is possible to estimate the onset time of the pitch pulses from the phase measurements used in the sinusoidal representation. The first step used in coding the sine wave parameters is to assign one sine wave to each harmonic frequency bin. Since it is this set of sine wave which will ultimately be reconstructed at the receiver, it is to this reduced set of sine waves that the new phase model will be applied. In the most recent version of the STC system, an amplitude envelope is created by applying linear interpolation to the amplitudes of the reduced set of sine waves. This is used to flatten the amplitudes and then homomorphic methods are used to estimate and remove the system phase to create the sine wave representation of the glottal excitation waveform. The onset time and the system phase ambiguity are then estimated and used to form a set of residual phases. If the model were perfect, then these phase residuals would be zero. Of course, the model is not perfect; hence, for good synthetic speech it is necessary to code the residuals. An example of such a set of residuals is shown in FIG. 4 for the same data illustrated in FIG 2. Since only the sine waves in the baseband (up to 1000 Hz) will be coded, the model is actually fitted to the sine wave phase data only in the baseband region. The main point is that whereas the original phase measurements has values that were uniformly distributed over the [-π,π) region, the dynamic range of the phase residuals is much less than π, hence, coding efficiencies can be obtained. The final step in coding the sine wave parameters is to quantize the frequencies. This is done by quantizing the residual frequency obtained by replacing the measured frequency by the center frequency of the harmonic bin in which the sine wave lies. Because of the close relationship between the measured excitation phase of a sine wave and its frequency, it is desirable to compensate the phase should the quantized frequency be significantly different from the measured value. Since the final decoded excitation phase is the phase predicted by the model plus the coded phase residual, some phase compensation is inherent in the process since the phase model will be evaluated at the coded frequency and, hence, will better preserve the pitch structure in the synthetic waveform. The above analysis is based on the voiced speech case. If the speech should be unvoiced, the linear model will be totally in error, and the residual phase could be expected to deviate widely about the proposed straight-line model. These deviations would be random, a property which would be captured by the phase coder, hence, preserving the essential noise-like quality of the unvoiced speech. During steady voicing, the glottal excitation can be thought of as a sequence of periodic impulses which can be decomposed into a set of harmonic sine waves that add coherently at the time of occurrence of each pitch pulse. Based on this idea, a model for the speech waveform can be written as where A(ω) is the amplitude envelope, n o is the pitch onset time, ω o is the pitch frequency, Φ(ω) is the system phase and ε(mω o ) is the residual phase at the m th harmonic; ω = 2πf/f s is the angular frequency in radians, relative to the sampling frequency f s . Since under a minimum-phase assumption the system phase can be determined from the coded log-amplitude using homomorphic techniques, then the fidelity of the harmonic reconstruction depends only on the number of bits that can be assigned to the coding of the phase residuals. Based on experiments performed during the development of the 4.8 kbps system, it was observed that during steady voicing the predictive phase model was quite accurate, resulting in phase residuals that were essentially zero, while during unvoiced speech, the phase predictions were poor resulting in phase residuals that appeared to be random values within [-π,π]. During transitions and mixed excitations, the behavior of the phase residuals was somewhere between these two extremes. The same sort of behavior can be simulated by replacing each residual phase by a uniformly-distributed random variable whose standard deviation is proportional to the degree to which the analyzed speech is unvoiced. If P v denotes the probability that the speech is voiced, and if ϑ m is a uniformly distributed random variable on [-π,π], then ε(mω o ) = ϑ m (1-P v ) (11) provides an estimate for the phase residual. An estimate of the voicing probability is obtained from the pitch extractor being related to the degree to which the harmonic model is fitted to the measured set of sine waves. This model was implemented in real-time and the immediate sense was a "buzziness" in the synthetic speech. An explanation for this can be derived from the residual phase model from which it follows that during strongly-voiced speech, P v =1, ε(mω o )=o , and then from (11) Since the system phase Φ(ω) is derived from the coded log-magnitude, it is minimum-phase, which causes the synthetic waveform to be "spiky" and, in turn, leads to the perceived "buzziness". Several approaches have been proposed for reducing this effect by introducing some sort of phase dispersion. For example, a dispersive filter having a flat amplitude and quadratic phase can be used, an approach which happens to be particularly well-suited to the sinusoidal synthesizer since it can be implemented simply by replacing the system phase in (10) by Φ(ω) = βω² (13) The flexibility of the STC system allows for a pitch-adaptive speaker-dependent design. This can be done by considering the group delay associated with this phase characteristic which is given by A reasonable design rule is to require that the chirp duration be some fraction of the average pitch period. Since ω=2πf/f s , then the duration of the chirp is approximately given by T(π). Hence, if P o represents the average pitch period, then T(π)=α P o leads to the design rule where ω o = 2π/ P o is the average pitch frequency and O < α < 1 controls the length of the chirp. The synthesis model then becomes Although derived for the voiced-speech case, the dispersive model in (16) is used during all voicing states, since during unvoiced speech the phase residuals become random variables. For lower rate applications, it is necessary to use an even more constrained phase model. There are two components to the phase: a rapidly-varying component that changes with every sample, and a slowly-varying component that changes with every frame. The rapidly-varying component can be written as  m (n) = (n-n o )mω o = n o (n) (17) where  o (n) = (n-n o )ω o . (18) This shows that the rapidly-varying phases are locked in synchrony with the phase of the fundamental and, furthermore, that the pitch onset time simply establishes the time at which all of the excitation sine waves come into phase. But since the sine waves are phase-locked, this onset time simply represents a delay which is not perceptible by the ear and, hence, can be ignored. Therefore, the phase of the fundamental can be generated by integrating the instantaneous pitch frequency, but now as a consequence of (10), the phase relationship between neighboring sine waves will be preserved. Therefore, the rapidly-varying phases are multiples of the phase of the fundamental, which now becomes with where ω o k ,ω o k+1 are the measured pitch frequencies on frames k, k+1, respectively. The resulting phase-locked synthesizer has been implemented on the real-time system and found to dramatically improve the quality of the synthetic speech. Although the improvements are most noticeable at the lower rates below 3 kbps where no phase coding is possible, the phase-locking technique can also be used for high-frequency regeneration in those cases where not all of the baseband phases are coded. In fact, very good quality can be obtained at 4.8 kbps while coding fewer phases than was used in the earlier designs. Furthermore, since Eqs. (16-20) depend only on the measured pitch frequency, ω o , and a voicing probability, P v , reduction in the data rate below 4.8 kbps is not possible with less loss in quality even though no explicit phase information is coded.

Claims: A method of coding speech for digital transmission, the method comprising: sampling the speech to obtain a series of discrete samples and constructing therefrom a series of frames, each frame spanning a plurality of samples; analyzing each frame of samples to extract a set of frequency components having individual amplitudes and phases; tracking said components from one frame to the next frame; and interpolating the values of the components from the one frame to the next frame to obtain a parametric representation of the waveform whereby a synthetic speech waveform can be constructed by generating a set of sine waves corresponding to the interpolated values of the parametric representation; and the method being characterized by coding the frequency components for digital transmission, whereby a pitch onset likelihood function is maximised and a mean squared error is minimised to lock the excitation contribution of the phase of the frequency components into synchrony. A method as claimed in claim 1, characterised in that the step of coding the frequency components further includes determining a pitch onset time to establish a time at which the frequency components come into phase synchrony. A method as claimed in claim 1, characterised in that the step of analyzing each frame to extract frequency components further includes predicting the phases of the frequency components by homomorphic transformation and pitch onset time analysis, and the step of coding the frequency components includes coding only the phase residuals for transmission. A method as claimed in claim 1, characterised in that the step of coding the frequency components further includes applying a pitch-dependent quadratic phase dispersion to the frequency components to eliminate the need to code phase values for the frequency components. A method as claimed in claim 1, characterised in that the step of coding the frequency components further includes generating a voicing dependent random phase for said frequency components to eliminate the need to code phase values for the frequency components. A method as claimed in claim 1, characterised in that the step of analyzing each frame to extract frequency components further includes determining a phase of a fundamental frequency by integrating an instantaneous pitch frequency, and defining the phases of the frequency components as multiples of the phase of the fundamental frequency. A method as claimed in claim 1 further comprising the steps of: coding the frequency components for digital transmission, such that the frequency components are limited to a set of amplitude channels defined by a plurality of harmonic frequencies. A method as claimed in claim 7, characterised in that the step of coding the frequency components further includes varying the number of amplitude channels based on a pitch measurement of the speech. A method as claimed in claim 7, characterised in that the step of coding the frequency components further includes defining a first set of linearly-spaced frequency channels in a baseband, and a second set of logarithmatically-spaced channels in a higher frequency region. A method as claimed in claim 9, characterised in that the step of defining said linear and logarithmatically-spaced channels further includes defining a transition frequency from said linearly-spaced frequency channels to said logarithmatically-spaced frequency channels based on a pitch measurement of the speech. A speech coding device having sampling means for sampling a speech waveform to obtain a series of discrete samples and constructing therefrom a series of frames, each frame spanning a plurality of samples, analyzing means for analyzing each frame of samples by Fourier analysis to extract a set of frequency components having individual amplitude and phase values, tracking means for tracking the components from one frame to a next frame, interpolating means for interpolating the values of the components from the one frame to the next frame to obtain a parametric representation of the waveform whereby a synthetic speech waveform can be constructed by generating a set of sine waves corresponding to the interpolated values of the parametric representation, and characterised by: coding means for coding the frequency components whereby a pitch onset likelihood function is maximized and a mean squared error is minimized to lock the excitation contributions of the phase of the frequency components into synchrony. A device as claimed in claim 11, characterised in that the analyzing means further includes a pitch onset estimator for establishing a time at which the frequency components come into phase. A device as claimed in claim 11, characterised in that the analyzing means further includes a homomorphic phase estimator for estimating the phases of the frequency components and the coding means further includes means for coding only phase residuals for transmission. A device as claimed in claim 11, characterised in that the coding means further includes a quadratic phase dispersion computer which eliminates the need to code phase values for the frequency components. A device as claimed in claim 11, characterised in that the coding means further includes a random phase generator for generating a voicing dependent random phase for the frequency components. A device as claimed in claim 11, characterised in that the analyzing means further includes means for determining the phase of a fundamental frequency by integrating an instantaneous pitch frequency and means for defining the phases of the frequency components as multiples of the phase of the fundamental frequency. A device as claimed in claim 11, characterised in that the coding means further includes means for coding the components such that the frequency components are limited to a set of channels defined by a plurality of harmonic frequencies.

Inventors: MCAULAY, ROBERT J., QUATIERI, THOMAS F., JR.
Applicants: MASSACHUSETTS INSTITUTE OF TECHNOLOGY
Application year: 1988
Main classification: G10L7
IPC codes: H04B14, H03M7, G10L19, G10L13