AU643769B2 - Coding of acoustic waveforms - Google Patents

Coding of acoustic waveforms Download PDF

Info

Publication number
AU643769B2
AU643769B2 AU74364/91A AU7436491A AU643769B2 AU 643769 B2 AU643769 B2 AU 643769B2 AU 74364/91 A AU74364/91 A AU 74364/91A AU 7436491 A AU7436491 A AU 7436491A AU 643769 B2 AU643769 B2 AU 643769B2
Authority
AU
Australia
Prior art keywords
phase
coding
speech
frame
channels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
AU74364/91A
Other versions
AU7436491A (en
Inventor
Robert J. Mcaulay
Thomas F. Quatieri Jr.
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Massachusetts Institute of Technology
Original Assignee
Massachusetts Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Massachusetts Institute of Technology filed Critical Massachusetts Institute of Technology
Publication of AU7436491A publication Critical patent/AU7436491A/en
Application granted granted Critical
Publication of AU643769B2 publication Critical patent/AU643769B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/02Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using spectral analysis, e.g. transform vocoders or subband vocoders

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

643769 COMMONWEALTH OF AUSTRALIA PATENTS ACT 1952 COMPLETE SPECIFICATION (Original) FOR OFFICE USE Class Int. Class Application Number: Lodged: Complete Specification Lodged: Accepted: Published: 0S0e *0 6600 00 a 0 0 0 0 0665 0 Priority: Related Art: Name of Applicant: Address of Applicant: Actual Inventor(s): Address for Service: MASSACHUSETTS INSTITUTE OF
TECHNOLOGY
77 Massachusetts Avenue, Cambridge, Massachusetts 02139, United States of America Robert J. McAulay Thomas F. Quatieri, Jr.
DAVIES COLLISON, Patent Attorneys, 1 Little Collins Street, Melbourne, 3000.
Complete Specification for the invention entitled: Coding of Acoustic Waveforms The following statement is a full description of this invention, including the best method of performing it known to us: -1- 910411,&cpdat.062,13145diV.c,1 la Background of the Invention The field of this invention is speech technology generally and, in particular, methods and devices for analysing, digitally-encoding, modifying and synthesising speech or other acoustic waveforms.
Digital speech coding methods and devices are the subject of considerable present interest, particularly at rates compatible with conventional transmission lines 2.4 9.6 kilobits per second). At such rates, the typical approaches to speech 10 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.
*0 00 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 modelled as random noise with a flat spectrum.
Australian Patent Application No. 56208/86 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 Australian Patent Application No. 56208/86 includes the steps of: selecting frames windows of about 20-40 milliseconds) of samples from the waveform; analysing each frame of samples to extract a set of frequency 910412,gcpsps.005,13145.div,1 -2components; tracking the components from one frame to the next; 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. The disclosures of Australian Patent Application No. 56208/86 are incorporated herein by reference.
In one illustrated embodiment described in detail in Australian Patent Application No. 56208/86, 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 6 waveform, the amplitudes, frequencies, and phases of the sine waves estimated on one frame are matched and allowed to continuously evolve into the corresponding S* 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-neighbour matching method based on the 20 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 4: and the corresponding track is allowed to decay to zero. Once the parameters on successive frames have been matched, phrse continuity of each sinusoidal component is ensured by unwrapping the phase. In one prefered 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.
910411.qpsp.005,13145.di,2 -3- In speech coding applications, Australian Patent Application No. 56208/86 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 arm 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.
*6@ 0 At low data rates 4.8 kilobits per second or less), there can sometimes be 'o 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 According to the present invention there is provided 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; analysing 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; 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 91041 Igcpsp.0O,13145dv3 -4to the interpolated values of the parametric representation; and coding the frequency components for digital transmission, such that the frequency components are limited to a set of channels defined by a plurality of harmonic frequency bins, said channels comprising a first set of linearly-spaced channels in a baseband, and a second set of logarithmatically-spaced channels in a higher frequency region.
The invention also provides a speech coding device comprising: 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; analysing means for analysing 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; and coding means for coding the components such that the frequency components are limited to a set of channels defined by a plurality of harmonic frequencies, said coding means including a means for 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.
20 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.
25 Preferably, 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 30 harmonics. Efficiencies are gained in coding the amplitudes by exploiting the correlation that exists between the amplitudes of neighbouring sine waves. A predictive model for the phases of the sine waves is also developed, which not only leads to a set of residual 9309I4,p\pejcmmuacO2.com,4 4a phases whose dynamnic ranges, are a S.
S
S S 55 5555 0 5* S S S S 4%,I 930914,ocp sacOm.4 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 (SVC) 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 S" 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 S"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-space 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.
-6- 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.
4 Moreover, for a very low data rate transmission lines below 4.8 kbps), a coding scheme has been devised that essentially eliminates Sas 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 base coherence and 6 introducting an artificial phase dispersion. A 4.o 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 A. 0 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 -7the 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 u. 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 spirit and scope of the 4 invention. For example, 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 Drawinas
B.
V
FIG. 1 is a schematic block diagram of the oi* invention.
i 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.
netailed nescrintion 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, in terms of the sinusoidal model, s(n) A X Aexp J(nw k +Ok) k= 1 Se.. (1) 05 where AMI eik and e k are the amplitudes, frequencies arid phases corresponding to the peaks of the magnitude of the high-resolution shoi..t-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 excitatic44 wavef(orm SO. througb a vocal tract filter. If H(cw) represents 0 the transfer characteristics of this filter, then tche 0:00 glottal excitation waveform e(n) can be express as 0000
K
e(n) a 8 kxp [j(nok 5: k= 1 *sSSO*(2) where a k Ak/IH (wk)I (3a) O= Ok arg (3b) -9- In order to calculate the excitation phase in 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 Australian Patent Application No.
56208/86. 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 as is obtained for This essential ambiguity is accounted for in the excitation model by writing k Ok arg H(wk) EP (4) where P is either 0 or 1, a decision that must be accounted for in the analysis procedure.
15 FIG. 1 is a block diagram showing the basic analysi/synthesis sys'em of the present invention. The peaks of the magnitude of the discrete Fourier transftirm (PFT) 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.
.9 I41234 910412pcjpe.OQS,13145.div,9 In a simple embodiment, tLe speech waveform can be digitized at a 10kHz sampling rate, lou-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 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 0 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 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.
ge
*S
-11- 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 Plso 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 ±r 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 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 D&CM technique to exploit *o the amplitude correlation between neighboring channels, further efficiencies are gained by allowing the channel separation to increase logarithmically S" 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 cha-nel 1 since its level is chosen to obtain the desired energy level.
-12- 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.
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 £r design was modified to allow for increased channel Sspacing 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 FM MF
O
The spacing of the remaining channels increases *logarithmically such that SF (1 a) Fn, 1 n M+l, M+2, N n n-l The expansion factor a is chosen such that FN 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.
-13- 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 2 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 *e io 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 th6 pitch-adaptive 22-channel amplitude encoder is designed for operation at 4.8 4 4 kbps, it can operate at any rate from 1.8 kbps to S" 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 -14allocations 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 appr6ach for achieving this phase coherence is discussed below.
*oo* 66 9 6 (rr Phase Modeling The goal of phase modeling is to develop a parametric model to describe the phase measurements in 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 are in phase). This means that the glottal excitation waveform can be modeled as
K
S( e(n) ak exp[j(n-n )k k=l (6)
*OS
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 0 which should be chosen to make e(n) "close to" Since the amplitudes of the excitation sine waves are more or less flat, a good criterion to use is the minimum mean-nquared error. Therefore, we seek the value of the onset time and the phase ambiguity which minimized the error 4 N/2 je(n) (n)2 n=-N/2 (7) -16where is the number of points in the analysis frame. Using and in 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 p(no,i) K 2 1 a k cos[9k arg H( k) ir n ok] :0 k=l (8) 4 This expression can be simplified somewhat by defining the pitch onset likelihood function to be 0 K 2 .(n o X akcos[k arg H(wk) nok] k=l (9) 00 and then noting that for P 0, p(n,0O) a(no whereaa for 1, p(no,1) This means that the onset time is estimated by locating the maximum of I(n If n denotes the maximizing value, then the phase ambiguity is resolved by choosing 0 if 2(n is positive and R 1 if is negative. Unfortunately, the function t(n is highly non-linear in n and it is not possible to find a simple analytical solution for the optimum value.
-17- As a consequence, the optimizing value was found by evaluating 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 **un 1, estimate the onset time of the pitch pulses from the phase measurements used in the sinusoidal C. 1 representation.
The first step used in coding the sine wave a* 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 thiz 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 *p 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 -18model is not perfect; hence, for good synthetic speech it is necessary to code the residuals. An example of such 4 set of residuals is shown in FIG. 4 for the same ata 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 r, 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 l'e* 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.
-19- 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 ee M
M
s(n) I A(mno)exp[j(n-n )n +O(m )+c(mnog)] m=l where A(w) is the amplitude envelope, n is the pitch onset time, uo is the pitch frequency, is the system phase and e(m0 is the residual phase at the mth harmonic; w 2tf/f s is the angular frequency in radians, relative to the sampling frequency 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 residual:.
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 denotes the probatility that the speech is voiced, and if 6 m is a uniformly distributed random variable on then
A
c(mo) 8m(l-Pv) (11) 4* S 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.
W9S* -21- 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, Pv=l, c(muo)=o, and then from (11)
M
s(n) X A(mw )e p j[(n-n 0 )m w 0 o+(m O)] m=l (12) g** Since the system phase 0(u) is derived S, 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 S. F S2 0 (13) f -22- The flexibil3,ty of the STC system allows for a pitch-adaptU ve speaker-dependent design. This can be done by considering the group delay associated with this phase characteristCi which is givep by do (14) A reasonable design rule is to require that the chirp duration bo somve fractio, of the average pitch 0:0* period. Since /46=2vf/fs, then the duration of *4e the chirp is approximately given by Hence, if Is represents the average pitch period, then T(i)=%1 0 leads to the design rule s ee where w 2w/P 0is the average pitch frequency Ind 0 4x 1 contiols the length of the o: ~chirp. The 6y..,hesis model then becomes A
M
s I A (riuo) exp j(n-n 0 m wo (mn co) 2 c (m 6io)] see, Io (16) 4 4 Although derived for the voiced-speech casej the dispersive model. in~ (16) is used during all voicing states, since during unxvoiced speech the phase residuals become random variables.
-23- For lower rate applications, it is necessary to use an even moie 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 T(n) (n-no MEO no (n) (17) B C where 0 *l *Un) (n-n 0
)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 timn nimiply 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 a -24of the fundamental can be generated by integrating the instantaneous pitch frequency, but now as a consequence of the phasea relationship between neighboring sine waves will b~e preserved. Therefore, the rapidly-varying phases are multiples of the phase of the fundamental, which now becomes n-kN O (kN) S coo 0 (t)dt 0 58 kN_. n j(k+1)N with (19) k~ OPI.I =oW -y 0_i t N wher W 0 are the measured pitch frequencies on frames k, k-Ii, respectively.
a a O 46
B
S
a The resulting phase-locked synthesizer has been implemented on the real-time system and found to dramatically improve the quality o4 the synthetic speech. Although the improvements are most noticeable at the lower rates below 3 kbns 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, Wo and a voicing probability, 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.
*Ir

Claims (1)

  1. 26- THE CLAIMS DEFINING THE INVENTION ARE AS FOLLOWS: 1. 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; analysing 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; 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 coding the frequency components for digital transmission, such that the frequency components are limited to a set of channels defired by a plurality of harmonic frequency bins, said channels comprising a first set of linearly-spaced channels in a baseband, and a second set of logarithmatically-spaced channels in a higher frequency region. 2. The method of claim 1 wherein the strp of coding the frequency components further includes varying the ,umber of channels based on a pitch measurement of the 20 speech. V* 3. The method of claim 1 or 2 wherein the step of defining said linear and logarithmatically-spaced channels further includes defining a transition frequency from said linearly-spaced channels to said logarithmatically-spaced channels based on a pitch 25 measurement of the speeh. 4. A speech coding device comprising: 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 30 of samples; analysing means for analysing each frame of samples by Fourier analysis to extract a set of frequency components having individual amplitude and phase values; 930914,popcmmauuU.co,26 i 27 tracking means for tracking the components from one frame to a next frame; and coding means for coding the components such that the frequency components are limited to a set of channels defined by a plurality of harmonic frequencies, said coding means including a means for 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. The device of claim 4 wherein the coding means further includes means for varying the number of channels based on a pitch measurement of the speech. 6. The device of claim 4 or 5 wherein the coding means fiArther includes means for defining a transition frequency from said linearly-spaced channels to said logarithmatically-spaced channels. DATED this 14th day of SEPTEMBER 1993 20 MASSACHUSETS INSTITUTE OF TECHNOLOGY *0 By its Patent Attorneys DAVIES COLLISON CAVE *9 0 i* t 930914,p:\pcJcmnmmsuza .com,27
AU74364/91A 1987-04-02 1991-04-12 Coding of acoustic waveforms Ceased AU643769B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US3409787A 1987-04-02 1987-04-02
US034097 1987-04-02

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
AU13145/88A Division AU612351B2 (en) 1987-04-02 1988-03-16 Coding of acoustic waveforms

Publications (2)

Publication Number Publication Date
AU7436491A AU7436491A (en) 1991-07-11
AU643769B2 true AU643769B2 (en) 1993-11-25

Family

ID=21874290

Family Applications (2)

Application Number Title Priority Date Filing Date
AU13145/88A Ceased AU612351B2 (en) 1987-04-02 1988-03-16 Coding of acoustic waveforms
AU74364/91A Ceased AU643769B2 (en) 1987-04-02 1991-04-12 Coding of acoustic waveforms

Family Applications Before (1)

Application Number Title Priority Date Filing Date
AU13145/88A Ceased AU612351B2 (en) 1987-04-02 1988-03-16 Coding of acoustic waveforms

Country Status (6)

Country Link
EP (1) EP0285276B1 (en)
JP (2) JP3191926B2 (en)
AT (1) ATE95936T1 (en)
AU (2) AU612351B2 (en)
CA (1) CA1332982C (en)
DE (1) DE3884839T2 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5029509A (en) * 1989-05-10 1991-07-09 Board Of Trustees Of The Leland Stanford Junior University Musical synthesizer combining deterministic and stochastic waveforms
JPH04150233A (en) * 1990-10-09 1992-05-22 Matsushita Electric Ind Co Ltd Signal transmission method
JP2606756B2 (en) * 1990-10-22 1997-05-07 財団法人鉄道総合技術研究所 Digital signal transmission equipment
DE4126882A1 (en) * 1991-08-14 1993-02-18 Philips Patentverwaltung ARRANGEMENT FOR LANGUAGE TRANSMISSION
WO1993018505A1 (en) * 1992-03-02 1993-09-16 The Walt Disney Company Voice transformation system
BE1007428A3 (en) * 1993-08-02 1995-06-13 Philips Electronics Nv Transmission of reconstruction of missing signal samples.
US5517595A (en) * 1994-02-08 1996-05-14 At&T Corp. Decomposition in noise and periodic signal waveforms in waveform interpolation
JP2778567B2 (en) * 1995-12-23 1998-07-23 日本電気株式会社 Signal encoding apparatus and method
US6112169A (en) * 1996-11-07 2000-08-29 Creative Technology, Ltd. System for fourier transform-based modification of audio
US6449592B1 (en) 1999-02-26 2002-09-10 Qualcomm Incorporated Method and apparatus for tracking the phase of a quasi-periodic signal
WO2002003381A1 (en) * 2000-02-29 2002-01-10 Qualcomm Incorporated Method and apparatus for tracking the phase of a quasi-periodic signal
DE60113034T2 (en) * 2000-06-20 2006-06-14 Koninkl Philips Electronics Nv SINUSOIDAL ENCODING
AU2003274617A1 (en) * 2002-11-29 2004-06-23 Koninklijke Philips Electronics N.V. Audio coding
WO2005024783A1 (en) * 2003-09-05 2005-03-17 Koninklijke Philips Electronics N.V. Low bit-rate audio encoding
US8805694B2 (en) 2009-02-16 2014-08-12 Electronics And Telecommunications Research Institute Method and apparatus for encoding and decoding audio signal using adaptive sinusoidal coding
CN102264022B (en) * 2010-04-08 2014-03-12 Gn瑞声达公司 Stability improvements in hearing aids

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU5620886A (en) * 1985-03-18 1986-10-13 Massachusetts Institute Of Technology Acoustic waveform processing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4856068A (en) * 1985-03-18 1989-08-08 Massachusetts Institute Of Technology Audio pre-processing methods and apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU5620886A (en) * 1985-03-18 1986-10-13 Massachusetts Institute Of Technology Acoustic waveform processing

Also Published As

Publication number Publication date
EP0285276B1 (en) 1993-10-13
AU7436491A (en) 1991-07-11
CA1332982C (en) 1994-11-08
AU1314588A (en) 1988-10-06
AU612351B2 (en) 1991-07-11
ATE95936T1 (en) 1993-10-15
DE3884839D1 (en) 1993-11-18
JP2001228898A (en) 2001-08-24
DE3884839T2 (en) 1994-05-05
EP0285276A2 (en) 1988-10-05
JP3191926B2 (en) 2001-07-23
EP0285276A3 (en) 1989-11-23
JPH01221800A (en) 1989-09-05

Similar Documents

Publication Publication Date Title
US5054072A (en) Coding of acoustic waveforms
AU643769B2 (en) Coding of acoustic waveforms
USRE36478E (en) Processing of acoustic waveforms
US6377916B1 (en) Multiband harmonic transform coder
CN1838239B (en) Apparatus for enhancing audio source decoder and method thereof
US4937873A (en) Computationally efficient sine wave synthesis for acoustic waveform processing
Atal et al. Spectral quantization and interpolation for CELP coders
CA1243122A (en) Processing of acoustic waveforms
JP4112027B2 (en) Speech synthesis using regenerated phase information.
US6067511A (en) LPC speech synthesis using harmonic excitation generator with phase modulator for voiced speech
US6119082A (en) Speech coding system and method including harmonic generator having an adaptive phase off-setter
US6094629A (en) Speech coding system and method including spectral quantizer
US6138092A (en) CELP speech synthesizer with epoch-adaptive harmonic generator for pitch harmonics below voicing cutoff frequency
JPH0575296B2 (en)
JPH04506575A (en) Adaptive transform coding device with long-term predictor
McAulay et al. Multirate sinusoidal transform coding at rates from 2.4 kbps to 8 kbps
McAulay et al. Mid-rate coding based on a sinusoidal representation of speech
US6052658A (en) Method of amplitude coding for low bit rate sinusoidal transform vocoder
US5839102A (en) Speech coding parameter sequence reconstruction by sequence classification and interpolation
Rabiner et al. Tandem connections of wideband and narrowband speech communication systems part 2–wideband-to-narrowband link
Adoul et al. Voiced-unvoiced discrimination for efficient compression in multichannel telephony
Algazi et al. Transform representation of the spectra of acoustic speech segments with applications. II. Speech analysis, synthesis, and coding
Akamine et al. ARMA model based speech coding at 8 kb/s
Macon et al. Applications of sinusoidal modeling to speech and audio signal processing
Fette et al. High Quality 2400 bps Vocoder Research