Multi-speaker speech synthesis method based on probability generation and non-autoregressive model
By using probabilistic generation and non-autoregressive models in a multi-speaker speech synthesis system, extracting speaker personalization and probabilistic generation vectors, and combining them with deep networks for encoding and decoding, the lack of generalization and out-of-set speaker speech synthesis are solved. To solve the problem of low similarity, more efficient speech synthesis is achieved.
Patent Information
- Application Number
- CN202111601179.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-24
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-12-24
AI Technical Summary
Existing multi-speaker speech synthesis systems have problems with insufficient generalization and low similarity for speech synthesis of speakers outside the set.
A multi-speaker speech synthesis method based on probabilistic generation and non-autoregressive models is used to extract speaker personalized vectors and probabilistic generation vectors through speaker personalized encoders and probabilistic generation encoders, combined with deep networks for encoding and decoding, and phoneme prediction. Duration sequence and mel spectrum, and finally generate synthetic speech through vocoder.
It improves the generalization of the speech of speakers outside the set and the similarity of synthesized speech, and meets the application needs of multi-speaker speech synthesis.
Smart Images

Figure CN114267329B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of speech synthesis, and in particular to a multi-speaker speech synthesis method based on probability generation and non-autoregressive model. Background Art
[0002] Text To Speech (TTS) refers to a technology that can convert any text into audio. In recent years, end-to-end single-speaker speech synthesis models based on deep learning have been able to synthesize clear and natural speech. With the further development of speech synthesis technology, its application scenarios have gradually increased, and there is also a certain demand for multi-speaker speech synthesis technology, such as: rapid customization of sound libraries, audio novels, etc.
[0003] Traditional multi-speaker TTS systems use one-hot vectors to represent speaker identity and synthesize the speech of a specific speaker by changing the one-hot vector. However, the one-hot vector is only a discrete representation and does not contain speaker information. It can only represent the speakers that appear in the dataset.
[0004] For scenarios with out-of-dataset samples, mainstream multi-speaker speech synthesis systems independently train speaker recognition systems and speech synthesis systems, provide pre-trained speaker personalized encoders for multi-speaker speech synthesis models, and then introduce speaker personalized encoders into speech synthesis systems, using their encoded speaker embedding vectors to represent speaker identities. Speaker embedding vectors contain characteristic information of the target speaker. Compared with traditional multi-speaker speech synthesis systems, this system can model speakers outside the dataset and benefit from data outside of speech synthesis training data. However, this system has the defects of insufficient generalization and low similarity for speech synthesis of out-of-dataset speakers.
[0005] In addition, common multi-speaker speech synthesis models are expanded based on the acoustic feature synthesis framework of single-speaker models. Most of them use autoregressive models, which cannot be decoded in parallel, resulting in slower synthesized speech. A few multi-speaker speech synthesis systems that use non-autoregressive models have problems with generalization of synthesized speech for speakers outside the set.
[0006] Therefore, the present application provides a multi-speaker speech synthesis method based on probability generation and non-autoregressive model, so as to achieve the extraction of more generalized speaker features and improve the similarity of speech synthesis of out-of-set speakers. Summary of the invention
[0007] In order to solve the technical problems of insufficient generalization and low similarity of multi-speaker speech synthesis systems in the prior art for speakers outside the data set, the present invention proposes a multi-speaker speech synthesis method based on probability generation and non-autoregressive model to solve the above technical problems.
[0008] This application proposes a multi-speaker speech synthesis method based on probability generation and non-autoregressive model, including:
[0009] S1. The multi-speaker speech synthesis system receives a text vector and a target Mel spectrum converted from the target speaker's speech as input, and the speaker personalized encoder and probability generator receive the target Mel spectrum and extract a speaker personalized vector and a probability generation vector respectively;
[0010] S2, an encoder based on a deep network receives an input vector formed by concatenating and fusion of the speaker personalized vector and the text vector, encodes the input vector and extracts deep features to obtain phoneme-level deep features;
[0011] S3, using a phoneme duration predictor to receive a fused feature obtained by concatenating and fusion of the phoneme-level deep feature and the probability generation vector, and predicting a phoneme duration sequence;
[0012] S4, using a length regularization network to receive the phoneme duration sequence and expand the fused feature so that the length of the fused feature is equal to the time length of the target Mel spectrum, thereby obtaining a frame-level feature;
[0013] S5. A decoder based on a deep network receives the frame-level features and maps them into a predicted Mel spectrum of the same dimension as the target Mel spectrum, and uses a post-processing network to supplement residual information of the predicted Mel spectrum;
[0014] S6. Mapping the predicted Mel-spectrogram supplemented with residual information into a sound waveform using a vocoder to obtain synthesized speech.
[0015] Through the above technical scheme, the Mel spectrum converted from the speech of a single target speaker is used as input, the speaker personalized vector and the probability generation vector are extracted respectively by the speaker encoder and the probability generation encoder and combined into an input vector, the encoder based on the deep network encodes the input vector to obtain the phoneme-level deep features, and then the phoneme duration predictor receives the fusion features spliced and fused by the phoneme-level deep features and the probability generation vector and predicts the phoneme duration sequence, and then the fusion features are regularized by the length regularization network to obtain the frame-level features, the decoder based on the deep network maps the frame-level features to the predicted Mel spectrum, supplements the residual information through the post-processing network, and finally maps it to the sound waveform through the vocoder, thereby synthesizing speech. The present invention can extract speaker features with more generalization, meet the application requirements of speech synthesis of out-of-set speakers, can be used in the model construction of non-autoregressive multi-speaker speech synthesis, and improve the generalization of the multi-speaker speech synthesis system and the similarity of synthesized speech.
[0016] Preferably, the probability generation encoder and the multi-speaker speech synthesis system are jointly optimized by optimizing a loss function, thereby extracting the probability generation vector from the target Mel spectrum.
[0017] The probability generated vector contains sentence-level speaker personalization information and text information. The text information has been captured in the deep network-based encoder. The speaker personalization information can make up for the missing speaker representation in the speaker personalization vector.
[0018] Preferably, the optimization loss function is specifically:
[0019]
[0020] Among them, L is the optimization loss function of the multi-speaker speech synthesis system, MAE is the absolute error, MSE is the mean square error, x is the target Mel spectrum, is the predicted Mel spectrum without post-processing network, is the predicted Mel spectrum after the post-processing network, d is the real phoneme duration sequence extracted by the pre-trained speech recognition model, is the phoneme duration sequence predicted by the phoneme duration predictor, and KL represents the distribution q of z estimated by the probability generation encoder φ (z|x) and the assumed prior distribution p of z θ (z), the distance between θ (z) is the standard normal distribution.
[0021] Preferably, the probability generation encoder includes a two-dimensional convolutional neural network, a gated recurrent unit and a first fully connected layer, and the step of obtaining the probability generation vector specifically includes:
[0022] Using a variational autoencoder to receive the target Mel spectrum and output a vector of fixed length;
[0023] The vector passes through the two-dimensional convolutional neural network, and the convolution layer in the two-dimensional convolutional neural network extracts local features in the speech of the target speaker to obtain an output sequence;
[0024] The output sequence is passed through the gated recurrent unit to establish a temporal correlation;
[0025] The last state of the last time step of the gated recurrent unit is input to the first fully connected layer, and the first fully connected layer outputs the mean and standard deviation of the probability distribution, and the mean and standard deviation of the probability distribution are sampled to obtain the probability generation vector.
[0026] Preferably, the speaker personalized encoder adopts an x-vector model, which is obtained by pre-training a text-independent speaker recognition task and then fixing relevant parameters. The x-vector model includes a frame-level learning layer, a statistical pooling layer, and a segment-level learning layer. The steps of obtaining the speaker personalized vector specifically include:
[0027] The frame-level learning layer receives the target Mel spectrum, obtains deep speaker features and inputs them into the statistical pooling layer;
[0028] The statistical pooling layer calculates the mean and standard deviation of each sentence in the target speaker's speech and inputs them into the segment-level learning layer;
[0029] The segment-level learning layer includes two second fully connected layers, and the first layer and the second fully connected layer are selected to extract the speaker personalized vector.
[0030] Further preferably, a batch normalization layer is added after each convolution layer in the two-dimensional convolutional neural network.
[0031] By adding a batch normalization layer after each convolution layer in the two-dimensional convolutional neural network, the intermediate output values of the network in each layer are made more stable.
[0032] Further preferably, the frame-level learning layer adopts a decomposed delay neural network, which splits each layer of the delay neural network into the product of two low-rank matrices and semi-orthogonalizes the first of the low-rank matrices.
[0033] By adopting the decomposition delay neural network, it is ensured that information is not lost from high dimensions to low dimensions, so that fewer parameters can be used with the same modeling capability. The decomposition delay neural network uses a skip connection structure, which helps to build a deeper network model and obtain a more abstract speaker representation.
[0034] Preferably, the multi-speaker speech synthesis system is obtained by training multiple groups of original speech, and before training the multi-speaker speech synthesis system, it also includes: performing data preprocessing on the original speech, wherein the data preprocessing includes silence processing, volume normalization, extracting Mel spectrum as acoustic features and acoustic feature mean variance normalization.
[0035] Silence processing can speed up the data loading process during training and reduce the resources occupied; volume normalization can ensure the consistency of volume during the synthesis of speech; extracting Mel spectrum as acoustic features and normalizing the mean variance of acoustic features can help the model better fit the feature distribution.
[0036] Further preferably, the silence processing specifically includes: cutting out the long silence at the beginning and end of the original speech.
[0037] Further preferably, the formula for normalizing the mean variance of the acoustic features is specifically:
[0038]
[0039] Among them, X is the current acoustic eigenvalue, X mean is the mean of the acoustic features in the training set, σ is the standard deviation of the acoustic features in the training set, X scale is the normalized acoustic eigenvalue.
[0040] This application proposes a multi-speaker speech synthesis method based on probability generation and non-autoregressive model, which takes the Mel spectrum converted from the speech of a single target speaker as input, and then extracts the speaker personalized vector and the probability generation vector respectively through the speaker encoder and the probability generation encoder to jointly extract the target speaker representation; wherein the probability generation encoder is jointly optimized with the entire multi-speaker speech synthesis system, and the extracted probability generation vector contains the speaker personalized information and text information at the sentence level, and the text information has been captured in the encoder based on the deep network, and the speaker personalized information can make up for the missing speaker representation in the speaker personality vector. This application can extract more generalized speaker features, meet the application requirements for speech synthesis of out-of-set speakers, and can be used in the model construction of non-autoregressive multi-speaker speech synthesis to improve the generalization of multi-speaker speech synthesis and the similarity of synthesized speech. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings are included to provide a further understanding of the embodiments and are incorporated into and constitute a part of this specification. The accompanying drawings illustrate the embodiments and are used together with the description to explain the principles of the present invention. It will be easy to recognize other embodiments and many expected advantages of the embodiments because they become better understood by reference to the following detailed description. The elements of the drawings are not necessarily to scale with each other. The same reference numerals refer to corresponding similar parts.
[0042] Figure 1 is a flow chart of a multi-speaker speech synthesis method based on probability generation and non-autoregressive model according to an embodiment of the present invention;
[0043] Figure 2 is a structural diagram of a probability generation encoder according to a specific embodiment of the present invention;
[0044] Figure 3 is a structural diagram of an x-vector model according to a specific embodiment of the present invention;
[0045] Figure 4 1 is a diagram showing the structure of a multi-speaker speech synthesis network based on probability generation and non-autoregressive model according to a specific embodiment of the present invention. DETAILED DESCRIPTION
[0046] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.
[0047] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the statement "include...." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements.
[0048] Figure 1 FIG. 4 shows a flowchart of a multi-speaker speech synthesis method based on probability generation and non-autoregressive model according to an embodiment of the present invention. Figure 1 As shown, the speech synthesis method comprises the following steps:
[0049] S1. The multi-speaker speech synthesis system receives a text vector and a target Mel spectrum converted from the target speaker's speech as input. The speaker personalized encoder and probability generator receive the target Mel spectrum and extract a speaker personalized vector and a probability generation vector respectively.
[0050] In a specific embodiment, the text vector is used as the input of the multi-speaker speech synthesis system, and the text vector contains the text information required by the multi-speaker speech synthesis system, and the input target Mel spectrum also carries the text information. The multi-speaker speech synthesis system is obtained by training multiple groups of original speech. Before training the multi-speaker speech synthesis system, the original speech is preprocessed, wherein the data preprocessing specifically includes: silence processing, volume normalization, extraction of Mel spectrum as acoustic features and acoustic feature mean variance normalization.
[0051] Specifically, the mute processing includes:
[0052] The long silence at the beginning and end of the original speech is trimmed. Silence processing can speed up the data loading process during training and reduce the occupied resources.
[0053] Volume normalization can ensure the consistency of volume during the synthesis of speech.
[0054] Extracting Mel spectrum as acoustic features specifically includes:
[0055] The original speech is processed using the Librosa speech processing package to generate 80-dimensional Mel spectrum features, and the Mel spectrum features are used as the acoustic features.
[0056] The formula for normalizing the mean variance of acoustic features is as follows:
[0057]
[0058] Among them, X is the current acoustic eigenvalue, X mean is the mean of the acoustic features in the training set, σ is the standard deviation of the acoustic features in the training set, X scale is the normalized acoustic feature value. Normalizing the mean variance of acoustic features helps the model better fit the feature distribution.
[0059] Figure 2 FIG. 4 shows a structural diagram of a probability generating encoder according to a specific embodiment of the present invention. Figure 2As shown, in a specific embodiment, the probability generation encoder includes a 6-layer two-dimensional convolutional neural network with a convolution kernel size of 3×3 and a step size of 22, a gated recurrent unit, and a first fully connected layer. In other embodiments, the parameters of the two-dimensional convolutional neural network can be adjusted according to different requirements. The extraction process of the probability generation vector is as follows:
[0060] In this embodiment, a variational autoencoder is used to receive the target Mel spectrum and output a fixed-length vector, which represents the state representation of the target speaker. The vector passes through a two-dimensional convolutional neural network, and the convolution layer of the two-dimensional convolutional neural network adopts the same zero padding method (Same Padding), and the number of convolution kernels is 32, 32, 64, 64, 128, 128 respectively. The convolution layer extracts the local features in the target speaker's speech and obtains an output sequence. Since the output sequence is a sequence of variable length and contains a large amount of time series information, the output sequence is added to the gated recurrent unit (GRU) network to establish time series correlation; the last state of the last time step of the gated recurrent unit is used as the input of the first fully connected layer, and the first fully connected layer outputs the mean (μ) and standard deviation (σ) of the probability distribution; assuming that the true distribution is a standard normal distribution, the mean and standard deviation are set to 0 and 1; in order to make the target speaker state space have a boundary, the activation function of the first fully connected layer is set to the Tanh activation function, and the mean and standard deviation are sampled to obtain the probability generation vector.
[0061] In a preferred embodiment, in order to make the intermediate output values of each layer of the network more stable, a batch normalization layer is added after each convolution layer in the two-dimensional convolutional neural network (since this operation is often used after the convolution layer, it is not reflected in the figure).
[0062] Figure 3 FIG. 4 shows a structural diagram of an x-vector model according to a specific embodiment of the present invention. Figure 3 As shown, in a specific embodiment, the speaker personalized encoder adopts an x-vector model, which is obtained by pre-training a text-independent speaker recognition task and then fixing relevant parameters. The x-vector model includes a frame-level learning layer, a statistical pooling layer, and a segment-level learning layer. The process of extracting the speaker personalized vector is as follows:
[0063] The frame-level learning layer receives the target Mel spectrum. The frame-level learning layer uses the Factorized Time Delay Neural Network (FTDNN) in learning. Compared with the Time Delay Neural Network (TDNN), FTDNN splits each layer of TDNN into the product of two low-rank matrices. By semi-orthogonalizing the first low-rank matrix, it ensures that there is no loss of information from high dimensions to low dimensions. In this way, it can have fewer parameters under the same modeling capability, and FTDNN uses a skip connection structure, which helps to build a deeper network model and obtain a deep speaker representation. The statistical pooling layer receives a deep speaker representation. The statistical pooling layer can calculate the mean and standard deviation of each sentence in the target speaker's speech, and splice them as the input of the segment-level learning layer. The segment-level learning layer includes two layers of the second fully connected layer. In this embodiment, the first layer is used to extract the speaker embedding vector, that is, the speaker personalized vector, and the second layer is used to extract the speaker label.
[0064] Continue to refer to Figure 1 , after step S1,
[0065] S2. The deep network-based encoder receives an input vector that is a concatenation of the speaker's personalized vector and the text vector, encodes the input vector and extracts deep features to obtain phoneme-level deep features.
[0066] Figure 4 FIG. 4 shows a network structure diagram of multi-speaker speech synthesis based on probability generation and non-autoregressive model according to a specific embodiment of the present invention. Figure 4 As shown, in a specific embodiment, the probability generation encoder and the multi-speaker speech synthesis system are jointly optimized by optimizing the loss function, so as to extract the probability generation vector from the target Mel spectrum. The probability generation vector contains the speaker's personalized information and text information at the sentence level. The text information has been captured in the encoder based on the deep network. The speaker's personalized information can make up for the speaker representation missing in the speaker's personalized vector, and provide more comprehensive speaker information for the multi-speaker speech synthesis system. Among them, the expression of the optimized loss function is specifically:
[0067] z=f vae (x)
[0068]
[0069]
[0070]
[0071] Where z is the probability generation vector, t is the input text information, s is the speaker personalized vector extracted by the speaker personalized encoder, and d is the real phoneme duration sequence extracted by the pre-trained speech recognition model. is the phoneme duration sequence predicted by the phoneme duration predictor, x is the target Mel spectrum, is the predicted Mel spectrum without post-processing network, is the predicted Mel spectrum after the post-processing network, L is the optimization loss function of the multi-speaker speech synthesis system, and f vae is the probability generative encoder, f enc is an encoder based on a deep network, f dur is the phoneme duration predictor, f len is the length regularized network, f dec is a decoder based on a deep network; MAE is the absolute error, MSE is the mean square error, and KL represents the distribution q of z estimated by the probability generation encoder φ (z|x) and the assumed prior distribution p of z θ (z), the distance between θ (z) is the standard normal distribution.
[0072] Continue to refer to Figure 1 and Figure 4 , after step S2,
[0073] S3. Use the phoneme duration predictor to receive the fused features formed by concatenating and fusion of the phoneme-level deep features and the probability generation vector, and predict the phoneme duration sequence.
[0074] S4. Use the length regularization network to receive the phoneme duration sequence and expand the fused features so that the length of the fused features is equal to the time length of the target Mel spectrum, thereby obtaining frame-level features.
[0075] In a specific embodiment, each element of the fused feature is expanded by multiples according to the corresponding numerical value in the phoneme duration sequence.
[0076] S5. The deep network-based decoder receives frame-level features and maps them into predicted Mel spectrum of the same dimension as the target Mel spectrum, and uses the post-processing network to supplement the residual information of the predicted Mel spectrum.
[0077] S6. Use a vocoder to map the predicted Mel spectrum supplemented with residual information into a sound waveform to obtain synthesized speech.
[0078] The present invention proposes a multi-speaker speech synthesis method based on probability generation and non-autoregressive model, which takes the Mel spectrum converted from the speech of a single target speaker as input, extracts the speaker personalized vector and the probability generation vector respectively through the speaker encoder and the probability generation encoder and combines them into an input vector, encodes the input vector based on the encoder to obtain the phoneme-level deep features, and then receives the fused features of the phoneme-level deep features and the probability generation vector through the phoneme duration predictor and predicts the phoneme duration sequence, and then regularizes the frame-level features through the length regularization network, and maps the frame-level features to the predicted Mel spectrum through the decoder based on the deep network, supplements the residual information through the post-processing network, and finally maps them to the sound waveform through the vocoder, so as to synthesize speech.
[0079] The probability generation encoder introduced in the present invention uses the real Mel spectrum as the acoustic feature to perform Gaussian distribution probability modeling. The generation process is not limited to the data of the training set, has a strong representation of the real data, and improves the generalization ability of the data outside the set; the probability generation encoder can accurately model the latent space distribution, infer the global features at the sentence level from the real Mel spectrum, and the target speaker information contained in it can make up for the target speaker representation that the pre-trained speaker personalized encoder does not pay attention to due to different tasks, and improves the similarity of the speaker characteristics of the synthesized speech and the target speech. In addition, the probability generation encoder is jointly optimized with the multi-speaker speech synthesis system, which can better adapt to the multi-speaker speech synthesis task. In summary, the present invention can extract more generalized speaker features, meet the application requirements for speech synthesis of speakers outside the set, and can be used in the model construction of non-autoregressive multi-speaker speech synthesis to improve the generalization of multi-speaker speech synthesis and the similarity of synthesized speech.
[0080] In the embodiments of the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device / system / method embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0081] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0082] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0083] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0084] Obviously, those skilled in the art can make various modifications and changes to the embodiments of the present invention without departing from the spirit and scope of the present invention. In this way, if these modifications and changes are within the scope of the claims of the present invention and their equivalents, the present invention is also intended to cover these modifications and changes. The word "comprising" does not exclude the presence of other elements or steps not listed in the claims. The simple fact that certain measures are recorded in mutually different dependent claims does not indicate that the combination of these measures cannot be used to profit. Any reference numerals in the claims should not be considered to limit the scope.
Claims
1. A multi-speaker speech synthesis method based on probability generation and non-autoregressive model, It is characterized in that The following steps are involved: S1. The multi-speaker speech synthesis system receives a text vector and a target Mel spectrum converted from the target speaker's speech as input, and the speaker personalized encoder and probability generator receive the target Mel spectrum and extract a speaker personalized vector and a probability generation vector respectively; S2, an encoder based on a deep network receives an input vector formed by concatenating and fusion of the speaker personalized vector and the text vector, encodes the input vector and extracts deep features to obtain phoneme-level deep features; S3, using a phoneme duration predictor to receive a fused feature obtained by concatenating and fusion of the phoneme-level deep feature and the probability generation vector, and predicting a phoneme duration sequence; S4. Receive the phoneme duration sequence using a length regularization network and expand the fused feature so that the length of the fused feature is equal to the time length of the target Mel spectrum, thereby obtaining a frame-level feature: S5. A decoder based on a deep network receives the frame-level features and maps them into a predicted Mel spectrum of the same dimension as the target Mel spectrum, and uses a post-processing network to supplement the residual information of the predicted Mel spectrum: S6, mapping the predicted Mel spectrum supplemented with residual information into a sound waveform using a vocoder to obtain synthesized speech; In step S1, the speaker personalized encoder adopts an x-vector model, which is obtained by pre-training a text-independent speaker recognition task and fixing relevant parameters. The x-vector model includes a frame-level learning layer, a statistical pooling layer, and a segment-level learning layer. The steps of obtaining the speaker personalized vector specifically include: The frame-level learning layer receives the target Mel spectrum, obtains deep speaker features and inputs them into the statistical pooling layer; The statistical pooling layer calculates the mean and standard deviation of each sentence in the target speaker's speech and inputs them into the segment-level learning layer; The segment-level learning layer includes two second fully connected layers, and the first and second fully connected layers are selected to extract the speaker personalized vector; The probability generation vector extraction step specifically includes: The probability generator and the multi-speaker speech synthesis system are jointly optimized by optimizing a loss function, thereby extracting the probability generation vector from the target Mel spectrum. The optimized loss function is specifically: Among them, L is the optimization loss function of the multi-speaker speech synthesis system, MAE is the absolute error, MSE is the mean square error, x is the target Mel spectrum, is the predicted Mel spectrum without post-processing network, is the predicted Mel spectrum after the post-processing network, d is the real phoneme duration sequence extracted by the pre-trained speech recognition model, is the phoneme duration sequence predicted by the phoneme duration predictor, z represents the probability generation variable, and KL represents the distribution q of z estimated by the probability generator φ (z|x) and the assumed prior distribution p of z θ (z), the distance between θ (z) is the standard normal distribution.
2. The method according to claim 1, It is characterized in that The probability generator includes a two-dimensional convolutional neural network, a gated recurrent unit and a first fully connected layer, and the steps of obtaining the probability generation vector specifically include: Using a variational autoencoder to receive the target Mel spectrum and output a vector of fixed length; The vector passes through the two-dimensional convolutional neural network, and the convolution layer in the two-dimensional convolutional neural network extracts local features in the speech of the target speaker to obtain an output sequence; The output sequence is passed through the gated recurrent unit to establish a temporal correlation; The last state of the last time step of the gated recurrent unit is input to the first fully connected layer, and the first fully connected layer outputs the mean and standard deviation of the probability distribution, and the mean and standard deviation of the probability distribution are sampled to obtain the probability generation vector.
3. The method according to claim 2, It is characterized in that A batch normalization layer is added after each convolution layer in the two-dimensional convolutional neural network.
4. The method according to claim 1, It is characterized in that The frame-level learning layer adopts a decomposed delay neural network, which splits each layer of the delay neural network into the product of two low-rank matrices and semi-orthogonalizes the first low-rank matrix.
5. The method according to claim 1, It is characterized in that The multi-speaker speech synthesis system is obtained by training multiple groups of original speech. Before training the multi-speaker speech synthesis system, the method further includes: performing data preprocessing on the original speech, wherein the data preprocessing includes silence processing, volume normalization, extracting Mel spectrum as acoustic features, and normalizing the mean variance of acoustic features.
6. The method according to claim 5, It is characterized in that The formula for normalizing the mean variance of acoustic features is specifically: Among them, X is the current acoustic eigenvalue, X mean is the mean of the acoustic features in the training set, σ is the standard deviation of the acoustic features in the training set, X scale is the normalized acoustic eigenvalue.
Citation Information
Patent Citations
Many-to-many voice conversion method based on double voiceprint feature vectors and sequence-to-sequence modeling
CN112071325A
Lightweight multi-speaker voice synthesis system and electronic equipment
CN112133282A
Multi-speaker voice synthesis method based on variational auto-encoder
CN112289304A
Chinese speech synthesis method fusing rhythm and personal information
CN113393829A
Systems and methods for neural text-to-speech using convolutional sequence learning
US20190122651A1
