METHOD AND DEVICE FOR RESYNTHESIZING A SPEECH SIGNAL

Abstract: A method and a device are described for short-time Fourier-converting a speech signal and for resynthesizing an output speech signal from the modulus of its short-time Fourier transform and from an initial phase. In particular, after the Fourier converting, the signal is subjected to a phase-specifying operation. Subsequently speech duration is affected by systematically maintaining, periodically repeating or periodically suppressing result intervals of the successive Fourier converting and phase affecting. Finally, a resynthesizing operation is executed. Speech pitch can likewise be affected through systematically excising or inserting signal intervals. Finally, the two strategies can be combined, so that ultimately, pitch and duration can be affected independently from each other.

Description: METHOD AND DEVICE FOR RESYNTHESIZING A SPEECH SIGNAL BACKGROUND TO THE INVENTION The invention relates to an iterative method for in each one of a sequence of iterating cycles, firstly short-time-Fourier-transforming a speech signal, and secondly resynthesizing the speech signal from a modulus (expression 2) derived from its short-time Fourier transform, and in an initial cycle additionally from an initial phase, until the sequence produces convergence. A successful iteration sequence produces a time-varying or constant signal that has a transform or spectrogram which is quadratically close to the specified spectrogram. The spectrogram itself is a good vehicle for speech processing operations. Such a method has been disclosed in D.W. Griffin and J.S. Lim, 'Signal Estimation from Modified short-time Fourier Transform', IEEE Transactions on ASSP, 21, No.2 (1984), 236-243. The known method uses a random phase for the resynthesizing; it has been found that the cost function generated in this manner may have many local minima. It is thus impossible to guarantee convergence to the global optimum, and the final result depends heavily on the initial phase actually used. SUMMARY TO THE INVENTION The present inventors have found quality to improve significantly if at least a part of the phase is also specified in a systematic manner. A particular usage of manipulating speech signals is for changing the duration of a particular interval of speech. Various applications thereof may include synchronizing speech to image, sizing the length of a particular speech item to an available time interval, upgrading or downgrading the amount of information per unit of time to match the optimum information capturing ability of a person, and others. In consequence, amongst other things, it is an object of the present invention to use the iteration method recited in the preamble for altering the duration of a particular speech item. Now, according to one of its aspects, the invention is characterized in that after said converting according to the short-time-Fourier-transform, speech duration is affected by systematically maintaining, periodically repeating or periodically suppressing result intervals the lengths of which correspond to a pitch period, of successive convertings according to the short-time-Fourier-transform, along said speech signal, and in that before the resynthesizing along the time axis, the speech signal is subjected to a phase-specifying operation. The method is in particular advantageous if the prime consideration is optimum quality, rather than low cost. A good result is achieved by specifying the phase in a sensible manner. Advantageously, second and subsequent iterating cycles reset said modulus to an initial value. This is easy to implement whilst realizing a high quality result. Advantageously, said phase-specifying is restricted to a periodically recurring selection pattern amongst intervals to be resynthesized. The non-specified intervals may get a random phase. This straightforward procedure has been found to give very good results. Advantageously, said phase specifying maintains actually generated values. This is a straightforward strategy for realizing a high quality result. Advantageously, in said initial cycle inserted periods are executed with both interpolated modulus and interpolated phase. The interpolation yields still further improvement. The invention also relates to a method wherein after said converting according to the short-time-Fourier-transform, a pitch of the speech is lowered by means of in each converted interval corresponding to a pitch period, uniformly inserting a dummy signal interval, and in said dummy interval finding modulus and phase through complex linear prediction, and in that before the resynthesizing, the speech signal is subjected to a phase- specifying operation, or after said converting according to the short-time-Fourier-transform, a pitch of the speech is raised by means of in each said converted interval corresponding to a pitch period, uniformly excising a dummy signal interval, and in that before the resynthesizing the speech signal is subjected to a phase-specifying operation. In this way, the pitch period is influenced to the same degree as the overall duration of the speech interval, and the difference with amending only the duration is that now the inserting or deleting is within each interval of the short-time-Fourier-converting separately. The two approaches can be combined in a single one to amending pitch period whilst keeping overall duration constant. This can be used inter alia for modelling speech prosody. In the latter case, affecting speech duration is either an intermediate step before the pitch is affected, or a terminal step after the pitch affecting has been attained. According to a still further strategy, both pitch and duration can be affected for a single speech processing application. By itself, duration manipulation of speech through systematic inserting and/or deleting of signal periods, in particular pitch periods, has been disclosed in US Patent 5,479,564 (PHN 13801), and in EP 527 529, corresponding US Application Serial No. 07/924,726 (PHN 13993), both to the same Assignee as the present Application and being herein incorporated by reference. These two references use unprocessed speech, and base the inserting and/or deleting solely on instantaneous pitch periods of the speech. This procedure causes a problem if the speech signal is unvoiced for longer or shorter intervals, which situation may cause loosing the notion of instantaneous pitch. The invention also relates to a device for implementing the method. Further advantageous aspects of the invention are recited in dependent claims. BRIEF DESCRIPTION OF THE DRAWING These and other aspects and advantages of the invention will be discussed more in detail with reference to the disclosure of preferred embodiments hereinafter, and in particular with reference to the appended Figures that show: Figure 1 , an earlier duration manipulation; Figure 2, a device for short-time Fourier analysis; Figure 3, a device for short-time Fourier synthesis; Figure 4 a flow chart of the method; Figure 5, an artificial vowel used as test signal; Figure 6, a reconstruction thereof according to earlier art; Figure 7, twice longer duration according to the invention; Figure 8, original version of Dutch word 'toch'; Figure 9, same with halved duration; Figure 10, same with twice longer duration; Figure 11 , same as Figure 5 with pitch reduced by 1/2 octave; Figure 12, same as Figure 1 1 , but simulated; Figure 13, spectrum of Figure 11 ; Figure 14, spectrum of Figure 12; Figure 15, same as Figure 8 with pitch reduced by 1/2 octave. Figure 16, same as Figure 8 with pitch raised by 1/2 octave. DISCUSSION OF RELEVANT SIGNAL PROCESSING CONSIDERATIONS Hereinafter, first a number of relevant signal processing considerations is presented. Next, preferred embodiments according to the invention are described. GENERAL CONSIDERATIONS Figure 1 illustrates an earlier duration manipulation procedure. The length of the windows is substantially proportional to a local actual pitch peπod length. A window is used that is bell-shaped, and scales linearly with the pitch, that itself may observe an appreciable variation in time. After windowing and weighting the audio signal with the window function, the resulting audio segments are systematically repeated, maintained, or suppressed according to a recurrent procedure. After executing this procedure, the audio segments are superposed for thereby realizing the ultimate output signal. As shown in Figure 1 , track 200 represents the ultimately intended audio duration. For simplicity, the window length is presumed to be constant (see the indents at the bottom of the Figure), which in practice is not a necessary restriction. Track 202 is a first audio representation, which is longer by one segment; this representation may be, for example, a recording of a particular person's voice. As shown, an arbitrary segment may be omitted for realizing the correct ultimate duration. Track 204 is too long by five segments; the correct duration is attained by recurrently maintaining six segments and suppressing the seventh one. Track 206 is too short by six segments; the correct duration is attained by recurrently maintaining three segments and repeating the last thereof. The above recurrent procedure needs not be fully periodic. Figure 2 illustrates a device for short-time Fourier conversion. The various boxes contain signal processing operations and can be mapped on standard processing hardware. The audio input signal arrives on input 20 in the form of a stream of samples. Elements such as 22 labelled D impart uniform delays. Elements such as 24 labelled 4S effect downsamphng of the audio signal. Block 26 labelled W a represents multiplication by a diagonal matπx that performs windowing Diagonal matrix elements are given by (W a ) Jin = w a (n), for n = 0,l...(N-l). The discrete Fourier transform is executed by box 28, which implements the Fourier matrix with elements F k| =e "2,,kl/N , for k,l=0,l,---(N-l), the superscπpt denoting complex conjugation. The above-illustrated short-time Fourier converting receives a single signal that has many frequency components, each with an associated phase. The output of the converting is a set of parallel signal streams (the moduli of which constitute the spectrogram) that each have their respective own frequency and associated phase. Now presumably, the overall signal streams are each periodic with the pitch period. Affecting of speech duration is now done by dividing the short-time Fourier transform result into intervals that each have a characteristic length equal to the local pitch peπod This local pitch can be detected in a standard manner that is not part of the present invention. Next, these intervals are recurrently maintained, suppressed or repeated. This may be done in similar way to the latter two United States Patent references, that however operate on the unconverted signal which is subjected to bell-shaped window functions. Now, if according to the invention an interval is suppressed, the edges of the remaining signal will be brought towards each other. If an interval is repeated, this means inserting of a one-pitch period interval. According to the Griffin reference, the frequency- dependent phase is specified in a random manner. In contradistinction, according to the present invention, a deleting operation maintains the existing values of the modulus. An inserting operation interpolates the modulus of the inserted part between the original signals before and behind the inserted part in a linear manner. Advantageously, the interpolating is linear between values that lie one pitch period before, and one pitch period behind the point of the insertion. The initial phases of the inserted part are found through interpolating between complex values lying in similar configuration as discussed for interpolating the modulus, and deriving the phase from the interpolation result. After the maintaining-deleting-inserting operation, the outcome thereof is subjected to an inverse operation of the short-time Fourier converting, and subsequently, subjected to a new short-time Fourier conversion. The result thereof is modified as will hereinafter be discussed by resetting the modulus to the values that were attained directly after the first short-time Fourier conversion. The phase values attained now are kept as they are, however. The iteration procedure as described is repeated until a sufficient degree of convergence has been reached. In similar manner, the pitch can be amended as follows. If the pitch is to be raised, of each pitch period after the short-time Fourier conversion a uniform strip is suppressed, preferably at the part where the signal has the lowest temporal variation. Next, the edges on both sides of the suppressed strip are brought towards each other. This gives instantaneous signal modulus in the same way as happened in affecting the duration. As a second step the original duration is reconstituted by adding the required number of new pitch periods. In principle, the two steps can be executed in reverse order. In similar manner the pitch may be raised, whilst amending simultaneously also the duration. In principle, the duration attained after the cutting may be kept as the final duration. Also here, each iteration has resetting of the modulus, whilst proceeding with the most recent values acquired for the phase values. If the pitch is to be lowered, each pitch period is cut at a uniform instant, preferably at the part where the signal has the lowest temporal variation. Next, the two sides of the cut are removed from each other by the necessary amount. The moduli and phases inside the strip are reproduced by complex linear prediction or extrapolation on the complex signal. As a second step the original duration is reconstituted by removing the required number of pitch periods. In principle, the two steps can be executed in reverse order. The comments given above with respect to the overall duration also applies here. Figure 3 shows a device for short-time Fourier synthesis. The discrete inverse Fourier transform is executed by box 28, that implements the Fourier matrix with elements F kl =e "2τik, N , for k,l=0,l,...(N-l). Block 36 labelled W s represents multiplication by a diagonal matrix that performs the windowing. The diagonal matrix elements are given by (W s ) nn =w s (N-l-n), for n=0,l...(N-l). Elements such as 38 labelled tS effect upsampling of the audio signal. Elements such as 40 labelled D impart again uniform delays. Elements such as 42 implement signal addition. The eventual serial output signal appears on output 44. Figure 4 represents a flow chart of the method according to the invention. Block 60 represents the setting up of the system. In block 62 the speech signal is received. Generally this is a finite signal with a length in the seconds' range, but this is not an express restriction. Also in this block the short-time Fourier conversion is performed. In block 64 it is detected whether the strategy requires pitch variation or not. If yes, the system in block 66 detects whether the pitch must be raised, or in the negative case, lowered. If the pitch must be raised, in block 68 of each pitch period a uniform strip is selected and suppressed. In block 70 the edges of the remaining signal parts are brought towards each other. If the pitch is to be lowered, in block 84 in each pitch period a uniform cut is selected, and the signal parts at both sides of these cuts are removed from each other by the appropriate distance. In block 86 the modulus and phase in the yet empty strip is produced by complex linear prediction as described supra. In block 72 the phase in the amended length is found by iteration as will be described in detail hereinafter, whilst resetting the modulus in each iteration cycle. In block 74, which can also be directly reached from block 64, the affecting factor to the duration is loaded. This may be determined by the pitch variation or independent therefrom. It is noted that pitch variation can be independent from duration variation. In block 76 the short-time Fourier converting operation is effected. In block 78 the systematic and recurrent maintaining, suppressing and repeating of pitch periods of the conversion result is effected. The modulus and phase are acquired by interpolation. In block 80 the iteration cycles are executed by inverse short-time Fourier transform, followed by forward short-time Fourier transform, and resetting modulus to its value of the preceding cycle. This proceeds until sufficient convergence has been attained. In block 82 a final inverse short-time Fourier transform is effected, and the result thereof outputted for evaluation or other usage. The operations of influencing pitch and influencing duration may be executed in reverse order. Also, if both are influenced, the two iterations discussed with respect to Figure 4 (blocks 72, 80) may be combined. FURTHER EXPLICIT DESCRIPTION 1. Modificating duration and pitch of speech signals is a basic tool for influencing speech prosody. An example is the changing of intonation or duration of prerecorded carrier sentences in automatic speech-based information systems. The short-time Fourier transform (STFT) obtains a time-frequency representation of the speech signal. Good results in modifying speech duration and pitch are possible at fairly large expansion (4: 1) and compression (3: 1) ratios. An iterative method for resynthesizing a signal from its short-time Fourier magnitude and from a random initial phase is then used to resynthesize the speech. An extension is to allow independent modification of excitation and spectral frequency scale. The present invention combines characteristics of bell-based methods and methods based on short-time Fourier transforms. Signals are resynthesized from their short- time Fourier magnitude and a partially specified phase. The starting point is a short-time Fourier representation of the signal and an estimate of the pitch period as a function of time. For modifying duration, portions corresponding to pitch periods in voiced speech, are removed from or inserted into this representation. The magnitude of an inserted part is estimated from the magnitude of the short-time Fourier transform in its neighbourhood. An initial phase is computed at the position of the deletion or insertion after which the method resynthesizes the speech signal. The pitch is also modified in the short-time Fourier representation. Then the pitch periods are shortened or extended and a number of pitch periods is inserted or removed, respectively. This keeps the time scale unchanged. Fourier analysis and synthesis are briefly reviewed in Section 2. An iterative method for synthesis from short-time Fourier magnitude, will be discussed in Section 3. Simulation results show the performance. Without further refinement, this method is not suitable for reproducing the original waveform. The resulting speech signal is intelligible but sounds noisy and rough. The invention improves reproduction significantly when the resynthesis is modified in such a way that part of the original phase can be specified. If the number of frequency points is large enough, the original signal can then be reproduced almost perfectly. If for every other pitch period the phase is not fully random, but is only allowed to vary randomly about its original value, good reproduction can also be obtained with shorter windows and fewer iterations. Shorter windows sometimes give better results. Section 5 presents a duration-modification method based on deletion or insertion of pitch periods from the signal's short-time Fourier representation. Section 6 presents a pitch-modification method that is based on extending or shortening pitch periods in the signal's short-time Fourier representation combined with deleting or adding pitch periods. 2. The discrete short-time Fourier transform {^(m,n)} m £zz n=0 /v _ ] of the time signal { (k)}kezz ι's defined as: X(m,n) m e ZZ, n = 0,...,N-l (2) Here X(m,n) is the discrete short-time Fourier transform at time mS/f s and at frequency f s n/N; S is the window shift and f s the sampling frequency; { w a (k)} k E. zz ' s a real-valued analysis window function, ZZ is the set of integers, and n is the frequency variable. It is easily recognized that {X(m,n)} n^Q yv - 1 ' s obtained via an inverse discrete Fourier transform on {w a (k)x( S-k)} k=0 N _^ . The sequence { \ χ ( nι ^) \ } m£ zz ,n =o , ... ,N -ι is called the spectrogram. The time signal can be resynthesized from its discrete short-time fourier transform in (2) by -,,mS-l)nll = x{m, )e N , I e ZZ (3) The analysis window must satisfy In fact, (3) in combination with (4) does not constitute a unique synthesis operator, but it can be shown that the {x(k)} k&zz obtained with (3) minimizes N-l t Il*t*n≥ —. Σ ™ a (k)x(mS-k)e N X(M,n) (5) This is important when {X(m,n)} m£2 z ,n =o N- \ λ modified in such a way that it is no longer the discrete short-time Fourier transform of any time signal {x(k)} k ^ zz . Figures 2 and 3 show implementations of a discrete short-time Fourier analysis and synthesis system, respectively, based on discrete Fourier transforms. The boxes D are sample-delay operators. The boxes I S are decimators. Their output sample rate is a factor S lower than their input sample rate. This is achieved by only putting out every Sth sample. The boxes t S increase the sample rate by a factor of S by adding S - 1 zeros after every sample. The boxes W are diagonal matrices that perform the windowing. Their elements are given by W nn = W β (O. " = 0...-Λ " 1 (6) The discrete Fourier transform and its inverse are performed by the boxes denoted F and F * , respectively. Here F is the Fourier matrix with elements and the superscript denotes complex conjugation. 3. The synthesis from short-time-Fourier-magnitude procedure adapted to the discrete short-time Fourier transform pair (2) and (3), is summarized as follows. Let { denote the desired spectrogram. The objective is to find a time signal {x(k)} k ^ 2 Z w ^ tn a discrete short-time Fourier transform {X(m,n)} mezz n=Q N _ { such that N-l ∑ ∑ I X(m,n) \ - I X d (m,n) (8) n«0 is minimum. The algorithm for obtaining {x(k)} k G ZZ is iterative. An initial discrete short- time Fourier transform is defined by 0,...,JV-1 (9) where φ{m,ή) is a random phase, uniformly distributed in [-τr,τ]. In each iteration step an estimate signal {x(k)} kEZZ is computed from N-l 2π -ι mS-k) χU(k) = ∑ Wa (mS-k) X ∑ X m (m,n)e k e ZZ (10) with 0.... -1, (H) and (, 1) (m,n) = — ∑ wβ)x (l - l mS-t)e N , m <E ZZ, n = 0,...JV-1 (12) The spectrogram approximation error ||X 1 )| - I * ,*) II 2 (13) is a monotonically non-increasing function of i. The iterations continue until the changes in {X {m,n)} m zz n =o N - l are below a threshold. For the continuous short-time Fourier transform this method converges. The proof transfers directly to the discrete case. However, dependent on the initial phase, the algorithm can converge to a stationary point which is not the global minimum. Starting from the spectrogram of a given speech signal the algorithm may converge to an output signal that differs significantly, in both a quadratic and a perceptual sense, from the original time signal, although the resulting spectrogram may be close to the initial one. In order to assess the quality of the outcome, it has been evaluated with a test signal discrete short-time Fourier transform. We define the relative mean-square error in the spectrogram after i iterations E by and the relative mean-square error in the time signal after i iterations E) by ( , . ETA*" - */*>!' The window that was used was the raised cosine given by In this matter (4) is satisfied if S ≤ NJ . The parameters that were varied are the window length N w , which was kept equal to the number of frequency points N, and the window shifts S. The window length determines the trade-off between time and frequency resolution in the spectogram. An increased window length means an increased frequency resolution and a decreased time resolution. Both N and S determine the computational complexity and the number of values generated by the short-time Fourier transform. Both E and E have been computed for a discrete-time signal representing an artificial vowel /a . The sample rate f s equals 16 kHz. The signal has a fundamental frequency f 0 = 100 Hz. This corresponds to a pitch period M p of 160 samples. A part of the waveform of this signal is shown in Figure 5. Figure 6 shows a typical output signal after 1000 iterations obtained with 1024 samples of the artificial /a/, with N w = N = 128, S = 1. The periodic structure of the signal seems to be maintained, but the waveform is not well approximated. Note the 180- degrees phase jumps that seem to change to signs of some of the pitch periods. The signal sounds like a noisy vowel /a/. This noisiness is also observed for resynthesized real speech utterances. The utterances are intelligible but of poor perceptual quality. 4. The resynthesis results improve if only a part of the initial phase is random and the other part is specified correctly. This aspect will be important when modification of duration and of pitch will be discussed in Sections 5 and 6, respectively. The deletion and insertion of an entire pitch period in the signal's short-time Fourier transform are basic operations in these modifications. At the location of a modification in the short-time Fourier transform the magnitude is interpolated from its neighbourhood and the phase is initially random. The iterative procedure with a partially random initial phase is as follows. Let I be the set of time indices for which the initial phase is random, then the initial estimate is given by with φ(m,n) as in (9). Iteration step (1 1) is replaced by The same artificial vowel /a , of Figure 3, with a pitch period M^ of 160 samples, has been used to compute E and E for the synthesis with partially specified phase. The initial estimate was given by (17), the phases corresponding to every other pitch period were random, whereas the others were copied from {X d (m,n)} m £ zz , n =o , ... ,N - \ - F° r window shifts S which are factors of M p this corresponds to an index set I given by I = {m \m = laMJS + b, a e ZZ = 0,...MJS - 1 } (19) This set corresponds to the case where every second pitch period is modified. The window was the raised-cosine window of (16). The parameters that were varied are the window length N w , which was kept equal to the number of frequency points N, and the window shift S. If we regard the analysis/synthesis system as a filter-bank W ffl -") ezz, B =o, ...,.v-ι can be written as X(m,ή) = ∑ h n (mS - k)x(k), meZ,n=0,...^-l (20) *•— with the analysis filters given by *. *L W = w a (ty N , «=0,...^-l, k=0,...,N-\ (21) Generally speaking, if S < N w = N, the are redundant in the time direction. Therefore, information on the phase in the unspecified parts is contained in the specified parts. The resynthesized signal can be written as N-l *(0 = ∑ ∑ gβ-mS)X(M,n),leZZ, (22) π=0 M' — with the synthesis filters given by This means that if N w = N > M , then the synthesis filters are better capable of copying correct phase information to the unspecified parts. The relatively large number of frequency points N = 256, combined with a window shift S = 1 and a number of iterations that is greater than 200 imply a long computation time. For practical applications that have to run close to real time this is a problem. It will therefore be investigated whether a good choice of the initial phase, combined with a smaller number of frequency points will lead to acceptable results. If the signal is periodic, a good estimate for the initial phase at the location of a modification can be obtained via interpolation. The prodedure can be effected by using the same 1024 samples of the test signal, but with N w = N = 32 and S = 1. The window is the raised cosine window of (16). The method is the one used for synthesis with partially random phase that has been described earlier in this section. The difference is that the initial estimate for the phase is now the original phase with a small random component added to it. This means that (17) has been replaced by with I given by (19) and the ψ(m,n) independent random variables, uniformly distributed in [-aτ.aτ]. The phase error is controlled by a. An a equal to zero means an initial estimate for the phase close to the original, an equal to one brings us back to the situation described earlier in this section. 5. In earlier duration-modification the basic operations are recurrent deleting and inserting pitch periods in the time signal. An inserted pitch period is usually a copy of and adjacent pitch period. The present method deletes or inserts pitch periods in the short-time Fourier transform. This is done in such a way that the short-time-Fourier-transform magnitude is specified everywhere, and a good approximate initial phase is chosen around the position of the deletion and the insertion. We have a partially specified initial phase with the unspecified parts being a good approximation of the original phase. This situation is similar to the one that led to the synthesis of Section 4, with (24) specifying the initial phase. The basic deletion and insertion operations will be described first. A reliable estimate of the pitch period must be available as a function of time. This estimate is denoted by {^ p ( m } m ezz - If confusion is not likely to arise we will use just M for the local pitch. In unvoiced intervals an estimate should be available too. In addition a voiced/unvoiced indication is required. The original short-time Fourier transform is denoted by {X 0rg ( m n ) > m € Z Z,n =Q , ... ,N - \ ■ Everywhere we have S = 1 , so that an index set I according to (19) can always be found. First we want to delete l en S tn or" p samples starting at time index m 0 . An initial estimate is choose: / = {m \m 0 - M < tn ≤ m 0 + M } , (26) and repeat iteration steps (10), (18) and (12). The index set I refers to the time indices of the {X (f) (m,n)} i ≥Q mezZ n ^ N l and {^ ω («,«)}, ≥ o Im€ ZZ >« -o , ... , -ι - The value chosen for I is rather arbitrary. A somewhat larger or smaller index set also satisfies. The iteration changes the time signal over the so-called the modified interval [m 0 - M p - N/2,m 0 + M p + N/2]. To insert a pitch period at time index m 0 in voiced speech, the initial estimate is given by X φ) (m,n) (27) X org M m<m 0 , n-0,...J^-l, V"-*^ m≥M 0 + M , n=0,...N-l For the initial phase we choose φ(m,n) = (28) ar S( X org M~M P ' n r + X org ( m > n > m 0 ≤m<m o + M p ,n=0,... V-l These initial estimates are good if {X org (m,n)} m ezz ,n =o , ... ,N -ι ' s quasi-periodic in m with period M . In unvoiced speech we choose as an initial estimate (d -γ) | org (^m 0 - ) I +γ \XXm 0 ,n) \)e ' φ(m ' n) , m Q ≤m<m 0 +Mp, with n = 0,... ,N-1 and m-m n +l γ = —X- (30) The initial phase < >(m,n) is random, as in (9). The linear interpolations in the initial estimate aim to realize a smooth spectrogram. In both the voiced and unvoiced case the index set I is given by / = {m \m 0 ≤m < m 0 +M p ) . (31) The iteration steps (10), (18) and (12) are repeated. The modified interval is given by [m 0 - n/2,m 0 +M p +N/2]. Neither insertion nor deletion of pitch periods requires an estimate of the excitation moment. To avoid audible effects, insertion or deletion points are placed at positions within a pitch period where the spectral change in the time direction is small. A spectral change measure that can be used to determine such a point is N-l The position within a pitch period with the minimum spectral change D tt {m) defined by (32) was taken for the point of a deletion or insertion. The pitch estimation also provides a voiced/unvoiced indication. The results can only be good if the distance between two insertion or deletion points is larger than N. This means that the duration modification was performed in steps, in each of which the modified intervals did not overlap. Figure 7 shows 1000 samples of the artificial vowel /a/ of Figure 5 that has been extended by a factor of two. The extension was obtained by inserting one pitch period after every original pitch period. The window was a raised cosine, given by (16), with N w = 32. The number of frequency points was given by N = 128. The number of iterations was 5. From the figure it cannot be seen which pitch periods have been inserted. Informal listening does not reveal audible differences between the original vowel and the extended one. Figures 8, 9 and 10 show an original, a 50% -shortened and a 100% -extended version of the Dutch word "toch", /t Dχl, pronounced by a male voice, respectively. The sample rate was 10 kHz, instead of 16 kHz for the artificial vowel. The window was a raised cosine, given by (16), with N w = 64. The number of frequency points was given by N = 152. The number of iterations was 30. The quality was judged in informal listening tests only. In these tests the time scale was varied between a reduction to 20% and an extension to 300 % of the original length, for various male and female voices. Between a reduction to 50% and an extension to 200% , the quality was good. Outside this range some deteriorations became audible. Especially when the time scale is modified more than 50% in either direction, other methods produce a certain roughness in vowels and some deteriorations in unvoiced sounds and voiced fricatives. These were not perceived with the present duration-modification method. The results seem to be somewhat dependent on the choice of the number of frequency points N and the window length N w chosen. The number of frequency points, N = 512, can be reduced to 128 at the expense of some slight deteriorations in unvoiced fricatives. The performance for female voices improves if we take N w = 32, rather than N w = 64. The method is robust for interferences by white noise or interfering speech. 6. Pitch modification in the short-time Fourier representation is a two-step procedure. One step consists of shortening or extending pitch periods. The inserting or deleting of entire pitch periods, has been discussed in Section 5. When the pitch is decreased by a fraction, the first step is to reduce the number of pitch periods by this fraction and the second to increase the length of each pitch period by the same fraction. When the pitch is increased by a fraction, the first step is to decrease the length of each pitch peirod by this fraction and the second is to increase the number of pitch periods by the same fraction. A reliable estimate of the pitch period as a function of time {M p (m)} m ZZ must be available. The desired pitch period is {M'(m)} nιe zz - The pitch-estimation method has a value available in unvoiced intervals too. A voiced/unvoiced indication is also required. The original short-time Fourier transform is denoted by {X (m,n)} m ezz π=0 yy_, . We have S = 1 everywhere. When increasing the pitch we denote the number of time indices by which the pitch periods in {X org (m,n)} m EZZ n =0 N _ { will be reduced by Δ m) = M p (tn) - M p (m), meZZ. (33) When decreasing the pitch we denote the number of time indices by which the pitch period in {X σrjJ (ro,n)} OT e2Z,«-o,...,Λ wiI1 be extended by Δ;(W) = M p '(m) - M p (m), meZZ. (34) Finding the points in the short-time Fourier transform at which the pitch period can be reduced or extended is a problem, particulary for voiced speech. For unvoiced speech the points of insertion or deletion are not critical. For an insertion, finding the values with which the short-time Fourier transform must be extended is an additional problem. We will use a source-filter model for speech to solve these problems. Speech is considered to be the output of a time-varying all-pole filter, that models the vocal tract, followed by a differentiator modelling the radiation at the lips. This system is excited by a quasi-periodic sequence of glottal pulses in the case of voiced speech. In the open phase of a glottal cycle air flows through the glottis. In the closed phase the speech signal is solely determined by the properties of the vocal tract. This suggests that the best points for removing a portion from or inserting a portion into the pitch period, are at the end of the closed phase, just before the next glottal pulse starts to influence the speech signal. We will determine these points in the short-time Fourier transform. Therefore, the pitch must be resolved in the time direction, which means that the window length N w must be shorter than a pitch period. Pitch should be unresolved in frequency direction, otherwise the resynthesized signal will retain the old pitch. We will assume the window to have a length shorter than the closed phase of the glottal cycle. Then, during the closed phase, the spectrogram will not contain sharp transitions. This means that D t ,{m), defined in (32), will be small. We will measure a total D tf (m) over an interval to determine the points for removing or inserting portions. It is a safe approach to modify the short-time Fourier transform in those regions were changes in the temporal direction are small. For the ease of notation, we only want to shorten or extend one pitch period at time index m 0 . If we shorten a pitch period we choose m 0 as the value of m that minimizes over a pitch period. This implies that m 0 is at the start of a portion of the short-time Fourier transform with little variation in temporal direction. We use as initial estimate choose / = ZZ, (37) and repeat iteration step ( 10, (18) and (12). The index set I refers to the time indices of {X { ' ) (m,n)}, ≥0 .mezz,»=o,...,Λ nd {I ,n)}, ≥ o mezz , Λ= o,...,iv-ι - We allow the phase to change everywhere during the iterations. This is the easiest solution, since here we cannot use an I such as (26). No distinction is made between voiced and unvoiced speech. If we extend a pitch period we choose m 0 as the value of m that minimizes m-\ over a pitch period. Here β is a fixed estimate of the fraction of the glottal cycle that is closed We have taken β = 1/3. This implies that m 0 is at the end of a portion of the short- time Fourier transform with little variation in temporal direction. In this case there is the additional problem of computing the initial estimate [X(m,ή)} A ., . , „ w , . (30) We will make a distinction between voiced and unvoiced speech. Ideally, for voiced speech during relaxation the speech sample x(k) is given by x(k) = ∑ a cik-t) , (40) /=! with p being the order of the all-pole filter and the {ø / } / ^. „ the prediction coefficients. For real-valued signals we have a j e IR, 1 = 1 , ... , p. We will assume a similar predictive model for the short-time Fourier transform during relaxation: X(m,n) = (41) with ≥ jj e C, n =0,...,N-l , 1 = 1 ,...,p n , and will use (41) to extend {X(m,n)} n ^0 -i for > m 0 . The choice p n =4, n=0,... ,N-l yields acceptable results. The complex prediction coefficients are estimated from For voiced speech we define as an initial estimate (0) ( ,n) = (43) ∑f i i a^ m (m-l,n), m 0 ≤m<m 0 +Δ p (m o ),«=0,...,W-l, X org ( m ~ ( m <)> n' )' m≥m 0 + Δ p (m 0 ),n=0,.χ/-l. In the unvoiced case the initial estimate is given by (29) and (30), with M^ being replaced by Δ p (m 0 ) . The index set I is given by / = [m \ 0 ≤ m < m 0 + Δ^m,,) } (44) Iteration steps (10), (18) and (12) are repeated. The parameters of the duration modification method were the same as those in Section 5. The parameters for the pitch-modification method were as follows. The window was a raised cosine, given by (16), with N w = 32. The number of frequency points was given by N = 128. The number of iterations was 30. Figure 1 1 shows 1000 samples of the artificial vowel /a/ of Figure 5 with the pitch reduced by half an octave, which corresponds to a fraction of 0.71. A low-pitched artificial vowel /a/, generated by feeding an adapted glottal pulse sequence through the vocal tract filter that was used to produce the artificial vowel /a/ of Figure 5, is shown in Figure 12. There are only minor audible differences between the two signals. The spectral envelope, characterizing the perceived vowel, is not affected by the pitch modification. This is illustrated in Figure 13 and 14, showing spectral estimates for the original vowel /a/, and its pitch-reduced version, respectively. Figures 15 and 16 show versions of the Dutch word "toch", / χ/, with pitches that have been reduced by half an octave and increased by half an octave, respectively. The quality was judged by informal listening. Pitch modifications between a decrease by an octave and an increase by half an octave were considered to yield good results. Outside this range deteriorations became audible. The quality for female voices improves somewhat if we choose N w = 16, rather than N w = 32. We become less dependent dependent on the point of the insertion, which has to be at the end of the relaxation period, if we use an interpolation method, instead of an extrapolation method in (43).

Claims: CLAIMS: 1. An iterative method for in each one of a sequence of iterating cycles, firstly short-time-Fourier-transforming a speech signal, and secondly resynthesizing the speech signal from a modulus (expression 2) derived from its short-time Fourier transform, and in an initial cycle moreover from an initial phase, until the sequence produces convergence, characterized in that after said converting according to the short-time- Fourier-transform, speech duration is affected by systematically maintaining, periodically repeating or periodically suppressing result intervals the lengths of which correspond to a pitch period, of successive convertings according to the short-time-Fourier-transform along said speech signal, and in that before the resynthesizing along the time axis, the speech signal is subjected to a phase-specifying operation. 2. A method as claimed in Claim 1 , wherein second and subsequent iterating cycles reset said modulus to an initial value. 3. A method as claimed in Claims 1 or 2, wherein said phase-specifying operation is restricted to a periodically recurring selection pattern amongst intervals to be resynthesized. 4. A method as claimed in Claims 1 , 2 or 3, wherein said phase specifying maintains actually generated values. 5. A method as claimed in any of Claims 1 to 4, wherein in said initial cycle inserted periods are executed with both interpolated modulus and interpolated phase. 6. An iterative method for in each one of a sequence of iterating cycles, firstly short-time-Fourier-transforming a speech signal, and secondly resynthesizing the speech signal from a modulus (expression 2) derived from its short-time Fourier transform, and in an initial cycle moreover from an initial phase, until the sequence produces convergence, characterized in that after said converting according to the short-time- Fourier- transform, a pitch of the speech is lowered by means of in each converted interval corresponding to a pitch period uniformly inserting a dummy signal interval, and in said dummy interval finding modulus and phase through complex linear prediction, and in that before the resynthesizing the speech signal is subjected to a phase-specifying operation. 7. An iterative method for in each one of a sequence of iterating cycles, firstly short-time-Fourier-transforming a speech signal, and secondly resynthesizing the speech signal from a modulus (expression 2) derived from its short-time Fourier transform, and in an initial cycle moreover from an initial phase, until the sequence produces convergence, characterized in that after said converting according to the short-time- Fourier-transform, a pitch of the speech is raised by means of in each said converted interval corresponding to a pitch period, uniformly excising a dummy signal interval, and in that before the resynthesizing the speech signal is subjected to a phase-specifying operation. 8. A method as claimed in Claims 7 or 8, wherein after said converting, speech duration is affected by systematically maintaining, periodically repeating or periodically suppressing result intervals of successive convertings along said speech signal, and before the resynthesizing the speech signal is subjected to a phase-specifying operation. 9. A device having cyclically coupled converting means and reconverting means for in each one of a sequence of iterating cycles short-time Fourier-converting and for resynthesizing a speech signal from the modulus of its short-time Fourier transform and moreover in an initial cycle from an initial phase, until the sequence of iterating cycles produces convergence, characterized in that an output of the short-time Fourier converting device is connected to selector means for subsequently affecting speech duration or speech pitch by systematically maintaining, periodically repeating or periodically suppressing pitch periods or pitch period parts in a result of the converting, and in that an output of the short-time converting means is connected to a phase-specifying device. 10. A method as claimed in any of Claims 1 to 8, wherein said short-time Fourier transforming is based on time intervals that have a length that is substantially equal to an actual pitch period of said speech.

Inventors: HE HAIYAN, VELDHUIS RAYMOND NICOLAAS JOHA, HE, HAIYAN, VELDHUIS, RAYMOND, NICOLAAS, JOHAN
Applicants: PHILIPS ELECTRONICS NV, PHILIPS NORDEN AB, PHILIPS ELECTRONICS N.V.
Application year: 1996
Main classification: G10L3
IPC codes: G10L11, G10L19, G10L21