Background of the Invention
My invention relates to speech processing and, more particularly, to compression of speech patterns.
It is generally accepted that a speech signal requires a bandwidth of at least 4 kHz for reasonable intelligibility. In digital speech processing systems such as speech synthesizers, recognizes, or coders, the channel capacity needed for transmission or memory required for storage of the digital elements of the full 4 kHz bandwidth waveform is very large. Many techniques have been devised to reduce the number of digital codes needed to represent a speech signal. Waveform coding such as PCM, DPCM, Delta Modulation or adaptive predictive coding result in natural sounding, high quality speech at bit rates between 16 and 64 kbps. The speech quality obtained from waveform coders, however, degrades as the bit rate is reduced below 16 kbps.
An alternative speech coding technique disclosed in U.S. Pat. No. 3,624,302 issued Nov. 30, 1971 to B. S. Atal and assigned to the same assignee utilizes a small number, e.g., 12-16, of slowly varying parameters which may be processed to produce a low distortion replica of a speech pattern. Such parameters, e.g., LPC or log area, generated by linear prediction analysis can be spectrum limited to 50 Hz without significant band limiting distortion. Encoding of the LPC or log area parameters generally requires sampling at a rate of twice the bandwidth and quantizing each resulting frame of LPC or log area parameters. Each frame of a log area parameter, for example, can be quantized using 48 bits. Consequently, 12 log area parameters each having a 50 Hz bandwidth results in a total bit rate of 4800 bits/sec.
Further reduction of bandwidth decreases the bit rate but the resulting increase in distortion, interferes with the intelligibility of speech synthesized from the lower bandwidth parameters. It is well known that sounds in speech patterns do not occur at a uniform rate and techniques have been devised to take into account such nonuniform occurrences. U.S. Pat. No. 4,349,700 issued Sept. 14, 1982 to L. R. Rabiner et al and assigned to the same assignee discloses arrangements that permit recognition of speech patterns having diverse sound patterns utilizing dynamic programming. U.S. Pat. No. 4,038,503 issued July 26, 1977 to Moshier discloses a technique for nonlinear warping of time intervals of speech patterns so that the sound features are represented in a more uniform manner. These arrangements, however, require storing and processing acoustic feature signals that are sampled at a rate corresponding to most rapidly changing feature in the pattern. It is an object of the invention to provide an improved speech representation arrangement having reduced digital storage and processing requirements.
Summary of the Invention
Sounds or events in human speech are produced at an average rate that varies between 10 and 20 sounds or events per second. Acoustic features, however, are generated at a much higher rate which corresponds to the most rapidly changing features in the pattern, e.g., 50 Hz. It has been observed that such sounds or speech events, e.g., vowel sounds, generally occur at nonuniformly spaced time intervals and that articulatory movements differ widely for various speech sounds. Consequently, a significant degree of compression may be achieved by transforming acoustic feature parameters occurring at a uniform time frame rate, e.g., 50 Hz into short speech event related units representing articulatory movement in individual sounds occurring in the speech pattern located at nonuniformly spaced time intervals at the sound occurrence rate, e.g., 10 Hz. The coding of such speech event units results in higher efficiency i.e., substantially lower bit rate without degradation of the accuracy of the the pattern representation.
The invention is directed to speech encoding methods and arrangements adapted to convert signals representative of the acoustic features of the successive time frames of a speech pattern formed at the time frame rate to signals representative of the individual sounds (or equivalently, the articulatory movements producing those sounds) encoded at a lower rate which is their rate of occurrence. While the acoustic feature signals of the successive time frames are formed in a conventional way, the conversion to the lower rate signals comprises linearly combining selected ones of those acoustic feature signals and using those linear combinations for many successive time frames to locate the particular time frames in which occur the sound centroids, or more specifically the zero crossings of the timing signals described hereinafter. For each time frame so located, a signal is generated to represent the individual sound (or equivalently, the articulatory movement) having that centroid. In particular, that signal is generated from the aforesaid linear combinations of acoustic feature signals. Each individual sound signal is encoded at a rate corresponding to its bandwidth. Accuracy is ensured by generating each individual sound signal from the linear combinations of acoustic feature signals rather than the arbitrary smoothing techniques used in the prior art.
According to one aspect of the invention a speech pattern is synthesized by storing a prescribed set of speech element signals, combining said speech element signals to form a signal representative of the acoustic features of the uniform duration time frames of a speech pattern, and producing said speech pattern responsive to the set of acoustic feature signals. The prescribed speech element signals are formed by analyzing a speech pattern to generate a set of acoustic feature representative signals such as log area parameter signals at a first rate, e.g., 50 Hz. A sequence of signals representative of the articulatory movements of successive individual sounds in said speech pattern is produced responsive to said sampled acoustic feature signals at a second rate, e.g., 10 Hz and a sequence of digitally coded signals corresponding to the speech event representative signal is formed at the second rate less than said first rate.
Description of the Drawing
FIG. 1 depicts a flowchart illustrating the general method of the invention;
FIG. 2 depicts a block diagram of a speech pattern coding circuit illustrative of the invention;
FIGS. 3-8 depict detailed flowcharts illustrating the operation of the circuit of FIG. 2;
FIG. 9 depicts a speech synthesizer illustrative of the invention;
FIG. 10 depicts a flow chart illustrating the operation of the circuit of FIG. 9;
FIG. 11 shows a waveform illustrating a speech event timing signal obtained in the circuit of FIG. 2;
FIG. 12 shows waveforms illustrative of a speech pattern and the speech event feature signals associated therewith;
FIGS. 13 and 14 show the principal component factoring and speech event feature signal selection operations of FIG. 4 in greater detail;
FIGS. 15 and 16 show the principal component factoring and the feature signal generation operations of FIG. 6 in greater detail; and
FIG. 17 shows the sampling rate signal formation operation of FIG. 7 in greater detail.
General Description
It is well known in the art to represent a speech pattern by a sequence of acoustic feature signals derived from a linear prediction or other spectral analysis. Log area parameter signals sampled at closely spaced time intervals have been used in speech synthesis to obtain efficient representation of a speech pattern. The closely spaced time intervals or time frames occurring at a uniform rate requires a bandwidth or bit rate sufficient to adequately represent the most rapid changes in the log area parameters of the speech pattern. Consequently, the number of bits per frame and the number of frames per second for coding the parameters are fixed to accommodate such rapid changes in the log area parameters. Alternatively, speech patterns have been represented in terms of their constituent sounds or speech events. As described in the article "Development of a Quantitative Description of Vowel Articulation" by Kenneth Stevens et al appearing in the Journal of the Acoustical Society of America, Vol. 27, No. 3, pp. 484-493, May 1955, and the article "An Electrical Analog of the Vocal Tract", by K. N. Stevens et al appearing in the Journal of the Acoustical Society of America, Vol. 25, No. 4, pp. 734-742, July 1953, each individual sound such as a vowel sound may be represented as a set of feature parameters corresponding to the articulatory configuration for the sound. The individual sounds or speech events in a speech pattern occur at a rate much lower than the time frame rate, and the bandwidth or bit rate requirements of such sounds are generally much lower than the bandwidth of the rapid changes in the log area or other linear predictive parameters. Other arrangements reduce the speech code bit rate by representing a succession of similar frames by the acoustic features of the first of the similar frames as disclosed in the article "Variable-to-Fixed Rate Conversion of Narrowband LPC Speech," by E. Blackman, R. Viswanathan, and J. Makhoul published in the Proceedings of the 1977 IEEE International Conference on Acoustics, Speech, and Signal Processing, pp. 409-412, and elsewhere. Unlike these other arrangements, the conversion of the sequence of time frame acoustic feature signals into a succession of individual sound articulatory configuration signals according to the invention provides reduced speech code bit rate by concentrating on coding the portions of speech, as described at pages 7 and 11, first paragraphs, containing centroids of signals representing individual sounds or more specifically, where a speech event signal is characterized by minimum spreading, i.e., is relatively compressed, rather than being approximations of the time frame acoustic features signals of the type described in the Blackman et al. reference. In accordance with the invention, log area parameters are transformed into a sequence of individual speech event feature signals .phi..sub.k (n) such that the log area parameters are related thereto in accordance with the relationship ##EQU1## The speech event feature signals .phi..sub.k (n) illustrated in FIG. 12 are sequential and occur at the speech event rate of the pattern which is substantially lower than the the log area parameter frame rate. Log area parameters are well known in the art and are described in "Digital Processing of Speech Signals" by L. R. Rabiner and R. W. Schafer, Prentice Hall Signal Processing Series, 1978, pp. 444 and elsewhere. In equation (1), each speech event signal .phi..sub.k (n) corresponds to the features of the articulatory configuration of an individual sound occurring in the speech pattern, and p is the total number of log area parameters y.sub.i (n) determined by linear prediction analysis. m corresponds to the number of speech events in the pattern, n is the index of samples in the speech pattern at the sampling rate of the log area parameters, .phi..sub.k (n) is the kth speech event signal at sampling instant n, and a .sub.ik is a combining coefficient corresponding to the contribution of the kth speech event function to the ith log area parameter. Equation (1) may be expressed in matrix form as
where Y is a pxN matrix whose (i, n) element is y.sub.i (n), A is a pxm matrix whose (i, k) element is a.sub.ik, and .PHI. is an mxN matrix whose (k, n) element is .phi..sub.k (n). Since each speech event k occupies only a small segment of the speech pattern, the signal .phi..sub.k (n) representative thereof should be non-zero over only a small range of the sampling intervals of the total pattern. Each log area parameter y.sub.i (n) in equation (1) is a linear combination of the speech event functions .phi..sub.k (n) and the bandwidth of each y.sub.i (n) parameter is the maximum bandwidth of any one of the speech event functions .phi..sub.k (n). It is therefore readily seen that the direct coding of y.sub.i (n) signals will take more bits than the coding of the .phi..sub.k (n) sound or switch event signals and the combining coefficient signals a.sub.ik in equation (1).
FIG. 1 shows a flow chart illustrative of the general method of the invention. In accordance with the invention, a speech pattern is analyzed to form a sequence of signals representative of log area parameter acoustic feature signals. It is to be understood, however, that LPC, PARCOR or other speech features may be used instead of log area parameters and that log area parameter signals may be formed from LPC or the other speech features as is well known in the art. The instructions for the conversion of LPC to log area parameters are listed in Appendix A hereto in Fortran Language. The feature signals are then converted into a set of speech event or individual sound representative signals that are encoded at a lower bit rate for transmission or storage.
With reference to FIG. 1, box 101 is entered in which an electrical signal corresponding to a speech pattern is low pass filtered to remove unwanted higher frequency noise and speech components and the filtered signal is sampled at twice the low pass filtering cutoff frequency. The speech pattern samples are then converted into a sequence of digitally coded signals corresponding to the pattern as per box 110. Since the storage required for the sample signals is too large for most practical applications, they are utilized to generate log area parameter signals as per box 120 by linear prediction techniques well known in the art. The log area parameter signals y.sub.i (n) are produced at a constant sampling rate high enough to accurately represent the fastest expected event in the speech pattern. Typically, a sampling interval between two and five milliseconds is selected.
After the log area parameter signals are stored, the times of occurrence of the successive speech events, i.e., individual sounds, in the pattern are detected and signals representativve of the event timing are generated and stored as per box 130. This is done by partitioning the pattern into prescribed smaller segments, e.g., 0.25 second intervals. For each successive interval having a beginning frame n.sub.b and an ending frame n.sub.e, a matrix of log area parameter signals is formed corresponding to the log area parameters y.sub.i (n) of the segment. The redundancy in the matrix is reduced by factoring out the first four principal components so that each log area parameter signal of a time frame n is represented as ##EQU2## and conversely, the principal components u.sub.m (n) of the time frame is determined from the log area parameters of the frame as ##EQU3## The first four principal components may be obtained by methods well known in the art such as described in the article "An Efficient Linear Prediction Vocoder" by M. R. Sambur appearing in the Bell System Technical Journal Vol. 54, No. 10, pp. 1693-1723, December 1975. The resulting u.sub.m (n) functions may be linearly combined to define the desired speech event signals representing the articulatory features of individual sounds as ##EQU4## by selecting coefficients b.sub.km such that each .phi..sub.k (n) are most compact in time. In this way, the speech pattern is represented by a sequence of successive compact (minimum spreading) speech event feature signals .phi..sub.k (n) each of which can be efficiently coded. In order to obtain the shapes and locations of the speech event signals, a distance measure ##EQU5## is minimized to choose the optimum .phi.(n) and its location is obtained from a speech event timing signal ##EQU6## In terms of equations 5, 6, and 7, a speech event signal .phi..sub.k (n) with minimum spreading is centered at each negative zero crossing of v(L).
Subsequent to the generation of the v(L) signals in box 130, box 140 is entered and the speech event signals .phi..sub.k (n) are accurately determined using the process of box 130 with the speech event occurrence signals from the negative going zero crossings of v(L). Having generated the sequence of speech event representative signals, the combining coefficients a.sub.ik in equations (1) and (2) may be generated by minimizing the mean-squared error between each log area parameter signal y.sub.i (n) and the same log area parameter signal constructed from the individual sound features applicable to time frame n ##EQU7## where M is the total number of speech events within the range of index n over which the sum is performed. The partial derivatives of E with respect to the coefficients a.sub.ik are set equal to zero and the coefficients a.sub.ik that minimize the mean square error E are obtained from the set of simultaneous linear equations ##EQU8##
Detailed Description
FIG. 2 shows a speech coding arrangement that includes electroacoustic transducer 201, filter and sampler circuit 203, analog to digital converter 205, and speech sample store 210 which cooperate to convert a speech pattern into a stored sequence of digital codes representative of the pattern. Central processor 275 may comprise a microprocessor such as the Motorola type MC68000 controlled by permanently stored instructions in read only memories (ROM) 215, 220, 225, 230 and 235. Processor 275 is adapted to direct the operations of arithmetic processor 280, and stores 210, 240, 245, 250, 255 and 260 so that the digital codes from store 210 are compressed into a compact set of speech event feature signals. The speech event feature signals are then supplied to utilization device 285 via input output interface 265. The utilization device may be a digital communication facility or a storage arrangement for delayed transmission or a store associated with a speech synthesizer. The Motorola MC68000 integrated circuit is described in the publication MC68000 16 Bit Microprocessor User's Manual, second edition, Motorola, Inc., 1980 and arithmetic processor 280 may comprise the TRW type MPY-16HJ integrated circuit.
Referring to FIG. 2, a speech pattern is applied to electroacoustic transducer 201 and the electrical signal therefrom is supplied to low pass filter and sampler circuit 203 which is operative to limit the upper end of the signal bandwidth to 3.5 KHz and to sample the filtered signal at an 8 KHz rate. Analog to digital converter 205 converts the sampled signal from filter and sampler 203 into a sequence of digital codes, each representative of the magnitude of a signal sample. The resulting digital codes are sequentially stored in speech sample store 210.
Subsequent to the storage of the sampled-speech pattern codes in store 210, central processor 275 causes the instructions stored in log area parameter program store 215 to be transferred to the random access memory associated with the central processor. The flow chart of FIG. 3 illustrates the sequence of operations performed by the controller responsive to the instructions from store 215 and the instruction sequence is listed in FORTRAN language form in Appendix A.
Referring to FIG. 3, box 305 is initially entered and frame count index n is reset to 1. The speech samples of the current frame are then transferred from store 210 to arithmetic processor 280 via central processor 275 under as per box 310. The occurrence of an end of speech sample signal is checked in decision box 315. Until the detection of the end of speech pattern signal, control is passed to box 325 and an LPC analysis is performed for the frame in processors 275 and 280. The LPC parameter signals of the current frame are then converted to log area parameter signals y.sub.i (k) as per box 330 and the log area parameter signals are stored in log area parameter store 240 (box 335). The frame count is incremented by one in box 345 and the speech samples of the next frame are read (box 310). When the end of speech pattern signal occurs, control is passed to box 320 and a signal corresponding to the number of frames in the pattern is stored in processor 275.
Central processor 275 is operative after the log area parameter storing operation is completed to transfer the stored instructions of ROM 220 into its random access memory. The instruction codes from store 220 correspond to the operations illustrated in the flow chart of FIGS. 4 and 5 and are listed in FORTRAN Language form in Appendix B. These instruction codes are effective to generate a signal v(L) from which the occurrences of the speech events in the speech pattern may be detected and located.
Referring to FIG. 4, the frame count of the log area parameters is initially reset in processor 275 as per box 403 and the log area parameters y.sub.i (n) for an initial time interval n.sub.1 to n.sub.2 of the speech pattern are transferred from log area parameter store 240 to processor 275 (box 410). After determining whether the end of the speech pattern has been reached in decision box 415, box 420 is entered and the redundancy of the log area parameter signals is removed by factoring out the first four principal components u.sub.i (n), i=1, . . . ,4 as aforementioned. The principal component factoring operations of box 420 are shown in greater detail in FIG. 13. Referring to FIG. 13, a log area parameter correlation matrix Ax(i,j) is formed for i and j ranging from 1 to np (box 1301), an eigenvector rotation matrix is generated by singular value decomposition of matrix Ax(i,j) for i and j ranging from 1 to 16 (box 1305), and the principal component signals u.sub.i (n) are formed over the interval from n.sub.b to n.sub.e for i=1, 2, 3, 4 from the log area parameter signals and the results of the eigenvector rotation matrix (box 1310).
The log area parameters of the current time interval are then represented by ##EQU9## from which a set of signals ##EQU10## are to be obtained. The u.sub.i (n) signals over the interval may be combined through use of parameters b.sub.i, i=1, . . . , 4, in box 425 so that a set of signals ##EQU11## is produced such that .phi..sub.k is most compact over the range n.sub.1 to n.sub.2. This is accomplished through use of the .theta.(L) function of equation 6. The combining of the u.sub.i (n) signals of box 425 is shown in greater detail in FIG. 14 in which the principal component signals u.sub.i (n) from box 420 are weighted to form signals wu.sub.i (n)=u.sub.i (n)(n-63) in box 1401. A correlation matrix of the weighted principal component signals Bx(i,j) is generated for i and j ranging from 1 to 4 (box 1405) and an eigenvector rotation matrix is generated by singular value decomposition of correlation matrix Bx(i,j) for i and j ranging from 1 to 4 (box 1410). The principal component signals u.sub.k (n) are combined with the results of the eigenvector rotation matrix of box 1410 for n ranging from n.sub.b to n.sub.e in box 1415 to form the articulatory configuration signals which are the speech event signals of box 425 of FIG. 4. A signal v(L) representative of the speech event timing of the speech pattern is then formed in accordance with equation 7 in box 430 and the v(L) signal is stored in timing parameter store 245. Frame counter n is incremented by a constant value, e.g., 5, on the basis of how close adjacent speech event signals .phi..sub.k (n) are expected to occur (box 435) and box 410 is reentered to generate the .phi..sub.k (n) and v(L) signals for the next time interval of the speech pattern.
When the end of the speech pattern is detected in decision box 415, the frame count of the speech pattern is stored (box 440) and the generation of the speech event timing parameter signal for the speech pattern is completed. FIG. 11 illustrates the speech event timing parameter signal for the an utterance exemplary message. Each negative going zero crossing in FIG. 11 corresponds to the centroid of a speech event feature signal .phi..sub.k (n).
Referring to FIG. 5, box 501 is entered in which speech event index I is reset to zero and frame index n is again reset to one. After indices I and n are initialized, the successive frames of speech event timing parameter signal are read from store 245 (box 505) and zero crossings therein are detected in processor 275 as per box 510. Whenever a zero crossing is found, the speech event index I is incremented (box 515) and the speech event location frame is stored in speech event location store 250 (box 520). The frame index n is then incremented in box 525 and a check is made for the end of the speech pattern frames in box 530. Until the end of speech pattern frames signal is detected, box 505 is reentered from box 530 after each iteration to detect the subsequent speech event location frames of the pattern.
Upon detection of end of the speech pattern signal in box 530, central processor 275 addresses speech event feature signal generation program store 225 and causes its contents to be transferred to the processor. Central processor 275 and arithmetic processor 280 are thereby adapted to form a sequence of speech event feature signals .phi..sub.k (n) responsive to the log area parameter signals in store 240 and the speech event location signals in store 250. The speech event feature signal generation program instructions listed in FORTRAN Language in Appendix C hereto are illustrated in the flow chart of FIG. 6.
Initially, location index I is set to one as per box 601 and the locations of the speech events in store 250 are transferred to central processor 275 (box 605). As per box 610, the limit frames for a prescribed number of speech event locations, e.g., 5, are determined. The log area parameters for the speech pattern interval defined by the limit frames are read from store 240 and are placed in a section of the memory of central processor 275 (box 615). The redundancy in the log area parameters is removed by factoring out the number of principal components therein corresponding to the number of prescribed number of events (box 620). FIG. 15 shows the factoring out of the 5 principal component signals in greater detail. In FIG. 15, a log area parameter correlation matrix Ax(i,j) is formed from the log area parameter signals for i and j ranging from 1 to np (box 1501), and an eigenvector rotation matrix is generated by singular value decomposition of matrix Ax (box 1505), and the 5 principal component signals u(n,j) are produced from the log area parameter signals and the results of the eigenvector rotation matrix (box 1510). Immediately thereafter, the speech event feature signal .phi..sub.L (n) for the current location L is generated.
As aforementioned, the distance signal .theta.(L) of equation 6 is minimized to determine the optimum .phi.(n) signal and to find the time frame in which it is centered. The minimization of equation (6) to determine .phi..sub.L (n) is accomplished by forming the derivative ##EQU12## where ##EQU13## m is preset to the prescribed number of speech events, i.e., individual sounds, and r can be either 1, 2, . . . , or m. The derivative of equation (13) is set equal to zero to determine the minimum and ##EQU14## is obtained. From equation (14) ##EQU15## so that equation (15) can be changed to ##EQU16## .phi.(n) in equation (17) can be replaced by the right side of equation 14. Thus, ##EQU17## where ##EQU18## Rearranging equation (18) yields ##EQU19## Since u.sub.i (n) is the principal component of matrix Y, ##EQU20## equation (20) can be simplified to ##EQU21## Equation (22) can be expressed in matrix notation as
where
Equation 25 has exactly m solutions and the solution which minimizes .theta.(L) is the one for which .lambda. is minimum. The coefficients b.sub.1, b.sub.2, . . . , b.sub.m for which .lambda.=.theta.(L) attains its minimum value results in the optimum speech event feature signal .phi..sub.L (n). The optimum speech event feature signal corresponds to a controlled time spreading function having its centroid at the detected time of occurrence formed in accordance with the instructions set forth in Appendix C.
In FIG. 6, the speech event feature signal .phi..sub.L (n) is generated in box 625 and is stored in store 255. The forming of signal .phi.(n) of box 625 is shown in greater detail in FIG. 16 wherein the principal component signals u.sub.i (n) from box 620 are weighted to form signals wu.sub.i (n)=u.sub.i (n)(n-1) in box 1601. A correlation matrix of the weighted principal component signals Bx(i,j) is generated for i and j ranging from 1 to 5 (box 1605) and an eigenvector rotation matrix is generated by singular value decomposition of correlation matrix Bx(i,j) for i and j ranging from 1 to 5 (box 1610). The principal component signals u.sub.k (n) are combined with the results of the eigenvector rotation matrix of box 1610 for n ranging from n.sub.b to n.sub.e in box 1615 to form .phi.(n) signals of box 625 of FIG. 6. Until the end of the speech pattern is detected in decision box 635, the loop including boxes 605, 610, 615, 620, 625 and 630 is iterated so that the complete sequence of speech events for the speech pattern is formed.
FIG. 12 shows waveforms illustrating a speech pattern and the speech event feature signals generated therefrom in accordance with the invention. As aforementioned, the speech event feature signals correspond to the articulatory configurations of individual sounds in the speech pattern. Waveform 1201 corresponds to a portion of a speech pattern and waveforms 1205-1 through 1205-n correspond to the sequence of speech event feature signals .phi..sub.L (n) obtained from the speech pattern waveform 1201 in the circuit of FIG. 2. Each feature signal is representative of the characteristics of a speech event, i.e., individual sound, of the pattern of waveform 1201. The speech event feature signals may be combined with coefficients a.sub.ik of equation 1 to reform log area parameter signals that are representative of the acoustic features of the speech pattern.
Upon completion of the operations shown in FIG. 6, the sequence of speech event feature signals for the speech pattern is stored in store 255. Each speech event feature signal .phi..sub.I (n) is encoded and transferred to utilization device 285 as illustrated in the flow chart of FIG. 7. Central processor 275 is adapted to receive the speech event signal encoding program instruction set stored in ROM 235. These instruction codes are listed in Fortran language form in Appendix D.
Referring to FIG. 7, the speech event index I is reset to one as per box 701 and the speech event feature signal .phi..sub.I (n) is read from store 255. The sampling rate R.sub.I for the current speech event feature signal is selected in box 710 by one of the many methods well known in the art. In Appendix D, the instruction codes perform a Fourier analysis and generate a signal corresponding to the upper band limit of the feature signal from which a sampling rate signal R.sub.I is determined. In this way, the sampling rate of each speech event feature signal is limited to the bandwidth of that speech event signal. FIG. 17 illustrates the arrangement for determining the sampling rate signal R.sub.I of Appendix D. In FIG. 17, each signal .phi.(n) is analyzed to form a signal x.sub.p (j) corresponding to the real part of the fast Fourier transform of .phi.(n) and a signal y.sub.p (j) corresponding to the imaginary part of the fast Fourier transform of .phi.(n) (box 1701). Amplitude spectrum signals a.sub.p (j) are then generated and the frequency f at which the spectral power is 0.02 of the total spectrum power is determined. The sampling interval is then set to 1000/2f milliseconds and the sampling rate R.sub.I is made equal to 2f (box 1715). As is well known in the art, the sampling rate need only be sufficient to adequately represent the feature signal. Thus, a slowly changing feature signal may utilize a lower sampling rate than a rapidly changing feature signal and the sampling rate for each feature signal may be different.
Once a sampling rate signal has been determined for speech event feature signal .phi..sub.I (n), it is encoded at rate R.sub.I as per box 715. Any of the well-known encoding schemes can be used. For example, each sample may be converted into a PCM, ADPCM or .DELTA. modulated signal and concatenated with a signal indicative of the feature signal location in the speech pattern and a signal representative of the sampling rate R.sub.I. The coded speech event feature signal is then transferred to utilization device 285 via input output interface 265. Speech event index I is then incremented (box 720) and decision box 725 is entered to determine if the last speech event signal has been coded. The loop including boxes 705 through 725 is iterated until the last speech event signal has been encoded (I>I.sub.F) at which time the coding of the speech event feature signals is completed.
The speech event feature signals must be combined in accordance with equation 1 to form replicas of the log area feature signals therein. Accordingly, the combining coefficients for the speech pattern are generated and encoded as shown in the flow chart of FIG. 8. After the speech event feature signal encoding, central processor 275 is conditioned to read the contents of ROM 225. The instruction codes permanently stored in the ROM control the formation and encoding of the combining coefficients and are listed in Fortran language in Appendix E hereto.
The combining coefficients are produced for the entire speech pattern by matrix processing in central processor 275 and arithmetic processor 280. Referring to FIG. 8, the log area parameters of the speech pattern are transferred to processor 275 as per box 801. A speech event feature signal coefficient matrix G is generated (box 805) in accordance with ##EQU22## and a Y-.PHI. correlation matrix C is formed (box 810) in accordance with ##EQU23## The combining coefficient matrix is then produced as per box 815 according to the relationship
The elements of matrix A are the combining coefficients a.sub.ik of equation 1. These combining coefficients are encoded, as is well known in the art, in box 820 and the encoded coefficients are transferred to utilization device 285.
In accordance with the invention, the linear predictive parameters sampled at a rate corresponding to the most rapid change therein are converted into a sequence of speech event feature signals that are encoded at the much lower speech event occurrence rate and the speech pattern is further compressed to reduce transmission and storage requirements without adversely affecting intelligibility. Utilization device 285 may be a communication facility connected to one of the many speech synthesizer circuits using an LPC all pole filter known in the art.
The circuit of FIG. 2 is adapted to compress a spoken message into a sequence of coded speech event feature signals which are transmitted via utilization device 285 to a synthesizer. In the synthesizer, the speech event feature signals and the combining coefficients of the message are decoded and recombined to form the message log area parameter signals. These log area parameter signals are then utilized to produce a replica of the original message.
FIG. 9 depicts a block diagram of a speech synthesizer circuit illustrative of the invention and FIG. 10 shows a flow chart illustrating its operation. Store 915 of FIG. 9 is adapted to store the successive coded speech event feature signals and combining signals received from utilization device 285 of FIG. 2 via line 901 and interface circuit 904. Store 920 receives the sequence of excitation signals required for synthesis via line 903. The excitation signals may comprise a succession of pitch period and voiced/unvoiced signals generated responsive to the voice message by methods well known in the art or may comprise a sequence of multi-pulse excitation signals as described in U.S. patent application Ser. No. 326,371 filed Dec. 1, 1982. Microprocessor 910 is adapted to control the operation of the synthesizer and may be the aforementioned Motorola-type MC68000 integrated circuit. LPC feature signal store 925 is utilized to store the successive log area parameter signals of the spoken message which are formed from the speech event feature signals and combining signals of store 915. Formation of a replica of the spoken message is accomplished in LPC synthesizer 930 responsive to the LPC feature signals from store 925 and the excitation signals from store 920 under control of microprocessor 910.
The synthesizer operation is directed by microprocessor 910 under control of permanently stored instruction codes resident in a read only memory associated therewith. These instruction codes are listed in FORTRAN language form in Appendix F. The operation of the synthesizer is described in the flow chart of FIG. 10. Referring to FIG. 10, The coded speech event feature signals, the corresponding combining signals, and the excitation signals of the spoken message are received by interface 904 and are transferred to speech event feature signal and combining coefficient signals store 915 and to excitation signal store 920 as per box 1010. The log area parameter signal index I is then reset to one in processor 910 (box 1020) so that the reconstruction of the first log area feature signal y.sub.1 (n) is initiated.
The formation of the log area signal requires combining the speech event feature signals with the combining coefficients of index I in accordance with equation 1. Speech event feature signal location counter L is reset to one by processor 910 as per box 1025 and the current speech event feature signal samples are read from store 915 (box 1030). The signal sample sequence is filtered to smooth the speech event feature signal as per (box 1035) and the current log area parameter signal is partially formed in box 1040. Speech event location counter L is incremented to address the next speech event feature signal in store 915 (box 1045) and the occurrence of the last feature signal is tested in decision box 1050. Until the last speech event feature signal has been processed, the loop including boxes 1030 through 1050 is iterated so that the current log area parameter signal is generated and stored in LPC feature signal store 925 under control of processor 910.
Upon storage of a log area feature signal in store 925, box 1055 is entered from box 1050 and the log area index signal I is incremented (box 1055) to initiate the formation of the next log area parameter signal. The loop from box 1030 through box 1050 is reentered via decision box 1060. After the last log area parameter signal is stored, processor 910 is conditioned as per the instruction codes described in Appendix F to cause a replica of the spoken message to be formed in LPC synthesizer 930.
The synthesizer circuit of FIG. 9 may be readily modified to store the speech event feature signal sequences corresponding to a plurality of spoken messages and to selectively generate replicas of these messages by techniques well known in the art. For such an arrangement, the speech event feature signal generating circuit of FIG. 2 may receive a sequence of predetermined spoken messages and utilization device 285 may comprise a arrangement to permanently store the speech event feature signals and corresponding combining coefficients for the messages and to generate a read only memory containing said spoken message speech event and combining signals. The read only memory containing the coded speech event and combining signals can be inserted as store 915 in the synthesizer circuit of FIG. 9.
The invention has been described with reference to a particular embodiment illustrative thereof. It is to be understood, however, that various modifications and changes may be made by one skilled in the art without departing from the spirit and scope of the invention.