PROCESS FOR VARYING SPEECH SPEED AND DEVICE FOR IMPLEMENTING SAID PROCESS

Abstract: The process for slowing-down/speeding up a speech signal involves splitting at least a portion of the speech frequency bandwidth into N narrow sub-bands, processing each sub-band signal contents to derive therefrom magnitude data M(i, n) and phase data P(i,n), i= 1, ..,N being the subband index and n the time index. The M (i, n) sequence is converted into a sequence M′(n) by either duplicating one sample every K samples (K being an integer value derived from the desired slowing-down/speeding up ratio). The phase sequence P (i,n) is processed to derive therefrom an increment sequence D(i,n) = P(i,n) - P(i, n-1), which increment sequence is first converted into a D′(i, n) sequence by either dropping or duplicating one sample every K, samples, before being converted into P′(i,n) = P(i,n) + D′(i, n). Said P′(i,n), D′(i,n) sequences are converted back into sub-band signals contents, then combined together into the slowed-down/speeded-up speech signal.

Description: Field of Invention This invention deals with voice processing and more particularly with methods for speeding-up or slowing down speech messages. Background of Invention Sped speech, or variable speed speech usually denotes a means to either slow-down or speed-up recorded speech messages without over altering their quality. Such means are of great interest in voice processing systems, such as voice store and forward systems wherein voice signals are stored for being played-back later on at a varied speed. They are particularly useful to operators looking for a specific portion of speech within a recorded message, by enabling speeding-up the play back to locate rapidly the portion looked for, and then slowing down the process while listening said portion of message. It should be noted that while the speed varying might conventionally be achieved with mechanical means whenever speech is stored in its analog form on moving memories; but this would distort the signal (pitch) and in addition it would not apply to digital systems wherein speech is processed digitally. A sophisticated method for implementing sped speech has been proposed by M.R. Portnoff in IEEE Trans. on Acoust., Speech and Signal Processing, Vol. ASSP 24 No 3, pp. 243-248, June 1976 (Implementation of the digital phase vocoder using the Fast Fourier Transform). This method is based on adaptive measurement of the pitch period and insertion or deletion of speech samples on a pitch period basis. This technique requires the accurate estimation of the pitch period, which is both complex and expansive to achieve, more particularly in applications involving telephone signals wherein the low part of the frequency bandwidth (0-300 Hz) including the pitch has been removed. Another approach, this one independent of pitch, has been disclosed by Thomas F. Quatieri et al in IEEE Transactions on ASSP, Vol. 34, N° 6, Dec. 1986, pp. 1449-1463. The Quatieri method is based on a sinusoidal representation of speech which incorporates a model of speech production. The reconstruction requires functional estimates describing the time evolution of the vocal cord excitation and vocal tract contributions of the amplitude and phase of each sine-wave component. In other words, this method, while being free of any pitch calculation requirements is still requiring rather complex calculation depending also on vocal tract impulse response determination. Summary of Invention This invention proposes a more subtle and simple technique for performing speech speed variation without needing pitch or local tract measurement while providing a quality level equivalent to the one provided by methods based on pitch consideration. The proposed method presents a low complexity once associated with sub-band coding, but can be considered separately. It can also apply to Voice-Excited Predictive Coding (VEPC). An object of this invention is thus to provided a process for digitally speeding-up or slowing-down a speech message, said process involving splitting at least a portion of the considered speech signal bandwidth into several narrow subbands, converting each sub-band contents into phase/magnitude representation and then performing sample deletion/insertion over each sub-band phase and magnitude data, according to the desired speech rate variation, then recombining the sub-band contents into speech. Accordingly, a digital process for slowing down or speeding up a speech signal in accordance with the invention is as defined in claim 1. A device for processing a speech message according to the invention is as claimed in claim 5. The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular description of a preferred embodiment of the invention, as illustrated in the accompanying drawings. Brief Description of the Drawings Figure 1 is a block diagram of one embodiment of this invention. Figure 2-4 are circuits to be used in the device of figure 1. Figures 5-7 are block diagrams showing the application of this invention in a system wherein the original voice signal was coded using split-band techniques. This invention will be described for a digitally encoded voice signal assuming said encoding did not involve band splitting. It will then be applied to split band coders. Figure 1 shows a preferred embodiment of this invention. The speech signal s(n) representing the contents of a limited bandwidth of the voice signal to be processed, sampled at a given frequency (e.g. Nyquist) fs and digitally encoded is first split into N sub-bands by a bank of quadrature mirror filters (QMF) 10. THe QMF's are filters known in the voice processing art and presented by A. Croisier, D. Esteban and C. Galand, at the 1976 International Conference on Information Sciences and Systems, at Patras, in a presentation entitled "Perfect Channel splitting by use of interpolation/decimation/tree decomposition techniques". The device 10 provides N sub-band signals x(1,n) ; x(2,n) ; ... ; x(N,n). The sub-band resolution must be high enough to catch the harmonic structure of the speech signal in all cases. Since the human pitch frequency can be as low as 80 Hz, a bank of filters providing N=40 sub-bands would be theoretically necessary to cover the telephone bandwidth (300-3400 Hz). Each sub-band signal is down sampled to a rate fs/N to keep a constant overall sample rate throughout the system. The sub-band signals x(i,n), with i=1, 2, ... N are fed into complex QMF filters (CQMF)12, and processed to extract therefrom the analytical signal consisting in an inphase component u(i,n), and a quadrature component v(i,n), which are down sampled by two by dropping every other sample. The complex QMF filtering means will be described further by referring to figure 2. An implementation of phase/amplitude representation of sub-band split signal is disclosed into EP-A-070948. In each sub-band, the in-phase u(n) and quadrature v(n) components of the signal are then processed by a cartesian to polar coordinates converter circuit 14 to derive therefrom a digital magnitude signal M(i,n) and a digital phase signal P(i,n) according to: M(i,n) = (u²(i,n) + v²(i,n)) 1/2 (1) i=1,2,......,N denoting the considered sub-band. The magnitude signal M(i,n) and the phase signal P(i,n) of each sub-band (i=1,2,...,N) are then processed by up/down speeding device 16 to be described further. Device 16 provides speed varyed couples of output signals M'(i,n) and P'(i,n) which are then recombined back to cartesian coordinates in a device 18 providing a couple of in-phase and quadrature components according to: u'(i,n) = M'(i,n). cos P'(i,n) (3) v'(i,n) = M'(i,n). sin P'(i,n) (4) P'(i,n) being the phase information of the speed varied sub-band signal, to be determined as indicated further on (see figure 4). In each sub-band, the u' and v' components represent the original sub-band signal, at the new rate, and are then recombined by (inverse) complex quadrature mirror filters (CQMF) 20. The resulting sub-band signals x'(i,n) are processed by an inverse QMF bank of filters 22 to generate the speed varied speech signal s'(n). Represented in figure 2 is a circuit for performing the operations of direct and inverse complex QMF's i.e., devices 12 and 20 respectively. In other words, the circuit of figure 2 enables splitting a signal x(n) sampled at a frequency fs, into two signals u(n) and v(n) sampled at fs/2 and in quadrature phase relationship with each other; and then synthesizing back a speech signal x(n) from u(n) and v(n). The complex QMF (CQMF) was described by H.J. Nussbaumer and C. Galand at the EUSIPCO 83 conference, in a presentation "Parallel filter banks using complex quadrature mirror filters". Using the CQMF techniques, the two quadrature signals u(n) and v(n) are derived from the real sub-band signal x(n) by: where : SUM denotes a summing operation X(Z), U(Z), V(Z) are the Z=transform of x(n), u(n) and v(n), and H(Z) is the Z transform of a low-pass M-tap CQMF filter, with M even. Assuming the linear distortion due to the CQMF filter (ripple) be neglected, then the magnitude M(n) and phase P(n) of x(n) can be evaluated from u(n) and v(n) according to equations (1) and (2). In order to insure a perfect reconstruction, the filter H(Z) must have a 3dB attenuation at frequency fs/4N, and the magnitude H(w) of the Fourier transform must be such that: H² (w + ws 4 + H² (w - ws 4 ) = 1 (7) with ws = 2π.fs w = 2π.f In practice, the filter H(Z) must be sufficiently sharp to eliminate the cross-modulation terms appearing when computing (1) and (2). For further details on design rules for these filters, one may refer to the article, "Magnitude-Phase coding of base-band speech signals" presented by C. Galand, H. Nussbaumer and J. Perrini at the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), held in Tokyo in 1986. Assuming now that the input speech signal x(n) has a harmonic structure and the respective sub-bands are rather narrow, with no aliasing, then each subband would contain a single harmonic. If the input signal is stationary, then the magnitude M(n) of each sub-band signal is constant and its phase P(n) varies linearly. In fact, the speech signal is not stationary, but the above conditions are closely approximated. As a result, the magnitude M(n) of the signal in each sub-band is varying slowly (at the syllabic rate), and the phase P(n) of this same signal is varying almost linearly. Once converted into phase/magnitude data, the sub-band signals M(i, n) and P(i,n), are processed into an up/down device 16. Prior to describing this device, let's consider practical situations for up/down speeding ratios. In audio distribution systems, this ratio will be selected in the 0.5 to 2 range. In other words the speech can be played at least at half its original speed and at most at twice said original speed. Practically, this range is not covered continuously, but through a few discrete values in the interval (.5-2). The choices are not really critical and the ratios for speeding up and slowing down the speech have been selected to be according to ratios K/K-1 and K/K+1 respectively with the original speed being normalized to 1. Figure 3 shows a schematic representation of the up/down operations to be performed over the magnitude data M(n) within each sub-band.For speeding up the magnitude signals are simply decimated by the appropriate ratio. For example, assuming the desired speech speed should be doubled (K/K-1 = 2/1). Then, every second sample of the magnitude signal is just dropped. For a ratio of 1.5 , every third sample of the magnitude signal is suppressed. Generally speaking, for a K/K1 ratio, every Kth sample of the magnitude signal M(n) is dropped. The operation on each block of K input samples M(n), n=1, ...K, is described by the following relations. M'(n) = M(n) n=1,...,K-1 (8) where M(n), n=1,...,K-1 represents the output sequence of magnitude samples. For slowing-down process, a similar operation is performed. For a K/K+1 ratio, every Kth sample of the magnitude signal is duplicated. The operation on each block of K input samples M(n), n=1,..,K is described by the following relations. M'(n) = M(n) n=1,...,K-1 (9) M'(K+1) = M(K) Where M'(n), n=1,...,K+1 represents the output sequence of magnitude samples. For example, a 2 to 1 slowing down operation will result in a repetition of every M(n) sample to derive M'(n). Represented in figure 4 is the circuit used within the up/down speed device 16 for processing the phase signal P(n) within each sub-band. The speed change over the phase signal is implemented as follows. The phase samples P(n) are first pre-processed to derive a difference signal or phase increment sequence D(n) using a one sample delay cell (T) 40 and a subtractor (42), both fed with the P(n) sequence. D(n) = P(n) - P(n-1) (10) For a K/K-1 ratio speeding up, every Kth sample of the difference signal D(n) is dropped. The operation on each block of K input samples D(n), n=1,...,K, is made into device 44 according to: D'(n) = D(n) n=1,...,K-1 (11) Where D'(n), n=1,...,K-1 represents the difference output sequence. For a slowing down process, a similar operation is performed. Slowing down by a ratio K/K+1 is achieved through a duplication in device 46 of every Kth sample of the difference signal D(n). The operation on each block of K input samples D(n), n=1,...,K, is described by the following equations: D'(n) = D(n) n=1,...,K D'(K+1) = D(K) where D'(n), n=1,...,K+1 represents the output sequence of the difference samples once slowed down. In both, slowing-down and speeding-up instances the recovery of the phase samples from the difference samples is implemented, using a one sample period delay cell (T) and an adder (+), according to the following relation. P'(n) = P'(n-1) + D'(n). Also in both slowing-down and speeding-up instances the ratio might be different from K/K+1 or K/K-1 by deleting or inserting more than one sample per block of length K.The above described process enables implementing a sped speech system independently of any consideration about the source of the speech signal. It can thus be used in combination with any digital coder. But, obviously, it suits particularly well to sub-band coders (SBC) wherein harmonic analysis by QMF filers is already available. These coders have heen extensively described in the litterature, but one may refer to the following publications or patents herein incorporated by reference: "Voice excited predictive coder (VEPC), implementation on high-performance signal processor" by C. Galand, C. Couturier, G. Platel and R. Vermot-Gauchy, IBM Journal of Research and Development Volume 29, Number 2, March 1985 European Patent 0 002 998 (US counterpart 4216354) French Patent 77 13225 (US counterpart 4142071). In the sub-band coder as disclosed above the input signal bandwidth has been split into several sub-bands. Then the content of each sub-band has been coded with quantizers dynamically adjusted to the respective sub-band contents. In other words, the bits (or levels) quantizing resources for the overall original bandwidth are dynamically shared among the sub-bands. In addition, assuming the coding method involved using the Block Companded PCM techniques (BCPCM), then, the coding was performed on a blocks basis. In other words, the coder's quantizing parameters were adjusted for predetermined length consecutive blocks of samples. For each block of samples the coder provided and multiplexed in its output: sub-band quantized samples S(i,j), i=1, ...,N being the sub-band index, and j the time index within a block; one quantizer step Q; and, N terms n'(i) each representing the number of bits dynamically assigned for quantizing the considered sub-band contents. In practice, it should be noted that other types of data than Q and n'(i) might be used as long as these quantizer step data enable recovering the step to be assigned to the inverse quantizing operations to be performed to convert the quantized samples back into digitally encoded samples. Represented in figure 5 is a block diagram of the synthesizer to be used to recombine the S(i,j), Q and n'(i) data into the original voice signal s(n). Basically, the synthesizer input signal is first demultiplexed in 52 into its components before being sub-band decoded into an inverse quantizer 54. For that purpose, each SUB-BAND DECODER is fed with a block of quantized samples S(i,j) and controlled by Q and n'(i). Each decoder or inverse quantizer provides a set of digital coded samples x(i,j), which are fed into an inverse QMF filter providing a recombined speech signal s(n). This type of coder/decoder structure suits particularly well to this invention as shown in figure 6 representing a block diagram of the sped speech of this invention applied to the split band decoder represented in figure 5. The sub-bands decoded signals x(i,j), sampled at fs/N are directly fed into Complex. QMF filters 64 operating as the CQMF filters 12 of figure 1 do. In other words there is no need for the QMF filter bank of figure 1, since perfect band splitting has already been performed in the coding process and completed with the demultiplexing in 60 and sub-band decoding in 62. The remaining parts (64, 66, 68, 70, 72 and 74) are respectively made according to the circuits (12, 14, 16, 18, 20 and 22) of figure 1. Finally, the output signal s'(n) is a speeded-up or slowed/down speech signal as required. Basically, thus, applying this invention to the split band coded signal saves two banks of filters, i.e. QMF 10 and inverse QMF 22. The proposed sped speech technique may also be combined with the Voice Excited Predictive Coding (VEPC) process, since this type of coder involves using sub-band coding on the low frequency bandwidth (base band) of the voice signal. In addition, the bandwidth of each sub-band is narrow enough to ensure a proper operation of the sped speech device. Represented in figure 7 is a block diagram showing the insertion of the device of this invention within a VEPC synthesizer made according to device of figure 8 of the above cited European reference 0 002 998 or to device of figure 3 of the cited IBM Journal of Research and Development. The base-band sub-band signals S(i,j) provided by an input demultiplexer DMPX(71) are decoded into a set of signals x(i,n), which are fed into a speed-up/slow down device (70) made according to this invention (see figure 1). The speeded-up/slowed-down base-band signal x'(n) is then used to regenerate the high frequency bandwidth (HB) modulated by the decoded (DECODED1) high frequency energy (ENERG) in 72 as disclosed in the cited references. Then high band signal and low band signal delayed to compensate for the transit time within 72 are added together in 74. The adder output drives then a vocal tract filter 76 the coefficients of which are adjusted with the decoded COEF data, and the output of which is the reconstructed speech signal s'(n). The speech descriptors, i.e. high frequency energy (ENERG) and PARCOR coefficients (COEF) are up-dated on a block basis and linearly interpolated. The sped speech operation concerning these parameters are achieved into a device 78 by adjusting the linear interpolation step size to the new block length. While the invention has been particularly shown and described with reference to preferred embodiments applying two specific split band coding techniques, it will be understood by those skilled in the art that it may apply to other voice coding/decoding schemes.

Claims: A digital process for slowing down or speeding up a speech signal including : splitting at least a portion of the speech frequency bandwidth into N consecutive narrow sub bands ; processing each sub band contents to derive therefrom phase samples P(i,n) and magnitude samples M(i,n) representative of the sub band signal contents expressed in polar coordinates with i=1, ..., N being the sub band index and n being the time index ; slowing down or speeding up said sub band signal contents whereby modified sub band phase data P(i,n) and magnitude data M(i,n) are generated ; recombining each sub band modified phase/magnitude data into a sub band signal ; and recombining the sub band signals into a speech, whereby said recombining speech is a slowed down/speeded up version of the processed speech signal, characterized in that, for any i th sub-band, the following operations are performed : generating a phase increment sequence D(n) according to : D(n) = P(n) - P(n-1) either speeding up the speech signal at a rate K/K-1, K being a predetermined integer value, including, for each sub band : converting the M(n) sequence into a speeded up M'(n) by deleting every Kth M(n) ; and, converting the D(n) sequence into D'(n) by deleting every Kth sample from D(n) ; or slowing down the speech signal at a rate K/K+1, including for each sub band : converting the M(n) sequence into a slowed down sequence M'(n) by repeating every Kth M(n) sample ; converting the D(n) sequence into D'(n) by duplicating every Kth sample ; and in both alternatives generating a speeded up or slowed down phase sequence P'(n) with : P'(n) = P'(n-1) + D'(n). A process according to claim 1, wherein said sub-band processing to derive phase/magnitude samples includes : deriving from each sub-band signal contents an analytical signal consisting of an in-phase component and a quadrature component through use of complex quadrature mirror filtering techniques ; sampling-down said analytical signal by dropping every other sample from said in-phase and quadrature components ; and, converting said sampled down analytical signal into its phase/magnitude components. A process according to either one of claims 1 or 2, characterized in that said portion of speech frequency bandwidth is limited to the speech signal base-band. A process according to claim 1 in which said splitting into said sub-bands constitutes a first step of a split band technique, said splitting including quantization of the signal contents of each sub-band with dynamic adjustment of the signal quantizing resources, and which subsequently includes decoding and inverse quantizing of the quantized sub-band signal contents. A device for processing a speech message sampled at frequency fs and including : first bank of quadrature mirror filter (QMF) for splitting a limited bandwidth of said speech signal into N narrow sub-bands ; down sampling means, connected to said QMF bank for down sampling each sub band signal at a rate fs/N ; complex quadrature mirror filtering (CQMF) means connected to said first bank of QMFs for converting each sub band contents into an analytical signal represented by in-phase and quadrature components ; second down sampling means connected to said CQMF for down sampling said in-phase and quadrature components to fs/2N ; coordinate converting means connected to said second down sampling means for converting said analytical signal into a magnitude M(i,n) and a phase components P(i,n), with i=1, ..., N being the sub band index and n being the time index ; speech processing means connected to said coordinate converting means whereby M'(i,n) and P'(i,n) data are generated ; coordinate converting means connected to said up/down speed means for converting said M'(i,n) and P'(i,n) into rate converted analytical data u'(i,n), v'(i,n) ; means for up-sampling said u'(i,n), v'(i,n) to fs/N ; inverse complex QMF filters connected to said up sampling means ; up sampling means for up sampling said CQMF filters to a rate fs ; and, an inverse QMF filter bank connected to said up sampling means and providing a slowed down or speeded up speech signal s'(n) ; characterized in that said speech processing means slows down or speeds up said speech message, and includes for any i th sub-band : means for generating a phase increment sequence D(n) according to D(n) = P(n) - P(n-1) means for speeding up the speech signal at a rate K/K-1, K being a predetermined integer value, including, for each sub band : means for converting the M(n) sequence into a speeded up M'(n) by deleting every Kth M(n) sample ; and, means for converting the D(n) sequence into D'(n) by deleting every Kth sample from D(n) ; means for slowing down the speech signal at a rate K/K+1, including for each sub band : means for converting the M(n) sequence into a slowed down sequence M'(n) by repeating every Kth M(n) sample ; means for converting the D(n) sequence into D'(n) by duplicating every Kth sample ; means for generating a speeded up or slowed down phase sequence P'(n) with : P'(n) = P'(n-1) + D'(n)

Inventors: GALAND, CLAUDE
Applicants: INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1987
Main classification: G10L7
IPC codes: G10L21