Speech synthesis device, speech synthesis method, and program

The speech synthesis apparatus efficiently adjusts acoustic features using adjustment dictionaries, addressing the challenge of repetitive adjustments in DNN speech synthesis, thereby enhancing speech quality.

JP2026183214APending Publication Date: 2026-11-24KK TOSHIBA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023151546
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-09-19
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Conventional DNN speech synthesis technologies face challenges in efficiently adjusting synthesized speech for similar adjustment points, leading to issues like incorrect pronunciation and unnatural prosody.

Method used

A speech synthesis apparatus with an encoder, decoder, and an adjustment unit that uses adjustment dictionaries to adjust acoustic features based on attribute information of speech units, allowing for efficient adjustments without repetitive input for similar problems.

Benefits of technology

Enables more efficient adjustment of synthesized speech by using adjustment dictionaries to determine the application of adjustment instructions, reducing the need for repeated manual input and improving the quality of synthesized speech.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026183214000001_ABST
    Figure 2026183214000001_ABST
Patent Text Reader

Abstract

In DNN speech synthesis, the goal is to enable more efficient adjustment of synthesized speech for similar adjustment points. [Solution] The speech synthesis apparatus of the embodiment comprises an encoder, a decoder, and an adjustment unit. The encoder converts the attribute information of speech units into an intermediate representation using a first neural network. The decoder generates acoustic features from the intermediate representation using a second neural network. The adjustment unit uses an adjustment dictionary, which has at least the attribute information of speech units as keys and adjustment instructions for the acoustic features as values, to determine the section to which the adjustment instructions are applied using the keys, and adjusts the acoustic features in the determined section based on the adjustment instructions.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] Embodiments of the present invention relate to a speech synthesis device, a speech synthesis method, and a program. [Background Art]

[0002] Recent speech synthesis technology has achieved high-quality synthesized speech close to human speech by using deep neural networks (DNN). On the other hand, as a limitation of machine learning, it may synthesize speech with incorrect pronunciation or unnatural prosody, and "adjustment" to correct these problems is required to improve product quality.

[0003] In conventional HMM speech synthesis technology, for example, the speech synthesis dictionary editing device of Patent Document 1 can perform adjustment efficiently. In DNN speech synthesis, for example, Patent Document 2 proposes a speech synthesis device that can obtain a high-quality synthesized speech signal when generating a synthesized speech signal in which the reading method of a specific part of the text is adjusted. [Prior Art Documents] [Patent Documents]

[0004] [Patent Document 1] Japanese Unexamined Patent Application Publication No. 2014-174278 [Patent Document 2] Japanese Unexamined Patent Application Publication No. 2022-81691 [Non-Patent Documents]

[0005] [Non-Patent Document 1] M. Morise, F. Yokomori, and K. Ozawa, "WORLD: a vocoder-based high-quality speech synthesis system for real-time applications," IEICE transactions on information and systems, vol. E99-D, no. 7, pp. 1877-1884, 2016. [Non-Patent Document 2] A. Tamamori, T. Hayashi, K. Kobayashi, K. Takeda and T. Toda, “Speaker-Dependent WaveNet Vocoder.Proc.” Proc. Interspeech 2017, pp. 1118-1122, 2017. [Non-Patent Document 3] A. Oord, O. Vinyals, and K. Kavukcuoglu, “Neural Discrete Representation Learning”, in Advances in Neural Information Processing Systems, vol. 30, 2017. [Overview of the Initiative] [Problems that the invention aims to solve]

[0006] However, with conventional technologies, it was difficult to efficiently adjust the synthesized speech for similar adjustment points in DNN speech synthesis. [Means for solving the problem]

[0007] The speech synthesis apparatus of the embodiment comprises an encoder, a decoder, and an adjustment unit. The encoder converts attribute information of speech units into an intermediate representation using a first neural network. The decoder generates acoustic features from the intermediate representation using a second neural network. The adjustment unit uses an adjustment dictionary, which has at least the attribute information of speech units as keys and adjustment instructions for the acoustic features as values, to determine the interval to which the adjustment instructions are applied using the keys, and adjusts the acoustic features in the determined interval based on the adjustment instructions. [Brief explanation of the drawing]

[0008] [Figure 1] Figure 1 shows an example of the functional configuration of a speech synthesis device according to the first embodiment. [Figure 2] Figure 2 shows an example of the functional configuration of the adjustment unit in the first embodiment. [Figure 3] Figure 3 is a flowchart showing an example of the overall flow of the speech synthesis method according to the first embodiment. [Figure 4] Figure 4 is a flowchart showing an example of the detailed flow of the continuous length adjustment process (step S4) in the first embodiment. [Figure 5] Figure 5 shows an example of adjusting the continuity length in the first embodiment. [Figure 6] Figure 6 is a flowchart showing an example of the detailed flow of the acoustic feature adjustment process (step S6) in the first embodiment (in the case of logarithmic fundamental frequency). [Figure 7] Figure 7 shows an example of adjusting the logarithmic fundamental frequency in the first embodiment. [Figure 8] Figure 8 shows an example of the functional configuration of the speech synthesis device according to the second embodiment. [Figure 9] Figure 9 shows an example of the functional configuration of the index acquisition unit in the second embodiment. [Figure 10] Figure 10 shows an example of the functional configuration of the adjustment unit in the second embodiment. [Figure 11] Figure 11 is a flowchart showing an example of the overall flow of the speech synthesis method according to the second embodiment. [Figure 12] Figure 12 is a flowchart showing an example of the detailed flow of the cluster number acquisition process (step S23) in the second embodiment. [Figure 13] Figure 13 is a flowchart showing an example of the detailed flow of the continuous length adjustment process (step S25) in the second embodiment. [Figure 14] Figure 14 is a flowchart showing an example of the detailed flow of the acoustic feature adjustment process (step S27) in the second embodiment (in the case of logarithmic fundamental frequency). [Figure 15] Figure 15 shows an example of the functional configuration of the speech synthesis device according to the third embodiment. [Figure 16] Figure 16 shows an example of the functional configuration of the acoustic feature decoder in the third embodiment. [Figure 17] Figure 17 shows an example of the functional configuration of the adjustment unit in the third embodiment. [Figure 18] FIG. 18 is a flowchart illustrating an example of an overall flow of the speech synthesis method according to the third embodiment. [Figure 19] FIG. 19 is a flowchart illustrating an example of a detailed flow of adjustment processing (step S38) of an intermediate expression sequence according to the third embodiment. [Figure 20] FIG. 20 is a diagram illustrating an example of a spectrum of synthesized speech when an intermediate expression sequence is adjusted by the adjustment processing (step S38) according to the third embodiment. [Figure 21] FIG. 21 is a diagram illustrating an example of a hardware configuration of the speech synthesis device according to the first to third embodiments. [Mode for Carrying Out the Invention]

[0009] Hereinafter, embodiments of a speech synthesis device, a speech synthesis method, and a program will be described in detail with reference to the accompanying drawings.

[0010] (First Embodiment) First, an outline of the speech synthesis device according to the first embodiment will be described.

[0011] <<Overview of Speech Synthesis Device 1>> FIG. 1 is a diagram illustrating an example of a functional configuration of a speech synthesis device 1 according to the first embodiment. The speech synthesis device 1 according to the first embodiment includes an analysis unit 11, an encoder 12, a duration decoder 13, an acoustic feature decoder 14, a vocoder 15, and an adjustment unit 16.

[0012] The speech synthesis device 1 according to the first embodiment adjusts the duration and each acoustic feature amount by the adjustment unit 16, and generates a speech waveform by the vocoder 15 from the adjusted acoustic feature amount. The adjustment unit 16 includes adjustment dictionaries 161, 162, 163, 164, and 165 (FIG. 2) for the duration and each acoustic feature amount created in advance, and adjusts the duration and each acoustic feature amount using these dictionaries. The key of the entry of the adjustment dictionary for the duration and each acoustic feature amount is attribute information of the speech unit, and the value is an adjustment instruction. This makes it possible for the user to obtain appropriate synthesized speech without repeatedly performing the same adjustment for similar problems.

[0013] The following describes the details of each functional block.

[0014] The analysis unit 11 analyzes the input text and outputs attribute information for each phonetic unit. In Japanese, phonetic units include, for example, moras and phonemes. Attribute information is a collection of linguistic and phonetic information for the phonetic unit in question. For example, attribute information includes the types of phonetic units before and after it, the accent type and relative position within the accent phrase, and part-of-speech information.

[0015] The encoder 12 takes a vector representation of the attribute information of each speech unit as input and outputs a sequence of intermediate representations of the neural network (hereinafter referred to as the "intermediate representation sequence"). The intermediate representation is a latent representation that ultimately contains information for obtaining the speech waveform, but is generally difficult for humans to interpret. In the first embodiment, there is a one-to-one correspondence between the attribute information of each speech unit and each intermediate representation.

[0016] The duration decoder 13 takes an intermediate representation sequence as input and outputs the duration (duration) using a neural network. The duration is the number of frames of acoustic features corresponding to each speech unit. A frame is a unit of waveform extraction when analyzing and synthesizing a speech waveform, and is determined by a fixed length or a length based on the pitch period.

[0017] The acoustic feature decoder 14 takes an intermediate representation sequence as input and outputs acoustic features based on the duration using a neural network. In the first embodiment, the acoustic features used are logarithmic fundamental frequency, energy, spectral features, voiced / unvoiced flags, and aperiodicity index. For the logarithmic fundamental frequency, a value interpolated using the values ​​of the preceding and succeeding voiced parts is used in the unvoiced part. Hereinafter, the spectral features are described using Mel-linear spectral pairs, but other spectral features such as Mel-cepstrums, Mel-spectrograms, or intermediate representations of machine-learned spectral information may also be used.

[0018] Alternatively, the duration may be treated as one of the acoustic features, and the duration decoder 13 and the acoustic feature decoder 14 may be implemented using a single acoustic feature decoder.

[0019] The vocoder 15 generates an audio waveform from acoustic features. The vocoder 15 generates the audio waveform using, for example, the signal processing method shown in Non-Patent Document 1. Alternatively, the vocoder 15 may generate the audio waveform using, for example, the neural network shown in Non-Patent Document 2.

[0020] Next, the adjustment unit 16, which is a feature of the first embodiment, will be described using Figure 2. Figure 2 is a diagram showing an example of the functional configuration of the adjustment unit 16 of the first embodiment. The adjustment unit 16 includes an adjustment dictionary 161 for duration, an adjustment dictionary 162 for logarithmic fundamental frequency, an adjustment dictionary 163 for energy, an adjustment dictionary 164 for Mel-linear spectral pairs, and an adjustment dictionary 165 for aperiodicity index.

[0021] The keys for entries in the adjustment dictionary for duration and each acoustic feature are attribute information of the speech unit, and the values ​​are adjustment instructions. During speech synthesis, the adjustment unit 16 refers to the adjustment dictionary for duration and each acoustic feature, determines the interval to which the adjustment instruction will be applied based on the key of each entry, and adjusts the acoustic features of the determined interval according to the adjustment instruction.

[0022] Processing by the speech synthesizer 1 Figure 3 is a flowchart showing an example of the overall flow of the speech synthesis method according to the first embodiment. First, the analysis unit 11 analyzes the input text and outputs attribute information for each speech unit (step S1). For example, the analysis unit 11 performs morphological analysis on the input text to obtain linguistic information used for speech synthesis, such as reading information and accent information, and outputs attribute information for each speech unit from the obtained reading information and linguistic information. Alternatively, the analysis unit 11 may create attribute information for each speech unit from corrected reading and accent information corresponding to the input text that has been created separately.

[0023] Next, the encoder 12 generates an intermediate representation sequence from the vector representation of attribute information for each audio unit (step S2). Then, the duration decoder 13 generates the duration before adjustment from the intermediate representation sequence (step S3).

[0024] Next, the adjustment unit 16 adjusts the duration before adjustment obtained in step S3 based on the attribute information of each voice unit (step S4).

[0025] Figure 4 is a flowchart showing an example of the detailed flow of the continuation length adjustment process (step S4) in the first embodiment. First, the adjustment unit 16 obtains the attribute information of the speech unit at the beginning of the sentence (step S4-1), and searches the continuation length adjustment dictionary 161 for an entry that matches the attribute information of the speech unit, which is the key (step S4-2).

[0026] If an entry is found (Yes in step S4-3), the adjustment unit 16 applies the adjustment instruction for that entry to the duration corresponding to the attribute information of the voice unit obtained in step S4-1 (step S4-4). If no entry is found (No in step S4-3), the process proceeds to step S4-5.

[0027] If adjustments are completed for all audio units (Yes in step S4-5), the process ends. If adjustments are not completed for all audio units (No in step S4-5), the adjustment unit 16 obtains attribute information for the next audio unit (step S4-6) and processes from step S4-2.

[0028] An example of the duration length adjusted in step S4 is shown in Figure 5. Figure 5 is a diagram showing an example of duration length adjustment in the first embodiment. Figure 5 is an example of duration length adjustment when the phonetic unit is a phoneme and the sentence "Hello." is input. Since the input sentence contains the vowel o and the consonant n (n row), the first entry of the duration length adjustment dictionary 161 is found in step S4-2. Therefore, in step S4-4, an adjustment instruction is applied to multiply the duration length, which is the value of that entry, by 0.5. As a result, the duration length is reduced from 22 frames to 11 frames, which is 0.5 times that value.

[0029] Returning to Figure 3, the acoustic feature decoder 14 then generates each acoustic feature before adjustment based on the adjusted duration from the intermediate representation sequence (step S5). Next, the adjustment unit 16 adjusts each acoustic feature from the acoustic features before adjustment and the attribute information of each speech unit (step S6).

[0030] As an example, Figure 6 shows the details of the logarithmic fundamental frequency adjustment method. Figure 6 is a flowchart showing an example of the detailed flow of the acoustic feature adjustment process (step S6) of the first embodiment (in the case of logarithmic fundamental frequency). First, the adjustment unit 16 obtains the attribute information of the speech unit at the beginning of the sentence (step S6-1), and searches the logarithmic fundamental frequency adjustment dictionary 162 for an entry that matches the attribute information of the speech unit, which is the key (step S6-2).

[0031] If an entry is found (Yes in step 6-3), the adjustment unit 16 applies the adjustment instruction for that entry to the section corresponding to the attribute information of the voice unit acquired in step S6-1 (step S6-4). If no entry is found (No in step S6-3), the process proceeds to step S6-5.

[0032] Once adjustments are complete for all audio units (Yes in step S6-5), the process ends. If adjustments are not complete for all audio units (No in step S6-5), the adjustment unit 16 obtains attribute information for the next audio unit (step S6-6) and proceeds with processing from step S6-2.

[0033] Furthermore, the adjustment unit 16 also adjusts other acoustic features besides the logarithmic fundamental frequency using the same process as shown in Figure 6.

[0034] An example of the logarithmic fundamental frequency adjusted in step S6 is shown in Figure 7. Figure 7 is a diagram showing an example of logarithmic fundamental frequency adjustment in the first embodiment. Figure 7 is an example of adjustment when the phonetic unit is a phoneme, the input sentence is "prison," and the analysis unit 11 analyzes the input sentence as a sentence with a 4-mora, 3-type accent pattern. In this case, since the third mora of the input sentence contains the vowel u (u), the first entry in the logarithmic fundamental frequency adjustment dictionary 162 is found in step S6-2. Therefore, in step S6-4, an adjustment instruction is applied to increase the logarithmic fundamental frequency, which is the value of that entry, by +0.1. As a result, as shown in Figure 7, the logarithmic fundamental frequency of the section corresponding to the vowel u (u) of "mu" is increased by +0.1.

[0035] Returning to Figure 3, finally, the vocoder 15 generates a speech waveform from the adjusted acoustic features obtained in step S6 (step S7). The speech waveform generated in step S7 can be used as desired by the user. For example, the speech waveform generated in step S7 can be played back by the user on an external audio playback device (e.g., a speaker) of the speech synthesizer 1, or it may be stored in an external storage device of the speech synthesizer 1.

[0036] Thus, the speech synthesis device 1 of the first embodiment includes an adjustment unit 16 for adjusting the duration and each acoustic feature. The adjustment unit 16 is equipped with pre-created adjustment dictionaries for duration and each acoustic feature, and uses these adjustment dictionaries to adjust the duration and each acoustic feature during speech synthesis. The keys of the entries in the adjustment dictionaries for duration and each acoustic feature are attribute information of the speech unit, and the values ​​are adjustment instructions. The speech synthesis device 1 adjusts the duration and each acoustic feature using the adjustment unit 16, and generates a speech waveform from the adjusted acoustic features using the vocoder 15, making it possible for the user to obtain appropriate synthesized speech without having to perform the same adjustments repeatedly for similar problems.

[0037] ≪Details of each part of the speech synthesis device 1≫ The adjustment instructions applied by the adjustment unit 16 are operations to correct each problem. For example, problems are corrected by applying an operation to multiply the duration by a specified value, and by adding a specified value to the logarithmic fundamental frequency and energy. Also, for example, the Mel-linear spectral pair and the aperiodic index, which are multidimensional acoustic features, are corrected by an operation to replace them with a specified vector. As for how to specify the vector, the vector can be specified directly, or a list of replacement vectors can be created and its index can be specified. In the latter case, when adjusting, the adjustment unit 16 reads the vector of the corresponding index from the list of replacement vectors and replaces each acoustic feature at the adjustment point.

[0038] Each neural network used in the speech synthesis device 1 of the first embodiment is trained using statistical methods. During training, each neural network may be trained simultaneously. For example, the neural networks used in the encoder 12, duration decoder 13, and acoustic feature decoder 14 may be trained simultaneously. Furthermore, when a neural network is used in the vocoder 15, in addition to being trained using statistical methods as described above, it may also be trained using statistical methods simultaneously with the other neural networks used in the speech synthesis device 1.

[0039] An example of how to add new entries to the adjustment dictionaries 161, 162, 163, 164, and 165 for duration and each acoustic feature is shown. First, the speech synthesizer 1 of the first embodiment synthesizes speech from arbitrary input text. Next, the adjuster of the speech synthesizer 1 (e.g., a vendor's developer) listens to the synthesized speech obtained by the speech synthesizer 1 and checks for any problems.

[0040] If a problem exists, the adjuster will identify the location of the problem and the duration or acoustic feature causing it, and determine the adjustment instructions to obtain a suitable synthesized speech.

[0041] Next, the adjuster determines, from the audio unit attribute information at the location where the identified problem occurs, the attribute information that allows for adjustment in steps S4 and S6 when a similar problem occurs, and determines the appropriate interval to which adjustment instructions should be applied in steps S4 and S6 when no problem occurs.

[0042] Then, in response to the operator's input, the speech synthesis device 1 of the first embodiment adds an entry to the adjustment dictionary corresponding to the duration or acoustic feature causing the problem, with attribute information determined by the operator as the key and adjustment instructions determined by the operator as the value.

[0043] ≪Effects of the speech synthesis device 1 of the first embodiment≫ In a speech synthesis device 1 that uses an encoder-decoder type neural network to convert attribute information of speech units into an intermediate representation and generate acoustic features, it is possible to provide a speech synthesis device 1 that does not require the same adjustments to be made repeatedly for problems that occur under the same conditions.

[0044] Specifically, as described above, in the speech synthesis device 1 of the first embodiment, the encoder 12 converts the attribute information of speech units into an intermediate representation using a first neural network. The decoder (in the first embodiment, a duration decoder 13 and an acoustic feature decoder 14) generates acoustic features from the intermediate representation using a second neural network. The adjustment unit 16 uses an adjustment dictionary (see Figure 2) which uses at least the attribute information of speech units as keys and adjustment instructions for acoustic features as values ​​to determine the interval to which the adjustment instructions are applied by key, and adjusts the acoustic features of the determined interval based on the adjustment instructions.

[0045] As a result, the speech synthesis device 1 of the first embodiment allows for more efficient adjustment of synthesized speech for similar adjustment points. For example, it becomes possible to obtain appropriate synthesized speech without the adjuster having to make the same adjustments repeatedly for similar problems. In conventional DNN speech synthesis technology, the user had to input the adjustment amount each time, which meant that the user had to repeatedly input the same adjustment amount for similar adjustment points.

[0046] (Second Embodiment) Next, a second embodiment will be described. In the description of the second embodiment, explanations similar to those of the first embodiment will be omitted, and the differences from the first embodiment will be described.

[0047] ≪Overview of Speech Synthesis Device 2≫ Figure 8 shows an example of the functional configuration of the speech synthesis device 2 of the second embodiment. The speech synthesis device 2 of the second embodiment includes an adjustment unit 27 that adjusts the duration and acoustic features based on adjustment dictionaries 271, 272, 273, 274 and 275 (Figure 10), which use not only the attribute information of the speech unit but also information identifying the intermediate representation acquired by the index acquisition unit 26 (Figure 9) as a key. This makes it possible in the second embodiment to specify the interval to which appropriate adjustments are applied without specifying detailed attribute information of the speech unit. The information identifying the intermediate representation is a number (an example of an index) obtained by a machine learning model that takes the intermediate representation as input, specifically the cluster number when the intermediate representation is classified by a clustering model. By using the cluster number, the interpretability of the key is improved while keeping the key compact.

[0048] The following describes the details of each functional block.

[0049] The difference between the speech synthesis device 1 of the first embodiment and the speech synthesis device 2 of the second embodiment is that the speech synthesis device 2 of the second embodiment includes an index acquisition unit 26. Furthermore, the speech synthesis device 2 of the second embodiment, like the speech synthesis device 1 of the first embodiment, includes an analysis unit 21, an encoder 22, a duration decoder 23, an acoustic feature decoder 24, a vocoder 25, and an adjustment unit 27.

[0050] Next, we will explain the index acquisition unit 26, which is one of the features of the second embodiment, using Figure 9. Figure 9 is a diagram showing an example of the functional configuration of the index acquisition unit 26 of the second embodiment. The index acquisition unit 26 outputs the cluster number when each intermediate representation output from the encoder 22 is classified by the clustering model. The index acquisition unit 26 includes a list 261 of representative vectors for each cluster obtained from a pre-trained clustering model.

[0051] Figure 10 shows an example of the functional configuration of the adjustment unit in the second embodiment. The adjustment unit 27 of the second embodiment includes adjustment dictionaries 271, 272, 273, 274, and 275 for duration and each acoustic feature (logarithmic fundamental frequency, energy, Mel-linear spectral pair, and nonperiodic index). Unlike the speech synthesizer 1 of the first embodiment, the keys of the entries in the adjustment dictionaries for duration and each acoustic feature are attribute information of the speech unit and the cluster number of the intermediate representation. The values ​​of the entries in the adjustment dictionaries 271, 272, 273, 274, and 275 for duration and each acoustic feature are adjustment instructions.

[0052] <<Processing by speech synthesizer 2>> Figure 11 is a flowchart showing an example of the overall flow of the speech synthesis method of the second embodiment. First, the analysis unit 21 analyzes the input text and outputs attribute information for each speech unit (step S21). Next, the encoder 22 generates an intermediate representation sequence from the attribute information for each speech unit (step S22). Then, the index acquisition unit 26 obtains the cluster number from the intermediate representation sequence (step S23).

[0053] Figure 12 is a flowchart showing an example of the detailed flow of the cluster number acquisition process (step S23) in the second embodiment. First, the index acquisition unit 26 acquires the intermediate representation in the middle of the text (step S23-1), and searches for the representative vector closest to the vector representing the intermediate representation from the list of representative vectors 261 for each cluster (step S23-2). Then, the index acquisition unit 26 acquires the cluster number represented by the representative vector obtained in step S23-2 (step S23-3).

[0054] If the cluster number has been obtained for all intermediate representations (Yes in step S23-4), the process ends. If the cluster number has not been obtained for all intermediate representations (No in step S23-4), the index acquisition unit 26 obtains the next intermediate representation (step S23-5) and processes from step (S23-2).

[0055] Returning to Figure 11, the duration decoder 23 then takes an intermediate representation sequence as input and generates the duration before adjustment (step S24). Next, the adjustment unit 27 adjusts the duration before adjustment obtained in step S24 based on the attribute information of each speech unit and the cluster number of each intermediate representation (step S25).

[0056] Figure 13 is a flowchart showing an example of the detailed flow of the continuation length adjustment process (step S25) in the second embodiment. First, the adjustment unit 27 obtains the attribute information of the speech unit at the beginning of the sentence and the cluster number of the intermediate expression (step S25-1), and searches the continuation length adjustment dictionary 271 for an entry that matches the key (attribute information of the speech unit and cluster number) (step S25-2). If an entry is found (Yes in step S25-3), the adjustment unit 27 applies the adjustment instruction of that entry to the continuation length corresponding to the attribute information of the speech unit obtained in step S25 (step S25-4). If no entry is found (No in step S25-3), the process proceeds to step S25-5.

[0057] If adjustments are completed for all speech units (Yes in step S25-5), the process ends. If adjustments are not completed for all speech units (No in step S25-5), the adjustment unit 27 obtains the attribute information and the cluster number of the intermediate representation for the next speech unit (step S25-6), and processes from step S25-2.

[0058] Returning to Figure 11, the acoustic feature decoder 24 then generates each acoustic feature before adjustment based on the adjusted duration from the intermediate representation sequence (step S26). Next, the adjustment unit 27 adjusts each acoustic feature based on the acoustic features before adjustment, the attribute information of each speech unit, and the cluster number of each intermediate representation (step S27).

[0059] As an example, Figure 14 shows the details of the logarithmic fundamental frequency adjustment method. Figure 14 is a flowchart showing an example of the detailed flow of the acoustic feature adjustment process (step S27) of the second embodiment (in the case of logarithmic fundamental frequency). First, the adjustment unit 27 obtains the attribute information of the speech unit at the beginning of the sentence and the cluster number of the intermediate representation (step S27-1), and searches the logarithmic fundamental frequency adjustment dictionary 272 for an entry that matches the key (attribute information of the speech unit and cluster number) (step S27-2).

[0060] If an entry is found (Yes in step S27-3), the adjustment unit 27 applies the adjustment instruction for that entry to the section corresponding to the attribute information of the speech unit and the cluster number of the intermediate representation obtained in step S27-1 (step S27-4).

[0061] If adjustments are completed for all speech units (Yes in step S27-5), the process ends. If adjustments are not completed for all speech units (No in step S27-5), the adjustment unit 27 obtains the attribute information and the cluster number of the intermediate representation for the next speech unit (step S27-6), and then proceeds to process from step S27-2.

[0062] Furthermore, the adjustment unit 27 also adjusts other acoustic features besides the logarithmic fundamental frequency using the same processing as shown in Figure 14.

[0063] Returning to Figure 11, finally, the vocoder 25 generates an audio waveform from the adjusted acoustic features obtained in step S27 (step S28).

[0064] ≪Details of each part of the speech synthesis device 2≫ The list 261 of representative vectors for each cluster, provided by the index acquisition unit 26, is obtained by training a clustering model in advance. The clustering model used is, for example, a model trained using intermediate representations obtained from each sentence used for training as training data, after the training of the encoder-decoder structure neural network used in the speech synthesis device 2 has been completed. Alternatively, for example, a clustering model trained simultaneously with the encoder-decoder structure neural network may be used by applying the training method shown in Non-Patent Document 3.

[0065] The "closeness" criterion used by the index acquisition unit 26 when searching for representative vectors is the distance measure used when training the clustering model. For example, if the L2 norm is used to train the clustering model, the L2 norm is also used when searching for representative vectors. Similarly, if cosine similarity is used to train the clustering model, cosine similarity is also used when searching for representative vectors.

[0066] In the second embodiment, the adjustment dictionaries 271, 272, 273, 274, and 275 for duration and each acoustic feature use the cluster number obtained when the intermediate representation is clustered as a key, in addition to the attribute information of the speech unit, making it possible to specify appropriate adjustment application conditions without specifying detailed attribute information of the speech unit.

[0067] The attribute information of each voice unit is complex information that needs to be represented using 312-dimensional binary values ​​and 13-dimensional numerical data, as described in paragraph

[0089] of Patent Document 2, for example. Therefore, it may be difficult to appropriately set the interval to which adjustment instructions are applied using only the attribute information of each voice unit. However, the intermediate representation appropriately encodes the attribute information of each voice unit, and the representative vector obtained when they are clustered is thought to retain the essential information of each intermediate representation. Therefore, by using the cluster number, it becomes possible to specify appropriate adjustment application conditions without specifying detailed attribute information.

[0068] Alternatively, the machine learning model used in the index acquisition unit 26 may be a decision tree model that takes attribute information of speech units as input and outputs intermediate representations. In this case, the attribute information of speech units is input to the index acquisition unit 26, and the leaf node number reached by the decision tree is used as information to identify the intermediate representation instead of the cluster number. The decision tree model can be obtained, similar to the case where a clustering model is used, by, for example, after the training of the encoder-decoder structure neural network used in the speech synthesizer 2 is completed, by training the intermediate representations obtained from each sentence used for training as training data.

[0069] <<Effects of the speech synthesis device 2 of the second embodiment>> As described above, in the speech synthesis device 2 of the second embodiment, the information identifying the intermediate representation is an index obtained using a machine learning model that classifies the intermediate representation or the attribute information of the speech unit. This improves the interpretability of the keys in the adjustment dictionaries 271, 272, 273, 274 and 275 (Figure 10) for duration and each acoustic feature, compared to using the intermediate representation as is.

[0070] In other words, according to the speech synthesis device 2 of the second embodiment, it is possible to specify appropriate adjustment application conditions without specifying detailed attribute information of each speech unit. For example, by further using the cluster number (an example of information that identifies the intermediate representation output from the neural network) as a key, the interpretability of the key is improved while keeping the key compact. Also, for example, by further using the leaf node number (an example of information that identifies the intermediate representation output from the neural network) as a key, the interpretability of the key is improved while keeping the key compact.

[0071] (Third embodiment) Next, a third embodiment will be described. In the description of the third embodiment, explanations similar to those of the first embodiment will be omitted, and the differences from the first embodiment will be described.

[0072] <<Overview of speech synthesis device 3>> Figure 15 shows an example of the functional configuration of the speech synthesis device 3 of the third embodiment. In the speech synthesis device 3 of the third embodiment, the adjustment unit 36 ​​adjusts intermediate expressions in addition to duration and acoustic features. The adjustment unit 36 ​​of the third embodiment includes an intermediate expression adjustment dictionary 366 (Figure 17). The intermediate expression adjustment dictionary 366 uses attribute information of the speech unit and the type of acoustic feature to which the adjustment instruction should be applied as keys, and the adjustment instruction to the intermediate expression as a value. By adjusting intermediate expressions that cause mispronunciation to intermediate expressions that are pronounced correctly, mispronunciation can be efficiently corrected.

[0073] Furthermore, by using the type of acoustic feature to which the adjustment instruction should be applied as a key in the intermediate representation adjustment dictionary 366, it is possible to determine whether to apply the adjustment instruction for each entry for each type of acoustic feature. Since the speech synthesizer 3 generates the duration and each acoustic feature from the same intermediate representation sequence output from the encoder 32, determining whether to apply the adjustment instruction for each entry for each type of acoustic feature can minimize the impact on duration or acoustic features that are not related to misreading.

[0074] The following describes the details of each functional block.

[0075] The speech synthesis device 3 of the third embodiment includes an analysis unit 31, an encoder 32, a duration decoder 33, an acoustic feature decoder 34, a vocoder 35, and an adjustment unit 36, similar to the speech synthesis device 1 of the first embodiment. Each unit has the same functions as the speech synthesis device 1 of the first embodiment.

[0076] Figure 16 shows an example of the functional configuration of the acoustic feature decoder 34 of the third embodiment. As shown in Figure 16, the acoustic feature decoder 34 of the third embodiment outputs the logarithmic fundamental frequency and energy using separate neural networks 341 and 342, respectively, and outputs the Mel-linear spectral pair, voiced / silent flag, and aperiodicity index using the same neural network 343.

[0077] In the third embodiment, the types of acoustic features are defined as duration, logarithmic fundamental frequency, energy, and spectral features. Here, spectral features as a type of acoustic feature refer collectively to three acoustic features: Mel-linear spectral pairs, which are spectral features output using the neural network 343, as well as voiced / silent flags and aperiodicity indicators. The types of acoustic features may include at least one of duration, logarithmic fundamental frequency, energy, and spectral features.

[0078] Figure 17 shows an example of the functional configuration of the adjustment unit 36 ​​of the third embodiment. The adjustment unit 36 ​​of the third embodiment comprises an adjustment dictionary 366 for intermediate representations used to adjust intermediate representations, and adjustment dictionaries 361, 362, 363, 364, and 365 for each acoustic feature. The keys of the adjustment dictionary 366 corresponding to intermediate representations are attribute information of the speech unit and the name of the target acoustic feature, and the values ​​are adjustment instructions that replace the intermediate representation with a specified vector.

[0079] <<Processing by speech synthesizer 3>> Figure 18 is a flowchart showing an example of the overall flow of the speech synthesis method according to the third embodiment. First, the analysis unit 31 generates speech unit attribute information from the input text, and the encoder 32 generates an intermediate representation sequence from the speech unit attribute information (step S31).

[0080] Next, the adjustment unit 36 ​​adjusts the intermediate representation sequence input to the duration decoder 33 (step S32). Then, the duration decoder 33 generates a duration from the intermediate representation sequence obtained in step S32, and the adjustment unit 36 ​​adjusts the duration (step S33). The detailed flow of the adjustment process in step S33 is the same as in the case of the speech synthesizer 1 of the first embodiment (see Figure 4).

[0081] Next, the adjustment unit 36 ​​adjusts the intermediate representation sequence input to the neural network 341 that outputs the logarithmic fundamental frequency (step S34). Then, the neural network 341 receives the input of the intermediate representation sequence obtained in step S34, outputs the logarithmic fundamental frequency, and the adjustment unit 36 ​​adjusts the logarithmic fundamental frequency (step S35). The detailed flow of the adjustment process in step S5 is the same as in the case of the speech synthesis device 1 of the first embodiment (see Figure 6).

[0082] Next, the adjustment unit 36 ​​adjusts the intermediate representation sequence input to the neural network 342 that outputs energy (step S36). Then, the neural network 342 receives the input of the intermediate representation sequence obtained in step S36, outputs energy, and the adjustment unit 36 ​​adjusts the energy (step S37). The detailed flow of the adjustment process in step S37 is the same as in the case of the speech synthesis device 1 of the first embodiment.

[0083] Next, the adjustment unit 36 ​​adjusts the intermediate representation sequence input to the neural network 343 that outputs spectral features (step S38). The neural network 343 then receives the input of the intermediate representation sequence obtained in step S38 and outputs spectral features, and the adjustment unit 36 ​​adjusts the spectral features by adjusting the Mel-linear spectral pair and the aperiodicity index among the spectral features (step S39). The detailed flow of the adjustment process in step S39 is the same as in the case of the speech synthesis device 1 of the first embodiment.

[0084] Finally, the vocoder 35 generates an audio waveform from the adjusted acoustic features obtained in the processing up to step S39 (step S40).

[0085] Figure 19 shows the details of the intermediate representation sequence adjustment method. Figure 19 is a flowchart showing an example of the detailed flow of the intermediate representation sequence adjustment process (step S38) input to the neural network 343 that outputs spectral features in the third embodiment. In Figure 19, the process in step S38 is shown as an example, but similar processing is performed in step S32 when the target acoustic feature is duration, step S34 when the target acoustic feature is logarithmic fundamental frequency, and step S36 when the target acoustic feature is energy.

[0086] First, the adjustment unit 36 ​​obtains attribute information of the speech unit at the beginning of the sentence (step S38-1), and searches the adjustment dictionary 366 of the intermediate representation for an entry in which the attribute information of the speech unit matches and the target acoustic feature is a spectral feature (step S38-2). If an entry is found (Yes in step S38-3), the adjustment unit 36 ​​applies the adjustment instruction of that entry to the intermediate representation corresponding to the attribute information of the speech unit (step S38-4). If no entry is found (No in step S38-3), the process proceeds to step S38-5.

[0087] When the adjustment for all speech units is completed (Yes in step S38-5), the process ends. If the adjustment for all speech units is not completed (No in step S38-5), the adjustment unit 36 acquires attribute information of the next speech unit (step S38-6), and performs processing from step S32-2.

[0088] FIG. 20 is a diagram illustrating an example of a spectrum of synthesized speech when the intermediate expression sequence is adjusted by the adjustment process (step S38) of the third embodiment. The example of FIG. 20 illustrates an example of a spectrum of synthesized speech when a speech unit is a phoneme and a sentence “消え方。” is input. In this case, since the vowel e (え) sandwiched between the vowel i (い) and the consonant k (か row) is included, when the adjustment dictionary 366 of the intermediate expression is searched, the first entry in the adjustment dictionary 366 of the intermediate expression is found. Therefore, in step S38-4, an adjustment instruction for replacing the intermediate expression that is the value of the entry with a vector [0.45,..., 1.0e-3] is applied. As a result, as illustrated in FIG. 20, the spectrum of the portion corresponding to the vowel e (え) is changed from that before the adjustment.

[0089] As described above, in the third embodiment, the mispronunciation can be efficiently adjusted by adjusting the intermediate expression causing the mispronunciation to the intermediate expression for correct pronunciation. Further, by using the acoustic feature amount to which the adjustment instruction is to be applied as the key of the adjustment dictionary 366 of the intermediate expression, it is possible to determine whether to apply the adjustment instruction of each entry for each type of the acoustic feature amount. Since the speech synthesis device 3 according to the third embodiment outputs each acoustic feature amount from the same intermediate expression sequence output from the encoder 32, whether to apply the adjustment instruction of each entry for each type of each acoustic feature amount is determined. By determining, it is possible to suppress an influence on the acoustic feature amount not related to the mispronunciation.

[0090] <<Details of each unit of speech synthesis device 3>> The adjustment instructions in the intermediate representation adjustment dictionary 366 are operations such as replacing with a specified vector. The specified vectors include, for example, vectors representing the intermediate representation corresponding to phonetic units in sentences containing the same phonetic unit but without any problems. While Figure 17 shows the vector being specified directly, another method is to create a list of replacement vectors and specify their index as the replacement target. In the latter case, during adjustment, the vector at the corresponding index is read from the list of replacement vectors, and the intermediate representation at the adjustment point is replaced.

[0091] <<Effects of the speech synthesis device 3 of the third embodiment>> As described above, the speech synthesis device 3 of the third embodiment adjusts the intermediate expression to be pronounced correctly by replacing the vector representing the intermediate expression that causes the reading error with a specified vector. This allows for more efficient correction of reading errors. Furthermore, by using the acoustic features to which the adjustment instruction should be applied as the key of the intermediate expression adjustment dictionary 366, it is possible to determine whether or not to apply the adjustment instruction for each entry for each type of acoustic feature, thereby minimizing the impact on acoustic features that are not related to reading errors.

[0092] [Supplementary information regarding each example] The speech synthesis devices 1, 2, and 3 of the first to third embodiments are configured to have one adjustment unit 16, 27, and 36, respectively, but they may also be configured to have multiple adjustment units. For example, they may be configured to have adjustment units corresponding to duration, intermediate representation, and each acoustic feature.

[0093] Furthermore, while speech synthesizers 1, 2, and 3 are assumed to have a one-to-one correspondence between each speech unit and an intermediate representation, each speech unit may have a one-to-many correspondence with an intermediate representation. In this case, the adjustment dictionaries 161, 267, and 361 may also use the numbers of the intermediate representations corresponding to the speech units as keys. In this way, for example, when each speech unit has a one-to-two correspondence with an intermediate representation, it is possible to specify and adjust the acoustic features and intermediate representations corresponding to, for example, the first intermediate representation.

[0094] Finally, examples of the hardware configuration of the speech synthesis device 1(2,3) according to the first to third embodiments will be described.

[0095] [Example hardware configuration] Figure 21 shows an example of the hardware configuration of the speech synthesis device 1(2,3) according to the first to third embodiments. The speech synthesis device 1(2,3) comprises a processor 91, main memory 92, auxiliary storage 93, display device 94, input device 95, and communication device 96. The processor 91, main memory 92, auxiliary storage 93, display device 94, input device 95, and communication device 96 are connected via a bus 97.

[0096] Note that the speech synthesis device 1(2,3) may not be equipped with some of the above configurations. For example, if the speech synthesis device 1(2,3) can utilize the input and display functions of an external device, the speech synthesis device 1(2,3) may not be equipped with a display device 94 and an input device 95.

[0097] The processor 91 executes the program read from the auxiliary storage device 93 into the main memory device 92. The main memory device 92 is memory such as ROM and RAM. The auxiliary storage device 93 is such as an HDD (Hard Disk Drive) and a memory card.

[0098] The display device 94 is, for example, a liquid crystal display. The input device 95 is an interface for operating the speech synthesis device 1(2,3). The display device 94 and the input device 95 may be implemented by a touch panel or the like that has both display and input functions. The communication device 96 is an interface for communicating with other devices.

[0099] Alternatively, for example, the program executed by the speech synthesis device 1(2,3) may be stored on a computer connected to a network such as the Internet, and provided by allowing users to download it via the network.

[0100] Alternatively, for example, the system may be configured to provide the program executed by the speech synthesis device 1(2,3) via a network such as the Internet without requiring downloads. Specifically, the system may be configured to execute speech synthesis processing using a so-called ASP (Application Service Provider) type service, where the server computer does not transfer the program, but instead implements the processing function only by issuing execution instructions and obtaining the results.

[0101] Alternatively, for example, the program for the speech synthesis device 1(2,3) may be pre-installed and provided in ROM or the like.

[0102] The program executed by the speech synthesis device 1(2,3) has a modular configuration that includes functions that can also be implemented by the program, among the functional configurations described above. In actual hardware terms, each of these functions is loaded onto the main memory 92 by the processor 91 reading and executing the program from the storage medium. In other words, each of the above functional blocks is generated on the main memory 92.

[0103] Furthermore, some or all of the above-mentioned functions may be implemented using hardware such as ICs instead of software.

[0104] Alternatively, each function may be implemented using multiple processors 91. In this case, each processor 91 may implement one of the functions, or it may implement two or more of the functions.

[0105] While several embodiments of the present invention have been described, these embodiments are presented as examples only and are not intended to limit the scope of the invention. These novel embodiments can be carried out in a variety of other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their variations are included in the scope and spirit of the invention, as well as in the claims of the invention and its equivalents. [Explanation of Symbols]

[0106] 1,2,3 Speech synthesis device 11,21,31 Analysis part 12,22,32 encoders 13,23,33 duration decoder 14,24,34 Acoustic Feature Decoder 15,25,35 Vocoder 16,27,36 Adjustment part 26 Index Acquisition Section 91 processors 92 Main memory 93 Auxiliary storage device 94 Display device 95 Input device 96 Communication equipment 97 Bus

Claims

1. The first neural network provides an encoder that converts the attribute information of each speech unit into an intermediate representation, A second neural network generates an acoustic feature from the intermediate representation, and An adjustment unit that uses an adjustment dictionary, which has at least the attribute information of the sound unit as the key and the adjustment instruction for the acoustic feature quantity as the value, to determine the section to which the adjustment instruction is applied using the key, and adjusts the acoustic feature quantity of the determined section based on the adjustment instruction, A speech synthesis device equipped with the following features.

2. The keys of the adjustment dictionary further include information that identifies the intermediate representation obtained by the first neural network. The speech synthesis device according to claim 1.

3. The aforementioned intermediate representation is a latent representation obtained by the encoder, The information identifying the intermediate representation is an index obtained using a machine learning model that classifies the attribute information of the intermediate representation or the speech unit. The speech synthesis device according to claim 2.

4. The machine learning model for classifying the aforementioned intermediate representations is a clustering model. The aforementioned index is the cluster number obtained when classifying the intermediate representation using the aforementioned clustering model. The speech synthesis device according to claim 3.

5. The machine learning model for classifying the attribute information of the aforementioned speech units is a decision tree model. The aforementioned index is the leaf node number reached when the attribute information of the speech unit is input into the decision tree model. The speech synthesis device according to claim 3.

6. The adjustment instruction is an instruction to replace the vector representing the intermediate representation with a specified vector. The speech synthesis device according to claim 1.

7. The speech synthesis apparatus according to claim 6, wherein the instruction to replace with the specified vector is determined for each type of acoustic feature.

8. The type of acoustic feature includes at least one of the duration, logarithmic fundamental frequency, energy, and spectral feature of the speech unit. The speech synthesis device according to claim 7.

9. The aforementioned acoustic feature is the logarithmic fundamental frequency, The adjustment instruction is an instruction to apply the specified operation to the logarithmic fundamental frequency. The speech synthesis device according to claim 1.

10. The aforementioned acoustic feature quantity is the duration of the speech unit, The adjustment instruction is an instruction to apply the specified operation to the duration. The speech synthesis device according to claim 1.

11. The aforementioned acoustic feature is energy, The adjustment instruction is an instruction to apply a specified operation to the energy. The speech synthesis device according to claim 1.

12. The aforementioned acoustic features are spectral features, The adjustment instruction is an instruction to apply a specified operation to the spectral feature. The speech synthesis device according to claim 1.

13. The aforementioned acoustic feature is a non-periodic index, The adjustment instruction is an instruction to apply a specified operation to the non-periodic index. The speech synthesis device according to claim 1.

14. The speech synthesis device performs the steps of converting the attribute information of speech units into an intermediate representation using a first neural network, The speech synthesis device performs the steps of generating acoustic features from the intermediate representation using a second neural network, The speech synthesis device uses an adjustment dictionary, which has at least the attribute information of the speech unit as a key and the adjustment instructions for the acoustic features as values, to determine the interval to which the adjustment instructions are applied based on the key, and adjusts the acoustic features of the determined interval based on the adjustment instructions. A speech synthesis method that includes [this].

15. Computers, The first neural network provides an encoder that converts the attribute information of each speech unit into an intermediate representation, A second neural network generates an acoustic feature from the intermediate representation, and An adjustment unit that uses an adjustment dictionary, which has at least the attribute information of the sound unit as the key and the adjustment instruction for the acoustic feature quantity as the value, to determine the section to which the adjustment instruction is applied using the key, and adjusts the acoustic feature quantity in the determined section based on the adjustment instruction. A program designed to function as such.

Citation Information

Patent Citations

  • Voice synthesis dictionary editing device, voice synthesis dictionary editing method, and voice synthesis dictionary editing program

    JP2014174278A

  • Speech synthesis device and program

    JP2022081691A