All the content disclosed in Japanese Patent Application No. H11-285125 (filed on Oct. 6, 1999), including specification, claims, drawings and abstract and summary is incorporated herein by reference in its entirety.
1. Field of the Invention
This invention relates to speech processing like speech synthesis and, more particularly, to pitch conversion process.
2. Description of the Related Art
Concatenative Synthesis is a known speech synthesis. In this method, speech sound is synthesized by means of concatenating the prepared sound waveforms. However, there is a problem that natural sounding speech can not be obtained simply from the concatenation of the prepared waveforms because of the incapability of intonation control.
In order to solve this problem, PSOLA (Pitch Synchronous Overlap Add) method has been suggested. In this method, speech sound with the different pitch length can be obtained by filtering two pitch-unit speech waveforms through a Hanning window and making them slightly overlapped each other. (E. Moulines et. al, “Pitch-Synchronous waveform processing techniques for text-to-speech synthesis using diphones” Speech Communication, 1990.9).
Referring to
In the PSOLA method, at first, a waveform is clipped out with its peak point of M as a center using a Hanning window as shown in
However, the PSOLA method still has following problems.
Firstly, as shown in
Secondly, another problem is that echoes are produced with the contiguous pitch peaks as shown in
As shown in
It is an object of the present invention to provide a pitch conversion process technology capable of solving the problems described above and of minimizing the distortion of the naturalness of speech sound.
In order to achieve this object, the present invention processes waveform by converting pitch in the segment of γ just before the next minus peak, which is least affected by the minus peak associated with the glottal closure, on the basis of the described characteristics of speech waveforms. As such, waveform processing can be performed by keeping the complete contour of waveform at around the peak and thereby reducing the effects of pitch conversion.
Moreover, according to the present invention, the sampled speech waveforms to find out which part of pitch is consistent.
In accordance with characteristics of the present invention, there is provided a speech synthesis device comprising:
Also, in accordance with characteristics of the present invention, there is provided a computer-readable storing medium storing a program for executing pitch conversion using a computer, the program comprising the step of:
Further, in accordance with characteristics of the present invention, there is provided a speech synthesis device comprising:
In accordance with characteristics of the present invention, there is provided a computer-readable storing medium storing a program for executing speech synthesis by means of a computer using a speech database, the program comprising the steps of:
Also, in accordance with characteristics of the present invention, there is provided a computer-readable storing medium for storing several sample speech waveform data with various pitch lengths for each speech unit, wherein these several sample speech waveform data are prepared by modifying a contour of a waveform in a segment in which the waveform is converging on a minus peak during a periodical unit of speech waveform data.
Further, in accordance with characteristics of the present invention, there is provided a computer-readable storing medium for storing a speech database, the storing medium comprising:
In accordance with characteristics of the present invention, there is provided a method of pitch conversion for speech waveform, the method comprising the step of:
Also, in accordance with characteristics of the present invention, there is provided a speech processing device for processing speech waveform in accordance with entered commands, wherein at least any one of amplitude, fundamental frequency or duration of speech is modified using corresponding icons or switches of the up arrow, the down arrow, the right arrow or the left arrow.
Further, in accordance with characteristics of the present invention, there is provided a computer-readable storing medium storing a program for implementing a speech processing device for processing speech waveform in accordance with entered commands, the program comprising the step of:
Also, in accordance with characteristics of the present invention, there is provided a speech processing device for processing speech waveform in accordance with entered commands, wherein the up arrow at least to raise fundamental frequency and the down arrow at least to lower fundamental frequency are assigned.
Further, in accordance with characteristics of the present invention, there is provided a computer-readable storing medium storing a program for implementing a speech processing device for processing speech waveform in accordance with entered commands, the program comprising the step of:
In this invention, the term “speech unit” refers to a unit in which speech waveforms are handled, in speech synthesis or speech analysis.
The term “speech database” refers to a database in which at least speech waveforms and corresponding phonetic information are stored.
The term “speech waveform composing means” refers to means for generating a speech waveform associated with a given phonetic information according to rules or sample waveforms. In an embodiment of the present invention, steps S4 to S12 in
The term “periodical unit” refers to a unit of speech waveform that repeats periodically. In an embodiment of the present invention, pitch is corresponding to a periodical unit.
The term “arrow” refers to a sign indicating or suggesting a direction including, for example, a triangle as a direction indicator.
The term “storing medium on which programs or data are stored” refers to a storing medium including, for example, a ROM, a RAM, a flexible disk, a CD-ROM, a memory card or a hard disk on which programs or data are stored. It also includes a communication medium like a telephone line and other communication networks. In other words, this term includes not only the storing medium, like a hard disk which stores programs executable directly upon connection with CPU, but also the storing medium like a CD-ROM etc., which stores programs executable after being installed in a hard disk.
Further, the term “programs (or data)” here, includes not only directly executable programs, but also source programs, compressed programs (or data), and encrypted programs (or data).
Other objects and features of the present invention will be more apparent to those skilled in the art on consideration of the accompanying drawings and following specification, in which are disclosed several exemplary embodiments of the present invention. It should be understood that variations, modifications and elimination of parts may be made therein as fall within the scope of the appended claims without departing from the spirit of the invention.
(1) Overall Structure
A provided character string is morphologically analyzed with the character string analyzing means 2, referring to a dictionary for morphological analysis 20. The character string is divided into speech units. Further, character string analyzing means 2, by referring to the environment of the preceding and succeeding sequences of sounds, determines the voiced and unvoiced sounds classification, duration, the contour of amplitude, and the contour of fundamental frequency for each speech unit by referring to the dictionary for morphological analysis 20.
Upon receiving the result of morphological analysis from character string analyzing means 2, speech unit obtaining means 4 obtains sample speech waveforms in each speech unit from a speech database 18. The duration converting means 6 converts the duration of the obtained sample speech waveforms in accordance with the duration provided by the character string analyzing means 2. And amplitude converting means 8 converts the amplitude of the obtained sample speech waveforms in accordance with the amplitude provided by the character string analyzing means 2. The pitch converting means 10, in accordance with the contour of fundamental frequency provided by the character string analyzing means 2, converts the pitch of the obtained sample speech waveforms. The sample speech waveforms in each speech unit, as desirably processed as described above, are concatenated by means of the waveform concatenating means 22. Thus, a speech waveform data is produced.
Analog converting means 14 converts this speech waveform data into analog sound signals and produces output.
(2) Hardware Configuration
In this embodiment, the speech synthesis program 46 performs its functions in combination with the operating system (OS) 52. However, the speech synthesis program 46 may perform a part of or all of its functions by itself.
(3) Speech Synthesis Processing
Next, the CPU 30 performs morphological analysis of the character string using reference to the word dictionary in the dictionary for morphological analysis 50 (step 2). The contents of this word dictionary are shown in
Furthermore, accent value of syllables constituting a word is obtained for each word (step S3). Consequently, syllables of “ko” “N” “ni” “chi” “wa” together with their accent value as shown in
All syllables and their duration shown in
As shown in
Next, the CPU 30 generates the contour of fundamental frequency Fo as shown in
Next, the contours of voiced sound source amplitude Av and unvoiced sound source amplitude Af are determined (step S7 of
Then, the CPU 30 obtains the sample speech waveforms for each syllable from the speech database 48. As shown in
Because a massive number of sample waveforms are stored in the speech database, there is more than one sample waveform corresponding to one syllable, for example “ko”. Therefore, the CPU 30 searches and obtains the optimal sample waveform for each syllable with reference to the relation with the preceding and succeeding syllable sequences (step S8 in
Next, the CPU 30 modifies the sample speech waveform for each syllable so that the duration of the sample speech waveform obtained from the speech database 48 may conform to the duration determined in step S4 of
Then, the CPU 30 modifies the sample speech waveform obtained from the speech database 48 for each syllable so that its contour of amplitude may conform to the contour of amplitude determined in steps S7 of
Furthermore, the CPU 30 modifies the sample speech waveform obtained from the speech database 48 for each syllable so that its contour of fundamental frequency may conform to the contour of fundamental frequency determined in step S6 of
First, the CPU 30 obtains the fundamental frequency of the first pitch-unit of the sample speech waveform for the target syllable, from the contour of fundamental frequency data in the speech database 48. Next, the CPU 30 obtains the corresponding fundamental frequency using reference to the contour of fundamental frequency determined in step S6 of
If, in step S22, the CPU 30 determines that the fundamental frequencies do not much, then in step S23 of FIG. 7., the CPU 30 determined whether the pitch of sample sound waveform shall be lengthened (lowering fundamental frequency) or shall be shortened (raising fundamental frequency). Resulting from this judgement, pitch is lengthened (step S25) or shortened (step S24).
The CPU 30 finds out the last zero crossing point right before the minus peak in the objective pitch. The zero crossing point is easily determined because it is stored on the speech database as shown in
To lengthen pitch, a zero value segment is inserted at this zero crossing point as shown in
On the contrary, to shorten pitch, in case that there is an almost zero value segment around the zero crossing point, the segment is to be deleted as needed. In case that there is not a zero value segment at around the zero crossing point, the following operation as shown in
Alternatively, the above window processing may be performed by setting the window magnitude of 0 at around the location of zero crossing. The farther processing point is from zero crossing, the larger magnitude up to 1 is applied. Thus, at the point far from zero crossing point, the window magnitude of 1 is applied so that the waveform may be kept as it is, and the window magnitude of 0 is applied at the zero crossing so that the waveform may be substantially deleted. Accordingly, pitch can be shortened to minimize the distortion of naturalness by means of applying a bigger processing value to the segment around zero crossing, which is considered to be less influenced due to smaller amplitude.
After processing the pitch, the CPU 30 determines whether all pitch-unit waveforms have been likewise processed (step S26 of
After completing the pitch conversion processing as described above, the process goes to the step S12 in
(4) Other Embodiment of Speech Database
In the embodiment described above, the speech database (speech corpus) stores a large number of sample waveforms, assuming each syllable to be a speech unit. However, the present invention may also use a database that stores sample waveforms under the assumption that a phoneme is a speech unit. Or, in case that there is a contiguous sequence of more than one syllable without clear distinction, these syllables, in addition to one syllable, may be treated as one cluster of syllables (Extended CV). Its definition is described in
The speech corpus is used in the embodiment described above. However, the speech database that stores one speech waveform data each per one syllable (one phoneme or one Extended CV) may be used. Furthermore, the speech database storing one pitch-unit waveform data each per one syllable (one phoneme or one Extended CV) may also be used.
Moreover, in the embodiment as described above, a zero-crossing mark is stored on the speech database. However, a zero-crossing mark may be searched for at every time of processing in accordance with a pitch mark and so on, instead of being pre-stored on the speech database.
(5) Other Embodiment of Pitch Conversion Processing
In the embodiment described above, pitch change is performed by means of inserting or deleting a substantial zero value segment at zero crossing point. However, pitch may be changed by means of time compression or time extension of the segment where the waveform is declining and converging on the minus peak (see γ in
By the way, instead of carrying out the processing of time compression or time extension of the segment of γ evenly, the intensive time processing may be performed at around zero crossing, and the farther from the zero crossing the less intensive time processing may be performed.
2. The Second Embodiment of this Invention
A provided character string is morphologically analyzed with the character string analyzing means 2, referring to a dictionary for morphological analysis 20. The character string is divided into speech units. In addition, with referring to the environment of the preceding and succeeding sound sequence, the voiced and unvoiced sounds classification, the duration, the contour of amplitude, and the contour of fundamental frequency are determined for each speech unit by referring to the dictionary for morphological analysis 20.
The speech unit waveform generating means 90 obtains a pitch-unit waveform required for generating each speech unit, from the speech database 18. On this occasion, the waveforms with proper pitch length at each time are selected and picked out in accordance with the contour of fundamental frequency provided by the character string analyzing means 2. Then, the speech unit waveform generating means 90 modifies these pitch-unit waveforms with reference to the duration and the contour of amplitude provided by the character string analyzing means 2, and generates a waveform in a speech unit by means of concatenation. As for unvoiced sounds, the speech unit waveform generating means 90 generates waveforms using reference to the noise waveforms.
The speech waveforms in each speech unit generated as described above are concatenated with the waveform concatenating means 22. Thus, a speech waveform data is produced.
The analog converting means 14 converts this speech waveform data into analog sound signals and produces output.
In this embodiment as in the previous embodiment, pitch conversion may be performed at every time of processing. In this manner, there is no need to prepare the various pitch length data. Instead, only one kind of pitch length data must be stored in the speech database 18.
In addition, as one of ordinary skill in the art would appreciate, the other embodiments described in the first embodiment may be applied to this second embodiment.
In the above embodiments, pitch conversion is processed in accordance with the result of the analysis carried out by means of the character string analyzing means 2. However, the pitch conversion may be performed through commands entered by an operator.
Amplitude and fundamental frequency of speech sound are raised by clicking the icon 200 (up arrow) with the mouse 34 (steps S50 and S53). In the same way, amplitude and fundamental frequency of speech sound are lowered by clicking the icon 204 (down arrow) (steps S50 and S52 of
While the methods of pitch modification described so far are preferable, other method may be also applied.
Thus, a pair of arrows (the up arrow and the down arrow, or the left arrow and the right arrow) corresponds to the processing of two opposite modifications. Accordingly, the contents of processing are intuitionally understandable, providing an easy operation for entering commands.
Alternatively, instead of using the screen icons in the above embodiment, entry switches shaped as an arrow or with an indication of an arrow may be used.
In the above embodiment, each of the up arrow and the down arrow corresponds to the processing of both amplitude and fundamental frequency. However, the processing of each one, two, or three of amplitude, fundamental frequency, and utterance duration may be arranged to be assigned to each arrow. This arrangement applies also to the right arrow and the left arrow. Furthermore, obliquely pointing arrows may also be adopted and assigned for both tasks associated with vertically pointing arrows and horizontally pointing arrows.
While, in the above embodiment, a CPU is used to provide the respective functions shown in
The speech synthesis device may be characterized by comprising pitch converting means for converting pitch by means of processing a segment of a waveform in which the waveform is converging on a minus peak during a periodical unit of speech waveform data.
Therefore, the waveform can be processed in the segment that is less affected by the minus peak associated with the glottal closure, and then pitch can be converted without distorting naturalness.
The speech synthesis device may be characterized by providing the largest processing value at around zero crossing point and the smaller value at the farther from zero crossing point, within the segment in which waveform is converging on the minus peak.
Accordingly, pitch can be adjusted without distorting naturalness since the processing complies with the actual speech sound characteristic that each duration of zero value segment is different.
The speech synthesis device may be characterized by shortening or lengthening pitch by means of compressing or extending waveform along the time axis in the segment in which the waveform is converging on the minus peak.
Consequently, waveform can be processed through time compression or time extension in the segment that is less affected by the minus peak associated with the glottal closure. As such, pitch can be converted without a distortion in naturalness.
The speech synthesis device may be characterized by performing waveform processing at around zero crossing point within the segment where the waveform is converging on the minus peak. Therefore, processing can be performed in the segment that is less affected due to rather small amplitude.
The speech synthesis device may be characterized by performing waveform processing at around zero crossing point by means of either inserting a substantial zero value segment to lengthen pitch or of eliminating a substantial zero value segment to shorten pitch.
Therefore, pitch can be converted, minimizing the influence on a spectrum. In addition, a simple operation like insertion and deletion of a zero value segment makes the waveform processing speedy.
The pitch converting method for speech waveform may be characterized in that pitch conversion is performed by way of processing waveform in the segment in which the waveform is converging on the minus peak during the periodical unit of speech waveforms.
Consequently, waveform can be processed in the segment that is less affected by the minus peak associated with the glottal closure, and pitch can be converted without losing naturalness.
The speech processing device may be characterized by modifying at least any one of amplitude, fundamental frequency or duration of speech with using corresponding icons or switches of the up arrow, the down arrow, the right arrow, or the left arrow.
Accordingly, speech sound amplitude, fundamental frequency or duration can be converted in a simple operation.
The speech processing device may be characterized by assigning the up arrow at least to raise fundamental frequency and the down arrow at least to lower fundamental frequency. Therefore, the present invention provides an easy-to-use, intuitive user interface for pitch conversion processing.
While the embodiments of the present invention, as disclosed herein, constitute preferred forms, it is to be understood that each term was used as illustrative and not restrictive, and can be changed within the scope of the claims without departing from the scope and spirit of the invention.
Number | Date | Country | Kind |
---|---|---|---|
11/285125 | Oct 1999 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4468804 | Kates et al. | Aug 1984 | A |
4586191 | Nishimura | Apr 1986 | A |
4734795 | Fukami et al. | Mar 1988 | A |
5086475 | Kutaragi et al. | Feb 1992 | A |
5384893 | Hutchins | Jan 1995 | A |
5479564 | Vogten et al. | Dec 1995 | A |
5519166 | Furuhashi et al. | May 1996 | A |
5671330 | Sakamoto et al. | Sep 1997 | A |
5758320 | Asano | May 1998 | A |
5787398 | Lowry | Jul 1998 | A |
5832437 | Nishiguchi et al. | Nov 1998 | A |
5864812 | Kamai et al. | Jan 1999 | A |
5873059 | Iijima et al. | Feb 1999 | A |
5884253 | Kleijn | Mar 1999 | A |
5905972 | Huang et al. | May 1999 | A |
6101470 | Eide et al. | Aug 2000 | A |
6253182 | Acero | Jun 2001 | B1 |
6421636 | Cooper et al. | Jul 2002 | B1 |
6438522 | Minowa et al. | Aug 2002 | B1 |
Number | Date | Country |
---|---|---|
10-078792 | Mar 1998 | JP |