Method, device, computer storage medium and terminal for realizing audio information processing
By generating and fusing speech text feature vectors and easy-to-mix position mark vectors, and performing vector dot product and prediction processing, the problem of low speech quality in the existing technology is solved, and high-quality and natural speech synthesis is achieved.
Patent Information
- Application Number
- CN202210015056.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-07
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When the existing technology generates exaggerated speech, the quality of the synthesized speech is not high, the machine sound is serious, and the naturalness is low, making it difficult to obtain natural and high-quality exaggerated speech.
By generating a preset number of speech text feature vectors and easy-to-mix position mark vectors, vector dot product calculation and fusion processing are performed, combined with prediction processing, decoding and generating synthetic audio files to improve the audio quality and naturalness of speech.
It achieves high-quality synthesized speech, improves the naturalness and audio quality of speech, and solves the problems of low speech quality and low naturalness in speech synthesis.
Smart Images

Figure CN114333761B
Abstract
Description
Technical Field
[0001] The present invention relates to but is not limited to multimedia information processing technology, and in particular to a method, device, computer storage medium and terminal for implementing audio information processing. Background Art
[0002] Due to the influence of language transfer, second language learners tend to replace unfamiliar phonemes in the second language with phonemes in their native language, resulting in learners' pronunciation errors, which are difficult to detect. In computer-assisted pronunciation training (CAPT), providing auditory and visual perceptible feedback is necessary for learners to master the correct pronunciation of the second language.
[0003] When learners make mistakes in pronunciation, teachers generally use exaggeration to guide learners in teaching, such as demonstrating loudly and slowly to clearly show the correct pronunciation of the mouth shape. Inspired by this, some technicians have proposed a method of feedback exaggerated speech. When learners' pronunciation errors are detected, exaggerated visual speech animations for speech correction are fed back based on the text of the pronunciation errors, so that learners can correct their pronunciation. In order to generate exaggerated visual speech animations, the above method performs audio exaggeration and video exaggeration on the speech to be corrected, and finally synthesizes the audio exaggeration and video exaggeration into audio and video; among them, the audio exaggeration part mainly generates exaggerated audio through a text-to-speech synthesizer (TTS) by exaggerating the phoneme text in the sentence.
[0004] The above method adjusts the parameters of speech synthesis with exaggerated expressiveness to achieve exaggerated expression of pronunciation mouth shape, tongue position, pronunciation method errors and stress errors in the auditory mode; specifically, in order to achieve the phoneme exaggeration of the speech that needs to be corrected, the audio exaggeration is mainly achieved by enhancing the following five acoustic features: fundamental pitch level, pitch change, energy, pause length and duration; speech analysis and synthesis are based on the direct (STRAIGHT) algorithm, including two levels: 1. The pronunciation is acoustically highlighted as a whole to achieve the purpose of emphasizing the phoneme, and the highlighting is mainly achieved by increasing the parameters related to rhythm; 2. The key points of pronunciation errors are emphasized, mainly by modifying the spectrum. Feedback of exaggerated speech can improve the perception of erroneous phonemes in the audio-visual mode, making it easier for learners to find pronunciation errors; but the synthesized exaggerated speech has the following problems: low voice quality, serious machine sound, low voice naturalness, etc. How to obtain natural and high-quality exaggerated speech has become a problem to be solved. Summary of the invention
[0005] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
[0006] The embodiments of the present invention provide a method, an apparatus, a computer storage medium and a terminal for realizing audio information processing, which can improve the audio quality of synthesized speech and obtain synthesized speech with high naturalness.
[0007] An embodiment of the present invention provides a method for implementing audio information processing, including:
[0008] Generate a preset number of first speech text feature vectors of the first text;
[0009] For the second text included in the first text, generating a first easily mixable sound position marking vector according to easily mixable sound position information pre-marked in the second text;
[0010] Performing vector dot product calculation on the first speech text feature vector and the first easily mixed sound position mark vector to obtain a second speech text feature vector containing correlation information and a second easily mixed sound position mark vector containing correlation information;
[0011] The obtained second speech text feature vector and the second easily mixed sound position mark vector are fused to obtain a speech vector containing easily mixed sound information;
[0012] Performing prediction processing on the obtained speech vector to obtain first feature data of the speech vector;
[0013] Decode the first text according to the obtained first feature data to obtain an audio spectrum of the first text;
[0014] generating a synthesized audio file of the first text according to the obtained audio spectrum;
[0015] Among them, the first text contains a second text in a first preset proportion and a third text in a second preset proportion; the second text is: a text containing more than one easily mixed sounds; the correlation information includes: information on the weight relationship between the phoneme features of each phoneme contained in the first speech text feature vector and the first easily mixed sound position mark vector.
[0016] On the other hand, an embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned method for processing audio information is implemented.
[0017] In another aspect, an embodiment of the present invention further provides a terminal, comprising: a memory and a processor, wherein the memory stores a computer program; wherein:
[0018] The processor is configured to execute the computer program in the memory;
[0019] When the computer program is executed by the processor, the method for processing audio information as described above is implemented.
[0020] In another aspect, an embodiment of the present invention further provides a device for implementing audio information processing, comprising:
[0021] The first generating unit is configured to: generate a preset number of first speech text feature vectors of the first text;
[0022] The second generating unit is configured to: generate a first easily mixable sound position marking vector according to the easily mixable sound position information pre-marked in the second text for the second text included in the first text;
[0023] The dot product calculation unit is configured to: perform vector dot product calculation on the first speech text feature vector and the first easily mixed sound position mark vector to obtain a second speech text feature vector containing correlation information and a second easily mixed sound position mark vector containing correlation information;
[0024] The fusion processing unit is configured to: perform fusion processing on the obtained second speech text feature vector and the second easily mixed sound position mark vector to obtain a speech vector containing easily mixed sound information;
[0025] The prediction processing unit is configured to: perform prediction processing on the obtained speech vector to obtain first feature data of the speech vector;
[0026] The decoding unit is configured to: decode the first text according to the obtained first feature data, and generate a synthetic audio file of the first text according to the decoding result;
[0027] Among them, the first text contains a second text in a first preset proportion and a third text in a second preset proportion; the second text is: a text containing more than one easily mixed sounds; the correlation information includes: information on the weight relationship between the phoneme features of each phoneme contained in the first speech text feature vector and the first easily mixed sound position mark vector.
[0028] The technical scheme of the present application includes: generating a preset number of first speech text feature vectors of the first text; generating a first easy-to-mix position mark vector for the second text contained in the first text according to the easy-to-mix position information pre-marked in the second text; performing vector dot product calculation on the first speech text feature vector and the first easy-to-mix position mark vector to obtain a second speech text feature vector containing correlation information and a second easy-to-mix position mark vector containing correlation information; performing fusion processing on the obtained second speech text feature vector and the second easy-to-mix position mark vector to obtain a speech vector containing easy-to-mix information; performing prediction processing on the obtained speech vector to obtain the first feature data of the speech vector; decoding the first text according to the obtained first feature data, and generating a synthetic audio file of the first text according to the decoding result; wherein the first text contains a first preset proportion of the second text and a second preset proportion of the third text; the second text is: a text containing more than one easy-to-mix text; the correlation information includes: a weight relationship between the phoneme features of each phoneme contained in the first speech text feature vector and the first easy-to-mix position mark vector. The embodiment of the present invention improves the audio quality of the synthesized speech and obtains a highly natural synthesized speech.
[0029] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0031] Figure 1 A flowchart of a method for processing audio information according to an embodiment of the present invention;
[0032] Figure 2 A structural block diagram of a device for implementing audio information processing according to an embodiment of the present invention;
[0033] Figure 3 Schematic diagram of the composition of the multimodal attention layer of an embodiment of the present invention. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily without conflict.
[0035] The steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions. Also, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described can be performed in a sequence different from that shown here.
[0036] Figure 1 Flow chart of a method for processing audio information implemented in an embodiment of the present invention, such as Figure 1 As shown, including:
[0037] Step 101, generating a preset number of first speech text feature vectors of a first text;
[0038] Step 102: for a second text included in a first text, generating a first easily mixed sound position marking vector according to easily mixed sound position information pre-marked in the second text; wherein the first text includes a first preset proportion of the second text and a second preset proportion of the third text; and the second text is a text including more than one easily mixed sound;
[0039] In an exemplary embodiment, the third text of the embodiment of the present invention includes: text that does not contain easily mixable sounds;
[0040] It should be noted that there is no order of precedence for the processing of step 101 and step 102, and they can be performed simultaneously.
[0041] Step 103: perform vector dot product calculation on the first speech text feature vector and the first easily mixable position marker vector to obtain a second speech text feature vector containing correlation information and a second easily mixable position marker vector containing correlation information; wherein the correlation information includes: information on the weight relationship between the phoneme features of each phoneme contained in the first speech text feature vector and the first easily mixable position marker vector;
[0042] Step 104: fusing the obtained second speech text feature vector and the second easily mixed sound position marker vector to obtain a speech vector containing easily mixed sound information;
[0043] Step 105: performing prediction processing on the obtained speech vector to obtain first feature data of the speech vector;
[0044] In an exemplary embodiment, the first feature data of the embodiment of the present invention includes one or any combination of the following of the speech vector: energy feature, fundamental frequency feature and duration feature.
[0045] Step 106: Decode the first text according to the obtained first feature data, and generate a synthetic audio file of the first text according to the decoding result.
[0046] The embodiments of the present invention improve the audio quality of synthesized speech and obtain synthesized speech with high naturalness.
[0047] In an exemplary embodiment, before performing vector dot product calculation on the first speech text feature vector and the first easily miscible position marker vector, the method of the embodiment of the present invention further includes:
[0048] Converting the first speech text feature vector into a vector with the same dimension as the first easily mixable position marker vector;
[0049] Among them, dimensions include: length and width.
[0050] In an exemplary embodiment, step 103 of the embodiment of the present invention performs vector dot product calculation on the first speech text feature vector and the first easily miscible position marker vector, including:
[0051] Input the speech text feature vector and the easy-to-mix position marker vector into the multimodal attention layer to perform vector dot product calculation;
[0052] In an exemplary embodiment, step 104 of the embodiment of the present invention performs a fusion process on the obtained second speech text feature vector and the second easily miscible position marker vector, including:
[0053] The second easily mixed position marker vector is used as query information (Query), and the second speech text feature vector is used as the keyword (Key) and value (Value), and the following attention operation is performed:
[0054] The second easy-to-mix position mark vector and the second speech text feature vector are multiplied after linear transformation to obtain a vector multiplication result;
[0055] Performing a dot product on the obtained vector multiplication result and the linearly transformed first speech text feature vector to obtain a vector dot product;
[0056] The vector dot product obtained by calculation is divided by a preset normalization coefficient to obtain a speech vector.
[0057] In an exemplary embodiment, the embodiment of the present invention performs prediction processing on the speech vector by using one or any combination of the following predictors to obtain the first feature data:
[0058] Energy predictor, fundamental frequency predictor and duration predictor.
[0059] In an exemplary embodiment, step 106 of the embodiment of the present invention decodes the first text according to the obtained first feature data, including:
[0060] Converting the first feature data into a spectrum feature of the first text;
[0061] The spectral features are converted through a preset sequence generation model to obtain the corresponding Mel spectrum;
[0062] Perform Fourier transform on the Mel spectrum to obtain a synthesized audio file of the first text.
[0063] In an exemplary embodiment, after obtaining the first feature data of the speech vector, the method of the embodiment of the present invention further includes:
[0064] Processing the training set speech according to the forced alignment to obtain second feature data of the phonemes contained in the training set speech;
[0065] Calculate the first regression loss function L2 loss according to the second feature data and the first feature data;
[0066] The first L2 loss obtained by gradient backpropagation calculation adjusts the processing parameters of the prediction process;
[0067] Among them, the training set speech includes: audio obtained after audio recording of the second text and the third text; the easily mixed sound contained in the second text in the training set speech is recorded in a preset manner; the second feature data includes one or any combination of the following phonemes contained in the training set speech: energy feature, fundamental frequency feature and duration feature.
[0068] In an exemplary embodiment, the method of the embodiment of the present invention further includes:
[0069] Inputting the spectral features of the training set speech into a preset classifier for classification processing to obtain easy-to-mix training result information of the training set speech;
[0070] Calculate the second L2 loss according to the obtained easy-to-mix training result information and the easy-to-mix tag information of the training set speech;
[0071] The calculated second L2 loss gradient is fed back to the classifier, so that the classifier can regain the easily confused training result information through training; when the regained easily confused training result information is different from the easily confused label information, the second L2 loss is continued to be calculated, and the newly calculated second L2 loss gradient is fed back to the classifier, so that the classifier can regain the easily confused training result information through training; when the regained easily confused training result information is the same as the easily confused label information, a classifier whose operation parameters meet the requirements is obtained;
[0072] Inputting the spectral features of the first text into a classifier whose operation parameters meet the requirements, obtaining the classifier output easy-to-mix judgment result information; calculating the third L2 loss according to the easy-to-mix judgment result information and the easy-to-mix label vector;
[0073] The third L2 loss obtained by gradient backpropagation calculation is used to adjust the processing parameters for generating the first easy-to-mix position labeling vector and / or the processing parameters for the prediction processing; wherein the easy-to-mix training result information includes the output of the classifier: whether the information on easy-to-mix and the easy-to-mix position is included; the easy-to-mix labeling information includes: pre-marked easy-to-mix position information and whether the information on easy-to-mix is included determined based on the pre-marked easy-to-mix position information; the easy-to-mix judgment result information includes the output of the classifier whose operation parameters meet the requirements: whether the information on easy-to-mix and the easy-to-mix position is included; the classifier includes: a first preset number of convolutional layers and a second preset number of linear layers.
[0074] In an exemplary embodiment, the method of the embodiment of the present invention further includes:
[0075] According to a preset identification strategy, a first identification for identifying the speech as the training set speech is set for the spectral features of the training set speech, and a second identification for identifying the speech as the synthesized speech is set for the spectral features of the synthesized audio file;
[0076] Inputting the spectral features of the training set speech with the first identifier and the spectral features of the synthesized audio file with the second identifier into a preset discriminator for speech type determination processing to obtain speech type determination information;
[0077] calculating a fourth L2 loss for the speech type identification information and the speech type determination information;
[0078] The calculated fourth L2 loss gradient is fed back to the classifier, so that the discriminator can regain the speech type judgment information through training; when the speech type identification information and the regained speech type judgment information are different, the fourth L2 loss is continued to be calculated, and the latest calculated fourth L2 loss gradient is fed back to the discriminator, so that the discriminator can regain the speech type judgment information through training; when the speech type identification information and the regained speech type judgment information are the same, a discriminator whose operation parameters meet the requirements is obtained;
[0079] Inputting the spectral features of the training set speech with the first identifier added and the spectral features of the synthesized audio file with the second identifier added into a discriminator whose operation parameters meet the requirements, to obtain speech type result information;
[0080] Calculate the fifth L2 loss according to the speech category result information and the speech category identification information, and adjust the processing parameters of the prediction process by calculating the fifth L2 loss obtained by gradient backpropagation;
[0081] Among them, the second identifier is used to identify the synthesized audio file as a generated file, and the first identifier is used to identify the training set speech as a recorded file; the discriminator includes: a third preset number of convolutional layers and a fourth preset number of linear layers; the speech type judgment information includes: the speech is the training set speech or the synthesized speech; the speech type identification information includes the first identifier and the second identifier.
[0082] In an exemplary embodiment, the spectral features of the speech in the training set of the embodiment of the present invention are obtained by Fourier transform.
[0083] The embodiment of the present invention can obtain a more natural synthesized audio file by adjusting the processing parameters of the prediction process.
[0084] The embodiment of the present invention further provides a computer storage medium, in which a computer program is stored. When the computer program is executed by a processor, the above-mentioned method for processing audio information is implemented.
[0085] The embodiment of the present invention further provides a terminal, comprising: a memory and a processor, wherein a computer program is stored in the memory; wherein:
[0086] The processor is configured to execute the computer program in the memory;
[0087] When the computer program is executed by a processor, the method for processing audio information as described above is implemented.
[0088] Figure 2 FIG. 1 is a structural block diagram of a device for implementing audio information processing according to an embodiment of the present invention. Figure 2 As shown, it includes: a first generation unit, a second generation unit, a dot product calculation unit, a fusion processing unit, a prediction processing unit, a decoding unit and a synthesis unit; wherein,
[0089] The first generating unit is configured to: generate a preset number of first speech text feature vectors of the first text;
[0090] The second generating unit is configured to: generate a first easily mixable sound position marking vector according to the easily mixable sound position information pre-marked in the second text for the second text included in the first text;
[0091] The dot product calculation unit is configured to: perform vector dot product calculation on the first speech text feature vector and the first easily mixed sound position mark vector to obtain a second speech text feature vector containing correlation information and a second easily mixed sound position mark vector containing correlation information;
[0092] The fusion processing unit is configured to: perform fusion processing on the obtained second speech text feature vector and the second easily mixed sound position mark vector to obtain a speech vector containing easily mixed sound information;
[0093] The prediction processing unit is configured to: perform prediction processing on the obtained speech vector to obtain first feature data of the speech vector;
[0094] The decoding unit is configured to: decode the first text according to the obtained first feature data, and generate a synthetic audio file of the first text according to the decoding result;
[0095] Among them, the first text contains a second text in a first preset proportion and a third text in a second preset proportion; the second text is: a text containing more than one easily mixed sounds; the correlation information includes: information on the weight relationship between the phoneme features of each phoneme contained in the first speech text feature vector and the first easily mixed sound position mark vector.
[0096] In an exemplary embodiment, the third text of the embodiment of the present invention includes: text that does not contain easily mixable sounds;
[0097] In an exemplary embodiment, the first feature data of the embodiment of the present invention includes one or any combination of the following of the speech vector: energy feature, fundamental frequency feature and duration feature.
[0098] The embodiments of the present invention improve the audio quality of synthesized speech and obtain synthesized speech with high naturalness.
[0099] In an exemplary embodiment, the dot product calculation unit of the embodiment of the present invention is configured as follows:
[0100] Input the speech text feature vector and the easy-to-mix position marker vector into the multimodal attention layer to perform vector dot product calculation;
[0101] In an exemplary embodiment, step 104 of the embodiment of the present invention performs a fusion process on the obtained second speech text feature vector and the second easily miscible position marker vector, including:
[0102] The second easily mixed position marker vector is used as query information (Query), and the second speech text feature vector is used as the keyword (Key) and value (Value), and the following attention operation is performed:
[0103] The second easy-to-mix position mark vector and the second speech text feature vector are multiplied after linear transformation to obtain a vector multiplication result;
[0104] Performing a dot product on the obtained vector multiplication result and the linearly transformed first speech text feature vector to obtain a vector dot product;
[0105] The vector dot product obtained by calculation is divided by a preset normalization coefficient to obtain a speech vector.
[0106] In an exemplary embodiment, the dot product calculation unit of the embodiment of the present invention is further configured as:
[0107] The first speech text feature vector is converted into a vector having the same dimension as the first easily mixable position marker vector; wherein the dimension includes: length and width.
[0108] In an exemplary embodiment, the embodiment of the present invention performs prediction processing on the speech vector by using one or any combination of the following predictors to obtain the first feature data:
[0109] Energy predictor, fundamental frequency predictor and duration predictor.
[0110] In an exemplary embodiment, the decoding unit of the embodiment of the present invention is configured as follows:
[0111] Converting the first feature data into a spectrum feature of the first text;
[0112] The spectral features are converted through a preset sequence generation model to obtain the corresponding Mel spectrum;
[0113] Perform Fourier transform on the Mel spectrum to obtain a synthesized audio file of the first text.
[0114] In an exemplary embodiment, the apparatus of the embodiment of the present invention further includes a first gradient feedback unit, which is configured as follows:
[0115] Processing the training set speech according to the forced alignment to obtain second feature data of the phonemes contained in the training set speech;
[0116] Calculate the first regression loss function L2 loss according to the second feature data and the first feature data;
[0117] The first L2 loss obtained by gradient backpropagation calculation adjusts the processing parameters of the prediction process;
[0118] Among them, the training set speech includes: audio obtained after audio recording of the second text and the third text; the easily mixed sound contained in the second text in the training set speech is recorded in a preset manner; the second feature data includes one or any combination of the following phonemes contained in the training set speech: energy feature, fundamental frequency feature and duration feature.
[0119] In an exemplary embodiment, the apparatus of the embodiment of the present invention further includes a second gradient feedback unit, which is configured as follows:
[0120] Inputting the spectral features of the training set speech into a preset classifier for classification processing to obtain easy-to-mix training result information of the training set speech;
[0121] Calculate the second L2 loss according to the obtained easy-to-mix training result information and the easy-to-mix tag information of the training set speech;
[0122] The calculated second L2 loss gradient is fed back to the classifier, so that the classifier can regain the easily confused training result information through training; when the regained easily confused training result information is different from the easily confused label information, the second L2 loss is continued to be calculated, and the newly calculated second L2 loss gradient is fed back to the classifier, so that the classifier can regain the easily confused training result information through training; when the regained easily confused training result information is the same as the easily confused label information, a classifier whose operation parameters meet the requirements is obtained;
[0123] Inputting the spectral features of the first text into a classifier whose operation parameters meet the requirements, obtaining the classifier output easy-to-mix judgment result information; calculating the third L2 loss according to the easy-to-mix judgment result information and the easy-to-mix label vector;
[0124] The third L2 loss obtained by gradient backpropagation calculation is used to adjust the processing parameters for generating the first easy-to-mix position labeling vector and / or the processing parameters for the prediction processing; wherein the easy-to-mix training result information includes the output of the classifier: whether the information on easy-to-mix and the easy-to-mix position is included; the easy-to-mix labeling information includes: pre-marked easy-to-mix position information and whether the information on easy-to-mix is included determined based on the pre-marked easy-to-mix position information; the easy-to-mix judgment result information includes the output of the classifier whose operation parameters meet the requirements: whether the information on easy-to-mix and the easy-to-mix position is included; the classifier includes: a first preset number of convolutional layers and a second preset number of linear layers.
[0125] In an exemplary embodiment, the apparatus of the embodiment of the present invention further includes a third gradient feedback unit, which is configured as follows:
[0126] According to a preset identification strategy, a first identification for identifying the speech as the training set speech is set for the spectral features of the training set speech, and a second identification for identifying the speech as the synthesized speech is set for the spectral features of the synthesized audio file;
[0127] Inputting the spectral features of the training set speech with the first identifier and the spectral features of the synthesized audio file with the second identifier into a preset discriminator for speech type determination processing to obtain speech type determination information;
[0128] calculating a fourth L2 loss for the speech type identification information and the speech type determination information;
[0129] The calculated fourth L2 loss gradient is fed back to the classifier, so that the discriminator can regain the speech type judgment information through training; when the speech type identification information and the regained speech type judgment information are different, the fourth L2 loss is continued to be calculated, and the latest calculated fourth L2 loss gradient is fed back to the discriminator, so that the discriminator can regain the speech type judgment information through training; when the speech type identification information and the regained speech type judgment information are the same, a discriminator whose operation parameters meet the requirements is obtained;
[0130] Inputting the spectral features of the training set speech with the first identifier added and the spectral features of the synthesized audio file with the second identifier added into a discriminator whose operation parameters meet the requirements, to obtain speech type result information;
[0131] Calculate the fifth L2 loss according to the speech category result information and the speech category identification information, and adjust the processing parameters of the prediction process by calculating the fifth L2 loss obtained by gradient backpropagation;
[0132] Among them, the second identifier is used to identify the synthesized audio file as a generated file, and the first identifier is used to identify the training set speech as a recorded file; the discriminator includes: a third preset number of convolutional layers and a fourth preset number of linear layers; the speech type judgment information includes: the speech is the training set speech or the synthesized speech; the speech type identification information includes the first identifier and the second identifier.
[0133] The following briefly describes the embodiments of the present invention through application examples. The application examples are only used to illustrate the embodiments of the present invention and are not used to limit the protection scope of the present invention.
[0134] Application Examples
[0135] This application example is based on the FastSpeech2 synthesis technology in the related technology. Through algorithm improvement, it adds easy-to-mix mark analysis and fusion processing, trains the newly collected speech corpus containing easy-to-mix marks, and synthesizes synthetic audio files with easy-to-mix exaggerated pronunciations at the phoneme level, thereby improving the sound quality and naturalness of the synthetic audio files.
[0136] The generation of a synthetic audio file containing an exaggerated pronunciation of easily mixed sounds in an embodiment of the present invention includes the following three parts: establishing a speech corpus, constructing an algorithm model, and improving the algorithm model; the embodiment of the present invention directly uses a complete model to complete the modeling of a phoneme sequence to an acoustic parameter sequence, and no longer includes an independent phoneme duration model and an acoustic model, etc., and obtains the corresponding speech by directly inputting the phoneme sequence; the following is an example of the process of generating a synthetic audio file containing an exaggerated pronunciation of easily mixed sounds, including:
[0137] 1. Establishing a speech corpus: The speech corpus of the embodiment of the present invention includes a preset number of first texts; the first text contains a first preset ratio of second texts and a second preset ratio of third texts; wherein the second text is: a text containing more than one minimal-pair; the third text is: a text that does not contain minimal-pairs; the first preset ratio and the second preset ratio can be set by a person skilled in the art based on experience, for example: when the first text is 16,000 texts, the first preset ratio value is 50% and the second preset ratio value is 50%. In an exemplary embodiment, the distribution position of minimal-pairs may be different for different second texts in the embodiment of the present invention; the second text may be checked by a technician in the embodiment of the present invention to ensure that the positions of minimal-pairs contained in the second text are different. In an exemplary embodiment, assuming that the number of first texts is 16,000 and the first preset ratio value is 50%, the number of second texts in the embodiment of the present invention is 8,000, and the minimal-pairs contained in the second text are about 12,000.
[0138] In an exemplary embodiment, the first text of the embodiment of the present invention can be extracted from the open source L2-Arctic database, or can be edited by a technician as needed; the selection of the first text should cover as many phonemes as possible that are prone to mispronunciation by learners of the second foreign language, and the pronunciation mechanism of phonemes and relevant literature on English pronunciation teaching can be referenced when selecting.
[0139] In an exemplary embodiment, the embodiment of the present invention marks the positions of easily mixable sounds in the second text and generates easily mixable sound position information.
[0140] The embodiment of the present invention applies the obtained speech corpus to end-to-end exaggerated speech synthesis. End-to-end means: using a sequence-to-sequence modeling method, directly obtaining the corresponding speech by inputting a phoneme sequence; no longer including independent phoneme duration models and acoustic models, etc., but directly using a complete model to complete the modeling of phoneme sequences to acoustic parameter sequences.
[0141] 2. Constructing an algorithm model: Based on the above speech corpus including a preset number of first texts, the embodiment of the present invention improves the FastSpeech2 speech synthesis algorithm and implements an end-to-end synthetic neural network; the synthetic neural network includes an encoding layer, a prediction layer, and a decoding layer. Compared with the related art, the embodiment of the present invention encodes the easy-to-mix mark (when the corresponding speech audio is recorded, the marked phoneme is highlighted) in the encoding layer, and performs a fusion process of the easy-to-mix mark feature and the speech feature in the prediction layer. The input of the synthetic neural network includes the first text and the easy-to-mix position mark information; the embodiment of the present invention converts the first text and the easy-to-mix position mark information into vectors; wherein the first text is embedded using the phoneme-level vector embedding in the related art to obtain the first speech text feature vector. The easy-to-mix position mark information is encoded into a first easy-to-mix position mark vector using one-hot encoding.
[0142] The embodiment of the present invention processes the first speech text feature vector and the first easily-mixed position marker vector in parallel at the encoding layer of the synthetic neural network. In an exemplary embodiment, the embodiment of the present invention uses a multi-layer first neural network to perform vector mapping on the first text to obtain the first speech text feature vector, for example: mapping is performed through a one-dimensional vector convolution layer including five layers, each convolution layer includes a linear convolution layer and a nonlinear transformation layer; the linear convolution layer uses a one-dimensional filter to multiply and accumulate the elements of the input vector of each layer; the nonlinear transformation layer uses a linear rectification function (Relu) to perform the following judgment processing on each element in the input first text: if the element is greater than or equal to 0, the element value is kept unchanged; if the element is less than 0, the element value is changed to 0; the first text is processed through the above mapping to output the first speech text feature vector. The amount of information contained in the first easily mixable position marker vector is relatively small. The embodiment of the present invention uses a second neural network mapping including a one-dimensional vector convolution layer with a small number of layers to obtain it. For example, it is mapped through a one-dimensional vector convolution layer including three layers. Each vector convolution layer includes a linear convolution layer and a nonlinear transformation layer. The processing performed by the linear convolution layer and the nonlinear transformation layer remains unchanged. The first easily mixable position marker vector is output through the second neural network mapping. The dimensions of the first speech text feature vector and the first easily mixable position marker vector obtained by mapping the first neural network and the second neural network are different. The embodiment of the present invention converts the first easily mixable position marker vector through an additional linear layer to convert the two sets of vectors into vectors of the same dimension (same length and width). Through the above-mentioned transformation processing, the synthetic neural network obtains the local features inside the vector, and converts the input first easily mixable position marker vector into a vector containing a feature embedding structure that is easier to learn.
[0143] In the prediction layer of the synthetic neural network, the first speech-text feature vector and the first easily mixable position marker vector are input to the multi-head attention layer for transformation. Multi-head attention is based on the transformer (a special form of attention network) proposed by Google. Figure 3 Schematic diagram of the composition of the multimodal attention layer of an embodiment of the present invention, as shown in Figure 3 As shown, the circle multiplication symbol in the figure represents the dot product of the vectors. In the attention layer, the two vectors are self-attentioned through the prediction layer to obtain the second speech text feature vector containing the internal association of the text and the second easily mixed position mark vector containing the internal association of the text. This internal relationship includes: the text corresponding to a phoneme, the relationship between phonemes in the easily mixed position mark; for example, a phoneme should have different pronunciation representations when connected with different phonemes. After passing through the self-attention layer, the output second speech text feature vector and the second easily mixed position mark vector contain this relationship. The multimodal attention layer of the embodiment of the present invention calculates the correlation of each phoneme feature inside the vector through the vector dot product. This correlation is the weight relationship between the phoneme features contained in the first speech text feature vector and the first easily mixed position mark vector.
[0144] The second speech text feature vector and the second easy-to-mix position marker vector after passing through the multimodal attention layer will be input into the subsequent cross attention network layer.
[0145] The cross-attention network layer fuses the second speech text feature vector and the second easy-to-mix position marker vector to obtain a speech vector containing easy-to-mix information; in an exemplary embodiment, the fusion process in the embodiment of the present invention includes: taking the second easy-to-mix position marker vector as the query, the second speech text feature vector as the key and value, and performing the following attention operations through multi-head attention: multiplying the second easy-to-mix position marker vector and the second speech text feature vector after linear transformation, and performing dot product of the multiplication result with the first speech text feature vector after linear transformation; dividing the dot product of the obtained vector by a preset normalization coefficient to obtain a speech vector containing easy-to-mix information; in an exemplary embodiment, the normalization coefficient of the embodiment of the present invention is determined by the vector dimension inside the multi-head attention; in an exemplary embodiment, the vector dimension used by the multi-head attention of the embodiment of the present invention is 256, and the dimension used by the normalization coefficient is the square root of the vector dimension 16. The speech vector containing easy-to-mix information is input into the subsequent energy predictor, fundamental frequency predictor and duration predictor, and the design of this part of the predictor refers to the FastSpeech network. The structures of these predictors are similar, all of which predict the energy, fundamental frequency, and duration feature data of each speech phoneme through linear transformation and multimodal attention layer; the structure of linear transformation and multimodal attention layer is exactly the same as mentioned before; linear transformation is to multiply the original vector by a matrix of trainable parameters, and the self-attention network structure refers to the multimodal attention layer. Each predictor is trained using the second feature data corresponding to the training set speech (including the energy, fundamental frequency, and duration features of each phoneme). The specific method is to calculate the first regression loss function (L2) loss based on the feature data, and perform gradient feedback on the first L2) loss. The network of the prediction layer is trained through gradient feedback to improve the ability of the prediction layer to use the second speech text feature vector and the second easy-to-mix position marker vector to predict the first feature data of the speech vector. The first feature data includes: energy feature, fundamental frequency feature and duration feature. The feature data corresponding to the training set speech of the embodiment of the present invention is provided by a pre-trained Force Alignment module. Force Alignment is used to identify the phonemes contained in the audio of 16,000 first texts in the pre-recorded training set speech and give the second feature data of each phoneme. The second feature data includes: energy feature, fundamental frequency feature and duration feature. The second feature data can be used to supervise the first feature data output by the prediction layer, and the prediction result of the prediction layer is required to be the same as the result extracted by Force Alignment recognition. After multiple rounds of gradient feedback training, the ability of the prediction layer to obtain energy features, fundamental frequency features and duration features from the speech vector containing easy-to-mix information is improved.
[0146] In an exemplary embodiment, the embodiment of the present invention records the first text as an audio file to obtain the training set speech; when recording the second text as an audio file, the technicians in this field can set three requirements that the recording of easy-to-mix sound should meet based on experience: strong recognizability, strong perceptibility and accurate pronunciation. In the embodiment of the present invention, the audio file of the second text can be read aloud by a pronunciation expert; and the audio file of the third text can be read aloud by a professional. In the embodiment of the present invention, the audio files of the second and third texts can be recorded in a soundproof recording studio, and the recording format can be wav (wav is a standard digital audio file) format. For the audio files of the recorded second and third texts, the embodiment of the present invention performs speech quality detection including noise and pronunciation clarity through relevant technologies, and removes the following through speech quality detection: 1) speech that does not meet the requirements of easy-to-mix pronunciation; 2) speech that does not match the recording of easy-to-mix sound with the mark; 3) speech with obvious noise in the recording. Finally, the audio files of the second and third texts that meet the quality requirements are obtained, that is, all the audio files of the first text are obtained. The first data feature is output by the prediction layer. The first data feature is input into the decoding layer (decoder). The decoding layer can predict the audio spectrum of the first text using the input energy feature, fundamental frequency feature, and duration feature.
[0147] In the decoding layer, the first feature data obtained is decoded by the following processing: the first feature data of the speech vector is converted into the spectrum feature of the first text through 10 layers of upsampling (convolution). The obtained spectrum feature is converted into Mel spectrum through the sequence generation model (wavnet); the obtained Mel spectrum is converted into a synthetic audio file output by using the inverse Fourier transform.
[0148] 3. Improvement of algorithm model:
[0149] In an exemplary embodiment, the application example method further includes:
[0150] Inputting the spectral features of the training set speech into a preset classifier to obtain easy-to-mix training result information of the training set speech;
[0151] Calculate the second L2 loss according to the obtained easy-to-mix training result information and the easy-to-mix tag information of the training set speech;
[0152] The classifier is trained by the second L2 loss obtained by gradient backpropagation calculation; when the classifier training result is that the easy-mixing training result information and the easy-mixing label information are different, the second L2 loss is continued to be calculated, and the classifier is trained by the second L2 loss through gradient backpropagation; when the classifier training result is that the easy-mixing training result information and the easy-mixing label information are the same, a classifier whose operation parameters meet the requirements is obtained;
[0153] Input the spectral features of the first text into a classifier whose operation parameters meet the requirements, and the classifier outputs easy-mixing judgment result information; calculate the third L2 loss according to the easy-mixing judgment result information and the easy-mixing mark vector, and adjust the processing parameters for generating the first easy-mixing position mark vector and the processing parameters for predicting the obtained speech vector by the third L2 loss obtained by gradient backpropagation; here, the processing parameters for generating the first easy-mixing position mark vector are adjusted, that is, the parameters of the encoding layer are adjusted; the processing parameters for predicting the obtained speech vector are adjusted, that is, the parameters of the decoding layer are adjusted;
[0154] Among them, the training set speech includes: audio obtained by audio recording the second text and the third text; the easy-to-mix sound contained in the second text in the training set speech is recorded in a preset manner; the easy-to-mix sound training result information includes the output of the classifier: whether it contains easy-to-mix sound and the information of the easy-to-mix sound position; the easy-to-mix sound marking information includes: pre-marked easy-to-mix sound position information and whether the easy-to-mix sound is contained according to the pre-marked easy-to-mix sound position information; the easy-to-mix sound judgment result information includes: whether it contains easy-to-mix sound and the information of the easy-to-mix sound position output by the classifier whose operation parameters meet the requirements; the classifier includes: a first preset number of convolutional layers and a second preset number of linear layers.
[0155] In an exemplary embodiment, the application example method further includes:
[0156] Adding a first identifier to the spectral features of the training set speech, and adding a second identifier to the spectral features of the synthesized audio file;
[0157] Inputting the spectral features of the training set speech with the first identifier added and the spectral features of the synthesized audio file with the second identifier added into a preset discriminator to obtain speech type judgment information;
[0158] performing a fourth L2 loss calculation on the speech type label information and the speech type judgment information;
[0159] The discriminator is trained by using the fourth L2 loss obtained by gradient backpropagation calculation; when the speech type label information and the speech type judgment information are different, the fourth L2 loss calculation is continued, and the discriminator is trained by using the fourth L2 loss obtained by gradient backpropagation; when the speech type label information and the speech type judgment information are the same, a discriminator whose operation parameters meet the requirements is obtained;
[0160] Inputting the spectral features of the training set speech with the first identifier and the spectral features of the synthesized audio file with the second identifier into the discriminator whose operation parameters meet the requirements, obtaining speech type result information, calculating the fifth L2 loss according to the speech type result information and the speech type label information, and adjusting the processing parameters for predicting the obtained speech vector more than once by calculating the fifth L2 loss obtained by gradient backpropagation; that is, adjusting the parameters of the decoding layer;
[0161] Among them, the second identifier is used to identify the synthesized audio file as a generated file, and the first identifier is used to identify the training set speech as a recorded file; the discriminator includes: a third preset number of convolutional layers and a fourth preset number of linear layers; the speech type judgment information includes: the speech is a training set speech or a synthesized audio file.
[0162] “A person skilled in the art can understand that all or some steps, systems, and functional modules / units in the above disclosed methods can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component can have multiple functions, or a function or step can be performed by several physical components in cooperation. Some or all components can be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include a computer storage medium (or a non-transitory medium) and a communication medium (or a transient medium). As is known in the art, As is well known to those skilled in the art, the term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, as is well known to those skilled in the art, communication media typically contains computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media. "
Claims
1. A method for implementing audio information processing, comprising: Generate a preset number of first speech text feature vectors of the first text; For the second text included in the first text, generating a first easily mixable sound position marking vector according to easily mixable sound position information pre-marked in the second text; Performing vector dot product calculation on the first speech text feature vector and the first easily mixed sound position mark vector to obtain a second speech text feature vector containing correlation information and a second easily mixed sound position mark vector containing correlation information; The obtained second speech text feature vector and the second easily mixed sound position mark vector are fused to obtain a speech vector containing easily mixed sound information; Performing prediction processing on the obtained speech vector to obtain first feature data of the speech vector; Decoding the first text according to the obtained first feature data, and generating a synthetic audio file of the first text according to the decoding result; After obtaining the first feature data of the speech vector, the method further includes: processing the training set speech according to forced alignment to obtain the second feature data of the phonemes contained in the training set speech; calculating the first regression loss function L2 loss according to the second feature data and the first feature data; adjusting the processing parameters of the prediction processing by the first L2 loss obtained by gradient backpropagation; inputting the spectral features of the training set speech into a preset classifier for classification processing to obtain the easily confused training result information of the training set speech; calculating the second L2 loss according to the obtained easily confused training result information and the easily confused label information of the training set speech; and returning the calculated second L2 loss gradient to the classifier so that the classifier can regain the easily confused training result information through training; When the re-obtained easily-mixed sound training result information is different from the easily-mixed sound marking information, continue to calculate the second L2 loss, and feed the latest calculated second L2 loss gradient back to the classifier, so that the classifier can re-obtain the easily-mixed sound training result information through training; when the re-obtained easily-mixed sound training result information is the same as the easily-mixed sound marking information, obtain a classifier whose operation parameters meet the requirements; input the spectral features of the first text into the classifier whose operation parameters meet the requirements, and obtain the easily-mixed sound judgment result information output by the classifier; calculate the third L2 loss based on the easily-mixed sound judgment result information and the easily-mixed sound marking vector; adjust the processing parameters for generating the first easily-mixed sound position marking vector and / or the processing parameters for the prediction processing by calculating the third L2 loss obtained by gradient back-transfer; The first text contains a second text of a first preset ratio and a third text of a second preset ratio; the second text is: a text containing more than one easily mixable sound; the correlation information includes: information on the weight relationship between the phoneme features of each phoneme contained in the first speech text feature vector and the first easily mixable sound position mark vector; the training set speech includes: audio obtained by recording the second text and the third text; the easily mixable sound contained in the second text in the training set speech is recorded in a preset manner; the second feature data includes one or any combination of the following of the phonemes contained in the training set speech: energy feature, fundamental frequency feature and duration feature; the easily mixable sound training result information includes: information output by the classifier: whether it contains easily mixable sound and easily mixable sound position; the easily mixable sound mark information includes: the pre-marked easily mixable sound position information and the information determined based on the pre-marked easily mixable sound position information whether it contains easily mixable sound; the easily mixable sound judgment result information includes: information output by the classifier whose operation parameters meet the requirements: whether it contains easily mixable sound and easily mixable sound position; the classifier includes: a first preset number of convolutional layers and a second preset number of linear layers.
2. The method according to claim 1, characterized in that Before performing vector dot product calculation on the first speech text feature vector and the first easily miscible position marker vector, the method further includes: Converting the first speech text feature vector into a vector with the same dimension as the first easily miscible position marker vector; The dimensions include: length and width.
3. The method according to claim 1 or 2, characterized in that: The fusing process of the obtained second speech text feature vector and the second easily miscible position marker vector comprises: The second easily mixed position marker vector is used as query information Query, and the second speech text feature vector is used as the keyword Key and the value Value, and the following attention operation is performed: The second easily-mixable position mark vector and the second speech text feature vector are multiplied after linear transformation to obtain a vector multiplication result; Performing a dot product of the vector multiplication result obtained and the first speech text feature vector that has undergone linear transformation to obtain a vector dot product; The vector dot product obtained by calculation is divided by a preset normalization coefficient to obtain the speech vector.
4. The method according to claim 1 or 2, characterized in that: The first feature data is obtained by performing prediction processing on the speech vector using one or any combination of the following predictors: Energy predictor, fundamental frequency predictor and duration predictor.
5. The method according to claim 1 or 2, characterized in that: The decoding of the first text according to the obtained first feature data comprises: Converting the first feature data into a frequency spectrum feature of the first text; The frequency spectrum features are converted by a preset sequence generation model to obtain a corresponding Mel spectrum; Performing Fourier transform on the Mel spectrum to obtain a synthesized audio file of the first text.
6. The method according to claim 1, characterized in that The method further comprises: According to a preset identification strategy, a first identification for identifying the speech as the training set speech is set for the spectral features of the training set speech, and a second identification for identifying the speech as the synthesized speech is set for the spectral features of the synthesized audio file; Inputting the spectral features of the training set speech with the first identifier and the spectral features of the synthesized audio file with the second identifier into a preset discriminator for speech type determination processing to obtain speech type determination information; calculating a fourth L2 loss for the speech type identification information and the speech type determination information; The fourth L2 loss gradient obtained by calculation is fed back to the classifier, so that the discriminator can regain the speech type judgment information through training; when the speech type identification information and the regained speech type judgment information are different, the fourth L2 loss is continued to be calculated, and the latest fourth L2 loss gradient calculated is fed back to the discriminator, so that the discriminator can regain the speech type judgment information through training; when the speech type identification information and the regained speech type judgment information are the same, a discriminator whose operation parameters meet the requirements is obtained; Inputting the spectral features of the training set speech with the first identifier added and the spectral features of the synthesized audio file with the second identifier added into the discriminator whose operation parameters meet the requirements, to obtain speech type result information; Calculate a fifth L2 loss according to the speech type result information and the speech type identification information, and adjust processing parameters of the prediction process by calculating the fifth L2 loss obtained by gradient backpropagation; Among them, the second identifier is used to identify that the synthesized audio file is a generated file, and the first identifier is used to identify that the training set speech is a recorded file; the discriminator includes: a third preset number of convolutional layers and a fourth preset number of linear layers; the speech type judgment information includes: the speech is the training set speech or the synthesized speech; the speech type identification information includes the first identifier and the second identifier.
7. A computer storage medium, wherein a computer program is stored in the computer storage medium, and when the computer program is executed by a processor, the method for realizing audio information processing as described in any one of claims 1 to 6 is implemented.
8. A terminal, comprising: A memory and a processor, wherein the memory stores a computer program; wherein, The processor is configured to execute the computer program in the memory; When the computer program is executed by the processor, the method for processing audio information as described in any one of claims 1 to 6 is implemented.
9. A device for implementing audio information processing, comprising: A first generating unit, a second generating unit, a dot product calculating unit, a fusion processing unit, a prediction processing unit, a decoding unit, a synthesis unit, a first gradient return unit and a second gradient return unit; wherein, The first generating unit is configured to: generate a preset number of first speech text feature vectors of the first text; The second generating unit is configured to: generate a first easily mixable sound position marking vector according to easily mixable sound position information pre-marked in the second text for the second text included in the first text; The dot product calculation unit is configured to: perform vector dot product calculation on the first speech text feature vector and the first easily mixed sound position mark vector to obtain a second speech text feature vector containing correlation information and a second easily mixed sound position mark vector containing correlation information; The fusion processing unit is configured to: perform fusion processing on the obtained second speech text feature vector and the second easily mixed sound position mark vector to obtain a speech vector containing easily mixed sound information; The prediction processing unit is configured to: perform prediction processing on the obtained speech vector to obtain first feature data of the speech vector; The decoding unit is configured to: decode the first text according to the obtained first feature data, and generate a synthetic audio file of the first text according to the decoding result; The first gradient return unit is configured to: process the training set speech according to the forced alignment to obtain the second feature data of the phonemes contained in the training set speech; calculate the first regression loss function L2 loss according to the second feature data and the first feature data; and adjust the processing parameters of the prediction processing by the first L2 loss obtained by the gradient return calculation; The second gradient return unit is configured to: input the spectral features of the training set speech into a preset classifier for classification processing to obtain the easily confusable training result information of the training set speech; calculate the second L2 loss according to the obtained easily confusable training result information and the easily confusable label information of the training set speech; return the calculated second L2 loss gradient to the classifier so that the classifier can regain the easily confusable training result information through training; when the regained easily confusable training result information is different from the easily confusable label information, continue to calculate the second L2 loss, and return the latest calculated second L2 loss gradient to the classifier so that the classifier can regain the easily confusable training result information through training; when the regained easily confusable training result information is the same as the easily confusable label information, obtain a classifier whose operation parameters meet the requirements; input the spectral features of the first text into the classifier whose operation parameters meet the requirements, and obtain the easily confusable judgment result information output by the classifier; calculate the third L2 loss according to the easily confusable judgment result information and the easily confusable label vector; adjust the processing parameters for generating the first easily confusable position label vector and / or the processing parameters for the prediction processing through the third L2 loss calculated by gradient return; Among them, the first text contains a second text in a first preset ratio and a third text in a second preset ratio; the second text is: a text containing more than one easily mixable sound; the correlation information includes: information on the weight relationship between the phoneme features of each phoneme contained in the first speech text feature vector and the first easily mixable sound position mark vector; the training set speech includes: audio obtained after audio recording of the second text and the third text; the easily mixable sound contained in the second text in the training set speech is recorded in a preset manner; the second feature data includes the following one or any combination of the phonemes contained in the training set speech: energy feature, fundamental frequency feature and duration feature; the easily mixable sound training result information includes: information on whether the easily mixable sound and the easily mixable sound position are contained, output by the classifier; the easily mixable sound mark information includes: pre-marked easily mixable sound position information and information on whether the easily mixable sound is contained based on the pre-marked easily mixable sound position information; the easily mixable sound judgment result information includes: information on whether the easily mixable sound and the easily mixable sound position are contained, output by the classifier whose operation parameters meet the requirements; the classifier includes: a first preset number of convolutional layers and a second preset number of linear layers.
Citation Information
Patent Citations
Speech recognition method and system, medium, computer equipment, terminal and application
CN112712804A
Speech synthesis method, device and equipment and storage medium
CN112735373A
Feedback speech enhancement method for enhancing memory
CN113269305A
Speech synthesis method and device, computer equipment and storage medium
CN113327575A
Speech recognition and speech synthesis method and apparatus based on dual learning
WO2020168752A1
