Synthesizing speech from text with target speaker's speech using neural networks
The neural network system combines the speaker encoder and the spectrogram to generate the neural network, and utilizes the sequence-to-sequence model and the LSTM neural network to solve the existing technology problems of large amount of training data and long time required to generate new target speaker speech. , achieving fast, high-quality speech synthesis, suitable for different languages and short speech samples.
Patent Information
- Application Number
- CN202410971021.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2018-05-17
- Filing Date
- 2019-05-17
- Publication Date
- 2024-09-27
AI Technical Summary
Existing speech synthesis systems require a large amount of training data and time when generating the speech of a new target speaker. Especially when high-quality speech samples are unavailable, it is difficult to quickly adapt to the speech characteristics of different speakers.
Using a neural network-based system, the speaker encoder and spectrogram generation neural network are independently trained, the sequence-to-sequence model is used to generate amplitude spectrograms from phoneme or grapheme sequences, and the speaker embedding vector is combined to achieve speech synthesis, which can be performed in Generate the speech of new speakers without updating parameters, using generalized end-to-end loss and LSTM neural network for training, decoupling speaker modeling and speech synthesis.
Achieve rapid generation of speech similar to new speakers, able to generate high-quality speech without additional training or fine-tuning, suitable for different languages and short speech samples, reducing the need for high-quality training data sets, improving speech Synthetic naturalness and similarity.
Smart Images

Figure CN118711564A
Abstract
Description
Description of the case
[0001] This application is a divisional application of Chinese invention patent application 201980033235.1, filed on May 17, 2019. Technical Field
[0002] This specification generally relates to synthesizing speech from text. Background Art
[0003] A neural network is a machine learning model that uses multiple operating layers to predict one or more outputs from one or more inputs. A neural network typically includes one or more hidden layers between an input layer and an output layer. The output of each hidden layer is used as the input to the next layer, such as the next hidden layer or the output layer.
[0004] Each layer of a neural network specifies one or more transformation operations to be performed on the inputs of that layer. Some neural network layers have operations called neurons. Each neuron receives one or more inputs and generates an output, which will be received by another neural network layer. Typically, each neuron receives inputs from other neurons, and each neuron provides outputs to one or more other neurons.
[0005] Each layer generates one or more outputs using the current values of the parameter set for that layer. Training a neural network involves continuously performing a forward pass on the input, calculating gradient values, and updating the current values of the parameter set for each layer. Once the neural network is trained, the final parameter set can be used to make predictions in a production system. Summary of the invention
[0006] A neural network-based system for speech synthesis can generate speech audio in the voices of many different speakers, including speakers that have not been seen during training. The system is able to use a few seconds of untranscribed reference audio from a target speaker to synthesize new speech in the voice of the target speaker without updating any parameters of the system. The system can use a sequence-to-sequence model that generates an amplitude spectrogram from a sequence of phonemes or a sequence of graphemes to produce an output based on a speaker embedding. The embedding can be calculated by using an independently trained speaker encoder network (also referred to as a speaker verification neural network or speaker encoder in this article), which encodes an arbitrary length speech spectrogram into a fixed-dimensional embedding vector. An embedding vector is a set of values that encodes or otherwise represents data. For example, an embedding vector can be generated by a hidden layer or output layer of a neural network, in which case the embedding vector encodes one or more data values input to the neural network. The speaker encoder can be trained on a speaker verification task using separate data sets of noisy speech from thousands of different speakers. The system may be able to exploit knowledge of speaker variability learned by the speaker encoder in order to generalize well and synthesize natural speech from speakers never seen during training by using only a few seconds of audio from each speaker.
[0007] In more detail, the system may include an independently trained speaker encoder configured for speaker verification tasks. The speaker encoder may be trained differently. The speaker encoder may be trained on a large dataset of untranscribed audio from thousands of different speakers using a generalized end-to-end loss. The system may decouple the network so that the network can be trained on an independent dataset, which may alleviate some of the difficulties in obtaining high-quality training data for each purpose. That is, speaker modeling and speech synthesis may be decoupled by independently training a speaker discriminant embedding network (i.e., a speaker verification neural network) for a space that captures speaker characteristics and training a high-quality text-to-speech model (referred to herein as a spectrogram generation neural network) on a smaller dataset based on the representation learned by the speaker verification neural network. For example, speech synthesis may have different and more arduous data requirements than those for text-independent speaker verification, and may require tens of hours of clean speech with associated transcriptions. In contrast, speaker verification may make good use of untranscribed and noisy speech containing reverberation and background noise, but may require a sufficiently large number of speakers. Therefore, obtaining a single high-quality training dataset suitable for both purposes may be significantly more difficult than obtaining two different training datasets of high quality for the respective purposes.
[0008] The subject matter of the present specification can be implemented so as to achieve one or more of the following advantages. For example, the system can produce improved adaptation quality by randomly sampling according to an embedding prior (a point on a unit hypersphere), and enable the synthesis of completely new speakers different from those used in training. In another example, the system may be able to synthesize the speech of a target speaker for whom only a short, limited amount of sample speech (e.g., five seconds of speech) is available. Yet another advantage may be that the system may be able to synthesize speech in the voice of the target speaker when a transcription of the target speaker's speech sample is not available. For example, the system may be able to receive a five-second speech sample from "John Doe" for which no speech sample was previously obtained, and generate speech in the voice of "John Doe" for any arbitrary text even in the absence of a transcription of the speech sample.
[0009] Yet another advantage may be that the system may be able to generate speech in a language different from the language of the available sample speech for a particular speaker. For example, the system may be able to receive a five second speech sample from "John Doe" in Spanish and generate speech in the voice of "John Doe" in English in the absence of any other speech samples from "John Doe".
[0010] Unlike conventional systems, by decoupling the training of speaker modeling and speech synthesis, the described system is able to effectively make speech dependent on different speakers even when a single high-quality speech dataset with speech from a large number of speakers is not available.
[0011] While conventional systems may require hours of training and / or fine-tuning before being able to generate speech audio in the voice of a new target speaker, the described system is able to generate speech audio in the voice of a new target speaker without the need for additional training or fine-tuning. Thus, when compared to conventional systems, the described system is able to more quickly perform tasks that require generating speech in the voice of a new speaker with minimal latency, such as speech-to-speech translation, where the generated speech audio is the voice of the original speaker.
[0012] The details of one or more embodiments of the subject matter of this specification are set forth in the drawings and description below. Other features, aspects, and advantages of the subject matter will become apparent from the description, drawings, and claims.
[0013] In some aspects, the subject matter described in this specification can be implemented in a method that can include the following actions: obtaining an audio representation of a target speaker's speech, obtaining input text for which speech is to be synthesized in the target speaker's voice, generating a speaker vector by providing the audio representation to a speaker encoder engine trained to distinguish speakers from each other, generating an audio representation of the input text spoken in the target speaker's voice by providing the input text and the speaker vector to a spectrogram generation engine trained to generate audio representations using the voice of a reference speaker, and providing for output an audio representation of the input text spoken in the target speaker's voice.
[0014] The speaker verification neural network can be trained to generate speaker embedding vectors for audio representations of speech from the same speaker that are close together in embedding space, while generating speaker embedding vectors for audio representations of speech from different speakers that are far away from each other. Alternatively or in addition, the speaker verification neural network can be trained separately from the spectrogram generation neural network. The speaker verification neural network is a long short-term memory (LSTM) neural network.
[0015] Generating a speaker embedding vector may include: providing multiple overlapping sliding windows of the audio representation to a speaker verification neural network to generate multiple individual vector embeddings; and generating the speaker embedding vector by calculating an average of the individual vector embeddings.
[0016] Providing an audio representation of the input text spoken in the voice of the target speaker for output may include: providing the audio representation of the input text spoken in the voice of the target speaker to a vocoder to generate a time domain representation of the input text spoken in the voice of the target speaker; and providing the time domain representation for playback to a user. The vocoder may be a vocoder neural network.
[0017] The spectrogram generating neural network may be a sequence-to-sequence attention neural network trained to predict a mel-spectrogram from a sequence of phoneme or grapheme inputs. The spectrogram generating neural network may optionally include an encoder neural network, an attention layer, and a decoder neural network. The spectrogram generating neural network may concatenate a speaker embedding vector with an output of the encoder neural network, which is provided as input to the attention layer.
[0018] The speaker embedding vector may be different from any speaker embedding vector used during training of the speaker verification neural network or the spectrogram generation neural network. During training of the spectrogram generation neural network, the parameters of the speaker verification neural network may be fixed.
[0019] Another aspect provides a computer-implemented method of training a neural network for use in speech synthesis, the method comprising: training a speaker verification neural network to distinguish speakers from each other; and training a spectrogram generation neural network by using speech of a plurality of reference speakers to generate an audio representation of an input text. This aspect may include any of the features of the preceding aspects.
[0020] Other versions include corresponding systems, apparatus, and computer programs configured to perform the actions of the methods, encoded on computer storage devices.
[0021] The details of one or more implementations are set forth in the accompanying drawings and the description below. Other potential features and advantages will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a block diagram of an example system capable of synthesizing speech in the voice of a target speaker.
[0023] Figure 2 is a block diagram of an example system that synthesizes speech during training.
[0024] Figure 3 is a block diagram of an example system that synthesizes speech during inference.
[0025] Figure 4 is a flow chart of an example process for generating an audio representation of text spoken in the voice of a target speaker.
[0026] Figure 5 is a diagram of an example of a computing device.
[0027] Like reference numbers and designations throughout the various drawings represent like elements. DETAILED DESCRIPTION
[0028] Figure 11 is a block diagram depicting an example speech synthesis system 100 capable of synthesizing speech in the voice of a target speaker. The speech synthesis system 100 can be implemented as a computer program on one or more computers in one or more locations. The speech synthesis system 100 receives input text and an audio representation of a target speaker, and processes the input through a series of neural networks to generate speech corresponding to the input text in the voice of the target speaker. For example, if the speech synthesis system 100 receives the text of a page of a book as input with five seconds of audio of John Doe saying "Hi my name is John Doe and I'm providing this sample of speech for testing purposes", it can process these inputs to generate a verbal narration of the page in the voice of John Doe. In another example, if the speech synthesis system 100 receives the text of a page of a book as input with six seconds of audio of Jane Doe narrating from another book, it can process these inputs to generate a verbal narration of the page in the voice of Jane Doe.
[0029] like Figure 1 As shown in , the system 100 includes a speaker encoder engine 110 and a spectrogram generation engine 120. The speaker encoder engine 110 receives an audio representation of a target speaker's speech and outputs a speaker vector, also referred to as a speaker embedding vector or embedding vector, for the target speaker. For example, the speaker encoder engine 110 receives an audio recording of John Doe saying "Hello my name is John Doe" and, in response, outputs a vector having a value identifying John Doe. The speaker vector may also capture a characteristic speech rate of the speaker.
[0030] The speaker vector may be a fixed dimensional embedding vector. For example, the speaker vector output by the speaker encoder engine 110 may have a sequence of two hundred fifty-six values. The speaker encoder engine 110 may be a neural network trained to encode a speech spectrogram of arbitrary length into a fixed dimensional embedding vector. For example, the speaker encoder engine 110 may include a long short-term memory (LSTM) neural network trained to encode a melspectrogram or log-mel spectrogram representation of speech from a user into a vector having a fixed number of elements (e.g., two hundred fifty-six elements). Although reference is made to mel spectrograms throughout this disclosure for consistency and specificity, it will be appreciated that other types of spectrograms or any other suitable audio representation may be used.
[0031] The speaker encoder engine 110 may be trained with labeled training data comprising pairs of audio of speech and labels identifying the speaker for the audio so that the engine 110 learns to classify the audio as corresponding to different speakers. The speaker vectors may be the output of a hidden layer of an LSTM neural network, where audio from speakers with more similar voices produce speaker vectors that are more similar to each other, and audio from speakers with more different voices produce speaker vectors that are more different from each other.
[0032] The spectrogram generation engine 120 may receive input text to be synthesized and receive a speaker vector determined by the speaker encoder engine 110, and in response, generate an audio representation of the speech of the input text in the voice of the target speaker. For example, the spectrogram generation engine 120 may receive input text of "Goodbye all" and a speaker vector determined by the speaker encoder engine 110 based on a mel spectrogram representation of John Doe saying "Hello my name is John Doe", and in response, generate a mel spectrogram representation of the speech of "Goodbye all" in the voice of John Doe.
[0033] The spectrogram generation engine 120 may include a neural network that is a sequence-to-sequence attention network (also referred to as a sequence-to-sequence synthesizer, sequence-to-sequence synthesis network, or spectrogram generation neural network) trained to predict a mel spectrogram in the speech of a target speaker based on input text and a speaker vector of the target speaker. The neural network may be trained with training data including triplets, each of which includes text, an audio representation of the speech of the text by a particular speaker, and a speaker vector for the particular speaker. The speaker vector used in the training data may come from the spectrogram generation engine 120 and may not necessarily be an audio representation of the speech from the text for the triplet. For example, the triplets included in the training data may include input text of "I like computers", a mel spectrogram from the audio of John Smith saying "I like computers", and a speaker vector output by the speaker encoder engine 110 based on the mel spectrogram from the audio of John Smith saying "Hi my name is John Smith".
[0034] In some embodiments, the speaker encoder engine 110 can be used to generate training data for the spectrogram generation engine 120 after the speaker encoder engine 110 has been trained. For example, the paired training data set may originally include only pairs of input text and mel spectrograms of the speech of the text. The mel spectrograms in each pair of the paired training data can be provided to the trained speaker encoder engine 110, which can output a corresponding speaker vector for each mel spectrogram. The system 100 can then add each speaker vector to the corresponding pair in the paired training data to generate training data having a triple of text, an audio representation of the speech of the text by a particular speaker, and a speaker vector for the particular speaker.
[0035] In some implementations, the audio representation generated by the spectrogram generation engine 120 can be provided to a vocoder to generate audio. For example, a Mel spectrogram of John Doe saying "Goodbye all" can be in the frequency domain and provided to another neural network that is trained to receive the frequency domain representation and output the time domain representation, and the other neural network can output a time domain waveform of "Goodbye all" in John Doe's voice. The time domain waveform can then be provided to a speaker (e.g., a loudspeaker) that produces the sound of "Goodbye all" spoken in John Doe's voice.
[0036] In some embodiments, the system 100 or another system can be used to perform a process for synthesizing speech in the voice of a target speaker. The process may include the following actions: obtaining an audio representation of the speech of the target speaker, obtaining input text for synthesizing speech in the voice of the target speaker, generating a speaker vector by providing the audio representation to a speaker encoder engine trained to distinguish speakers from each other, generating an audio representation of the input text spoken in the voice of the target speaker by providing the input text and the speaker vector to a spectrogram generation engine trained to generate audio representations using the voice of a reference speaker, and providing the audio representation of the input text spoken in the voice of the target speaker for output.
[0037] For example, the process may include the speaker encoder engine 110 obtaining a mel spectrogram from audio of Jane Doe saying “I like computers” and generating a speaker vector for Jane Doe that is different from the speaker vector that would be generated for a mel spectrogram of John Doe saying “I like computers.” The spectrogram generation engine 120 may receive the speaker vector for Jane Doe and obtain input text of “Hola como estas”, which may be Spanish for “Hello, how are you” in English, and in response may generate a mel spectrogram that may then be converted by the vocoder into speech of “Hola como estas” in Jane Doe’s voice.
[0038] In a more detailed example, the system 100 may include three independently trained components: an LSTM speaker encoder for speaker verification that outputs a fixed-dimensional vector from an arbitrary length speech signal; a sequence-to-sequence attention network that predicts a mel-spectrogram from a sequence of phoneme or grapheme inputs that depends on the speaker vector; and an autoregressive neural vocoder network that converts the mel-spectrogram into a sequence of time-domain waveform samples. The LSTM speaker encoder may be the speaker encoder engine 110 and the sequence-to-sequence attention network may be the spectrogram generation engine 120.
[0039] The LSTM speaker encoder is used to condition the synthesis network on a reference speech signal from a desired target speaker. Good generalization can be achieved by using a reference speech signal that captures the characteristics of different speakers. Good generalization can lead to recognition of these characteristics by using only a short adaptive signal, independent of the speech content and background noise of the signal. These goals are met by using a speaker discriminant model trained on a text-independent speaker verification task. The LSTM speaker encoder can be a speaker discriminant audio embedding network that is not limited to a closed set of speakers.
[0040] The LSTM speaker encoder maps a sequence of mel-spectrogram frames computed from a speech utterance of arbitrary length to a fixed-dimensional embedding vector called a d-vector or speaker vector. The LSTM speaker encoder can be configured such that given an utterance x, the LSTM network is used to learn a fixed-dimensional vector embedding e x = f(x). A generalized end-to-end loss can be used to train the LSTM network so that d-vectors of utterances from the same speaker are close to each other in the embedding space, e.g., so that the d-vectors of the utterances have high cosine similarity, while d-vectors of utterances from different speakers are far away from each other. Thus, given an arbitrarily long utterance, the speaker encoder can be run on overlapping sliding windows of length, e.g., 800 milliseconds, and the average of the L2-normalized window embeddings is used as the final embedding for the entire utterance.
[0041] A sequence-to-sequence attention neural network can model multiple specific speakers by concatenating a d-dimensional embedding vector associated with the real speaker with the output of the encoder neural network at each time step for each audio example x in the training dataset before providing the output to the attention neural network. The speaker embeddings provided to the input layer of the attention neural network may be sufficient to converge across different speakers. The synthesizer can be an end-to-end synthesis network that does not rely on intermediate language features.
[0042] In some embodiments, the sequence-to-sequence attention network can be trained on pairs of text transcriptions and target audio. On input, we map the text to a sequence of phonemes, which leads to faster convergence and improved pronunciation of rare words such as names of people or places. The network is trained in a transfer learning configuration that uses a pre-trained speaker encoder (whose parameters are frozen) to extract speaker embeddings from the target audio, i.e., the speaker reference signal is the same as the target speech during training. No explicit speaker identifier tagging is used during training.
[0043] Additionally or alternatively, the decoder of the network may include both an L2 loss and an additional L1 loss on the spectrogram feature reconstruction. The combined loss may be more robust on noisy training data. Additionally or alternatively, a spectral subtraction may be performed on the target to reduce the noise by, for example, 10 percentage points to allow the Mel spectrogram prediction network to further clean the synthesized audio.
[0044] The system 100 can capture the unique characteristics of a previously unseen speaker from a single short audio clip and synthesize new speech based on these characteristics. The system 100 can achieve: (1) high naturalness of the synthesized speech; and (2) high similarity to the target speaker. While high naturalness typically requires a large number of high-quality speech transcription pairs as training data, achieving high similarity typically requires a large amount of training data for each speaker. However, recording large amounts of high-quality data for each individual speaker is very expensive or even impractical in practice. The system 100 can separate the training of a text-to-speech system with high naturalness from the training of another speaker discriminant embedding network that captures speaker characteristics well. In some embodiments, the speaker discriminant model is trained on a text-independent speaker verification task.
[0045] The neural vocoder converts the synthesized Mel-spectrogram emitted by the synthesizer into a time-domain waveform. In some embodiments, the vocoder can be a sample-by-sample autoregressive WaveNet. The architecture can include multiple dilated convolutional layers. The Mel-spectrogram predicted by the synthesizer network captures all the relevant details required for high-quality synthesis of a variety of voices, allowing multi-speaker vocoders to be built by simply training on data from many speakers without explicitly depending on speaker vectors. More details about the WaveNet architecture are described in van den Oord et al., "WaveNet: Agenerative model for raw audio", CoRR abs / 1609.03499, 2016.
[0046] Figure 22 is a block diagram of an example system 200 for synthesizing speech during training. The example system 200 includes a speaker encoder 210, a synthesizer 220, and a vocoder 230. The synthesizer 220 includes a text encoder 222, an attention neural network 224, and a decoder 226. During training, the separately trained speaker encoder 210, whose parameters can be frozen, can extract a fixed length d-vector of a speaker from a variable length input audio signal. During training, the reference signal or target audio can be ground truth audio in parallel with the text. The d-vector can be cascaded with the output of the text encoder 222 and passed to the attention neural network 224 at each time step in a plurality of time steps. In addition to the speaker encoder 210, other parts of the system 200 can also be driven by the reconstruction loss from the decoder 226. The synthesizer 220 predicts a mel spectrogram from an input text sequence and can provide the mel spectrogram to the vocoder 230. The vocoder 230 can convert the mel spectrogram into a time domain waveform.
[0047] Figure 3 is a block diagram of an example system 300 for synthesizing speech during inference. The system 300 includes a speaker encoder 210, a synthesizer 220, and a vocoder 230. During inference, one of two approaches can be used. In a first approach, a text encoder 222 can depend directly on d-vectors from unseen and / or untranscribed audio whose transcription does not need to match the text to be synthesized. This can allow the network to generate unseen speech from a single audio clip. Since the speaker characteristics to be used for synthesis are inferred from the audio, it may depend on audio from speakers outside the training set. In a second approach, a random sample d-vector can be obtained, and the text encoder 222 may depend on the random sample d-vector. Since the speaker encoder can be trained from a large number of speakers, the random d-vector can also produce random speakers.
[0048] Figure 4 is a flow chart of an example process 400 for generating an audio representation of text spoken in the voice of a target speaker. The example process is described as being performed by a system appropriately programmed in accordance with the present specification.
[0049] The system obtains an audio representation of the target speaker's speech (405). For example, the audio representation may be in the form of an audio recording file, and the audio may be captured by one or more microphones.
[0050] The system obtains input text for speech to be synthesized in the voice of a target speaker (410). For example, the input text may be in the form of a text file.
[0051] The system generates a speaker embedding vector by providing the audio representation to a speaker verification neural network trained to distinguish speakers from each other (415). For example, the speaker verification neural network can be an LSTM neural network, and the speaker embedding vector can be the output of a hidden layer of the LSTM neural network.
[0052] In some embodiments, the system provides multiple overlapping sliding windows of the audio representation to the speaker verification neural network to generate multiple individual vector embeddings. For example, the audio representation can be decomposed into windows of approximately 800ms in length (e.g., 750ms or less, 700ms or less, 650ms or less), and the overlap can be approximately 50% (e.g., 60% or more, 65% or more, 70% or more). The system can then generate a speaker embedding vector by calculating the average of the individual vector embeddings.
[0053] In some implementations, the speaker verification neural network is trained to generate speaker embedding vectors, e.g., d-vectors, for audio representations of speech from the same speaker that are close together in embedding space. The speaker verification neural network can also be trained to generate speaker embedding vectors for audio representations of speech from different speakers that are far from each other.
[0054] The system generates an audio representation of the input text spoken in the voice of the target speaker by providing the input text and the speaker embedding vector to a spectrogram generating neural network that is trained using the voice of a reference speaker to generate the audio representation (420).
[0055] In some implementations, during training of the spectrogram generating neural network, the parameters of the speaker embedding neural network are fixed.
[0056] In some implementations, the spectrogram generation neural network can be trained separately from the speaker verification neural network.
[0057] In some implementations, the speaker embedding vector is different than any speaker embedding vector used during training of the speaker verification neural network or the spectrogram generation neural network.
[0058] In some embodiments, the spectrogram generation neural network is a sequence-to-sequence attention neural network that is trained to predict a mel spectrogram based on a phoneme or a phoneme input sequence. For example, the spectrogram generation neural network architecture can be based on Tacotron2. More details about the Tacotron 2 neural network architecture are described in Natural TIS synthesis by conditioning WaveNet on mel spectrogram predictions by Shen et al., published in Proc. IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP) in 2018.
[0059] In some embodiments, the spectrogram generation neural network includes a spectrogram generation neural network, the spectrogram generation neural network includes an encoder neural network, an attention layer, and a decoder neural network. In some embodiments, the spectrogram generation neural network concatenates the speaker embedding vector with the output of the encoder neural network, the output of the encoder neural network is provided as an input to the attention layer.
[0060] In some implementations, the encoder neural network and sequence-to-sequence attention neural network can be trained on an unbalanced and disjoint set of speakers. The encoder neural network can be trained to distinguish between speakers, which can result in a more reliable transfer of speaker characteristics.
[0061] The system provides an audio representation of the input text spoken in the voice of the target speaker for output (425).For example, the system can generate a time domain representation of the input text.
[0062] In some implementations, the system provides an audio representation of the input text spoken in the voice of the target speaker to a vocoder to generate a time domain representation of the input text spoken in the voice of the target speaker. The system can provide the time domain representation for playback to a user.
[0063] In some embodiments, the vocoder is a vocoder neural network. For example, the vocoder neural network can be a sample-by-sample autoregressive WaveNet that can invert the synthetic mel-spectrogram generated by the synthetic network into a time-domain waveform. The vocoder neural network can include a plurality of dilated convolutional layers.
[0064] Figure 5Examples of computing device 500 and mobile computing device 450 that can be used to implement the techniques described herein are shown. Computing device 500 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Mobile computing device 450 is intended to represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, and other similar computing devices. The components shown here, their connections and relationships, and their functions are examples only and are not meant to be limiting.
[0065] The computing device 500 includes a processor 502, a memory 504, a storage device 506, a high-speed interface 508 connected to the memory 504 and a plurality of high-speed expansion ports 510, and a low-speed interface 512 connected to a low-speed expansion interface 514 and the storage device 506. Each of the processor 502, the memory 504, the storage device 506, the high-speed interface 508, the high-speed expansion port 510, and the low-speed interface 512 is interconnected by various buses and can be installed on a general motherboard or in other suitable ways. The processor 502 can process instructions for execution within the computing device 500, including instructions stored in the memory 504 or stored on the storage device 506, to display graphic information for a graphical user interface (GUI) on an external input / output device such as a display 516 coupled to the high-speed interface 508. In other embodiments, multiple processors and / or multiple buses, as well as multiple memories and various types of memories, can be used appropriately. In addition, multiple computing devices can be connected, each device providing a portion of the necessary operations (for example, as a server group, a group of blade servers, or a multi-processor system).
[0066] The memory 504 stores information within the computing device 500. In some implementations, the memory 504 is one or more volatile memory units. In some implementations, the memory 504 is one or more non-volatile memory units. The memory 504 may also be another form of computer-readable medium, such as a magnetic disk or optical disk.
[0067] The storage device 506 can provide mass storage for the computing device 500. In some embodiments, the storage device 506 can be or include a computer-readable medium, such as a floppy disk device, a hard disk device, an optical disk device, a tape device, a flash memory or other similar solid-state storage device or device array, including a device in a storage area network or other configuration. Instructions can be stored in an information carrier. When the instructions are executed by one or more processing devices (e.g., processor 502), one or more methods, such as those described above, are executed. The instructions can also be stored by one or more storage devices (e.g., memory 504, storage device 506, or memory on processor 502) such as computer-readable or machine-readable media.
[0068] The high-speed interface 508 manages bandwidth-intensive operations for the computing device 500, while the low-speed interface 512 manages less bandwidth-intensive operations. This allocation of functions is merely an example. In some embodiments, the high-speed interface 508 is coupled to the memory 504, the display 516 (e.g., through a graphics processor or accelerator), and is coupled to a high-speed expansion port 510 that can accept various expansion cards (not shown). In the embodiment, the low-speed interface 512 is coupled to the storage device 506 and the low-speed expansion port 514. The low-speed expansion port 514 can include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet), and can be coupled to one or more input / output devices, such as a keyboard, a pointing device, a scanner, or a network device such as a switch or a router, for example, through a network adapter.
[0069] As shown in the figures, computing device 500 can be implemented in a variety of different forms. For example, it can be implemented as a standard server 520, or multiple times as a group of such servers. In addition, it can be implemented in a personal computer such as a laptop computer 522. It can also be implemented as part of a rack server system 524. Alternatively, components from computing device 500 can be combined with other components in a mobile device (not shown) such as mobile computing device 450. Each such device can contain one or more of computing device 500 and mobile computing device 450, and the entire system can be composed of multiple computing devices that communicate with each other.
[0070] The mobile computing device 550 includes a processor 552, a memory 564, an input / output device such as a display 554, a communication interface 566, and a transceiver 568, among other components. The mobile computing device 550 may also be provided with a storage device, such as a micro drive or other device, to provide additional storage. Each of the processor 552, the memory 564, the display 554, the communication interface 566, and the transceiver 568 are interconnected using various buses, and several components may be mounted on a common motherboard or in other suitable ways.
[0071] Processor 552 may execute instructions within mobile computing device 550, including instructions stored in memory 564. Processor 552 may be implemented as a chipset including separate and multiple analog and digital processors. Processor 552 may provide, for example, coordination for other components of mobile computing device 450, such as control of a user interface, applications executed by mobile computing device 450, and wireless communications performed by mobile computing device 450.
[0072] The processor 552 can communicate with the user through the control interface 558 and the display interface 556 coupled to the display 554. The display 554 can be, for example, a TFT (thin film transistor liquid crystal display) display or an OLED (organic light emitting diode) display or other suitable display technology. The display interface 556 may include appropriate circuits for driving the display 554 to present graphics and other information to the user. The control interface 558 can receive commands from the user and convert them for submission to the processor 552. In addition, the external interface 562 can provide communication with the processor 552, so that the mobile computing device 450 can communicate with other devices in close proximity. For example, the external interface 562 can be provided for wired communication in some embodiments, or for wireless communication in other embodiments, and multiple interfaces can also be used.
[0073] The memory 564 stores information within the mobile computing device 450. The memory 564 may be implemented as one or more of one or more computer-readable media, one or more volatile storage units, or one or more non-volatile storage units. An expansion memory 574 may also be provided and connected to the mobile computing device 450 via an expansion interface 572, which may include, for example, a SIMM (single in-line memory module) card interface. The expansion memory 574 may provide additional storage space for the mobile computing device 450, or may also store applications or other information for the mobile computing device 450. Specifically, the expansion memory 574 may include instructions for executing or supplementing the above-mentioned processes, and may also include security information. Thus, for example, the expansion memory 574 may be configured as a security module for the mobile computing device 450, and may be programmed with instructions that allow the mobile computing device 450 to be used securely. In addition, secure applications may be securely provided via a SIMM card, as well as other information, such as placing identification information on the SIMM card in an inviolable manner.
[0074] The memory may include, for example, flash memory and / or NVRAM memory (non-volatile random access memory), as discussed below. In some embodiments, instructions are stored in an information carrier that, when executed by one or more processing devices (e.g., processor 552), perform one or more methods, such as those described above. The instructions may also be stored by one or more storage devices, such as one or more computer or machine readable media (e.g., memory 564, expansion memory 574, or memory on processor 552). In some embodiments, the instructions may be received, for example, by a transceiver 568 or external interface 562 as a propagated signal.
[0075] The mobile computing device 450 may communicate wirelessly via a communication interface 566, which may include digital signal processing circuitry where necessary. The communication interface 566 may provide communications in various modes or protocols, such as GSM voice calls (Global System for Mobile Communications), SMS (Short Message Service), EMS (Enhanced Message Service) or MMS messages (Multimedia Message Service), CDMA (Code Division Multiple Access), TDMA (Time Division Multiple Access), PDC (Personal Digital Cellular), WCDMA (Wideband Code Division Multiple Access), CDMA2000, or GPRS (General Packet Radio Service), etc. For example, such communications may occur using radio frequencies through a transceiver 568. In addition, short-range communications may occur, such as using Bluetooth, WiFi, or other such transceivers (not shown). In addition, a GPS (Global Positioning System) receiver module 570 may provide additional navigation and location-related wireless data to the mobile computing device 450, which may be used appropriately by applications running on the mobile computing device 450.
[0076] Mobile computing device 450 may also communicate audibly using audio codec 560, which may receive voice information from a user and convert it into usable digital information. Audio codec 560 may similarly generate audible sounds for the user, such as through a speaker, for example, in an earpiece of mobile computing device 450. Such sounds may include sounds from voice phone calls, may include recorded sounds (e.g., voice messages, music files, etc.), and may also include sounds generated by applications running on mobile computing device 450.
[0077] Mobile computing device 450 can be implemented in many different forms, as shown in the drawings. For example, it can be implemented as a cellular phone 580. It can also be implemented as part of a smart phone 582, a personal digital assistant, or other similar mobile devices.
[0078] Various implementations of the systems and techniques described herein can be implemented in digital electronic circuitry, integrated circuitry, specially designed ASICs, computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system that includes at least one programmable processor, which can be special purpose or general purpose, coupled to receive data and instructions therefrom and to transmit data and instructions to a storage system, at least one input device, and at least one output device.
[0079] These computer programs, also referred to as programs, software, software applications or code, comprise machine instructions for a programmable processor and may be implemented in a high-level procedural language and / or an object-oriented programming language and / or in assembly / machine language. A program may be stored as part of a file that holds other programs or data (e.g., one or more scripts in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., one or more modules, subroutines, or partial code files). A computer program may be deployed to execute on one computer or on multiple computers located at one site or distributed over multiple sites and interconnected by a communications network.
[0080] As used herein, the terms "machine-readable medium", "computer-readable medium" refer to any computer program product, apparatus and / or device for providing machine instructions and / or data to a programmable processor, such as a disk, an optical disk, a memory, a programmable logic device (PLD), including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0081] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user, and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including sound, voice, or tactile input.
[0082] The systems and techniques described herein can be implemented in a computing system that includes a back-end component, for example, as a data server, or includes a middleware component, such as an application server, or includes a front-end component, such as a client computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein, or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication, such as a communication network. Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), and the Internet.
[0083] The computing system can include clients and servers. Clients and servers are usually remote from each other and usually interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
[0084] In addition to the above, controls may be provided to the user that allow the user to choose whether and when the systems, programs, or features described herein may be allowed to collect information about the user (e.g., information about the user's social network, social actions or activities, profession, the user's preferences, or the user's current location), and whether the user is sent content or communications from a server. In addition, certain data may be processed in one or more ways before it is stored or used so that personally identifiable information is removed.
[0085] For example, in some embodiments, the identity of a user may be processed so that no personally identifiable information can be determined for the user, or the user's geographic location may be generalized (such as to a city, zip code, or state level) when location information is obtained so that the user's specific location cannot be determined. Thus, the user may have control over what information is collected about the user, how the information is used, and what information is provided to the user.
[0086] A number of embodiments have been described. However, it will be appreciated that various modifications may be made without departing from the spirit and scope of the invention. For example, various forms of the processes shown above may be used, with steps being reordered, added, or removed. Furthermore, although several applications of the systems and methods have been described, it will be appreciated that many other applications are contemplated. Therefore, other embodiments are within the scope of the appended claims.
[0087] Specific embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. For example, the actions recited in the claims can be performed in a different order and still achieve the desired results. As an example, the processes depicted in the accompanying drawings do not necessarily require the particular order shown or sequential order to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous.
Claims
1. A computer-implemented method, which, when executed on data processing hardware, causes the data processing hardware to perform operations comprising: Obtaining a speech spectrogram corresponding to an utterance spoken by a target speaker; Get the phoneme input sequence to be synthesized into speech; extracting a speaker embedding vector of the target speaker from the speech spectrogram using a speaker encoder network; generating, using a synthesizer configured to receive as input the phoneme input sequence and the speaker embedding vector, a mel-spectrogram representation of the phoneme input sequence in speech of the target speaker; as well as The mel-spectrogram representation of the input sequence of phonemes in the speech of the target speaker is provided for output.
2. The method according to claim 1, wherein: The speech spectrogram corresponding to the utterance spoken by the target speaker includes a mel spectrogram of arbitrary length.
3. The method according to claim 1, wherein: The speaker encoder network is trained to extract speaker embedding vectors from speech spectrograms corresponding to utterances spoken by the same speaker that are close together in the embedding space.
4. The method according to claim 1, wherein: The speaker encoder network is trained to extract speaker embedding vectors from speech spectrograms corresponding to utterances spoken by different speakers that are distant from each other.
5. The method according to claim 1, wherein: The speaker encoder network is trained separately from the synthesizer.
6. The method according to claim 5, wherein: During training of the synthesizer, the parameters of the speaker encoder network are fixed.
7. The method according to claim 1, wherein: The synthesizer includes a spectrogram generating neural network that is trained to predict a mel-spectrogram from an input sequence of phonemes.
8. The method according to claim 7, wherein: The spectrogram generation neural network includes a sequence-to-sequence attention neural network.
9. The method according to claim 7, wherein: The spectrogram generation neural network includes an encoder neural network and a decoder neural network.
10. The method according to claim 9, wherein: The spectrogram generation neural network further includes an attention layer.
11. A system comprising: Data processing hardware; as well as Memory hardware in communication with the data processing hardware and storing instructions that, when executed on the data processing hardware, cause the data processing hardware to perform operations comprising: Obtaining a speech spectrogram corresponding to an utterance spoken by a target speaker; Get the phoneme input sequence to be synthesized into speech; extracting a speaker embedding vector of the target speaker from the speech spectrogram using a speaker encoder network; generating, using a synthesizer configured to receive as input the phoneme input sequence and the speaker embedding vector, a mel-spectrogram representation of the phoneme input sequence in speech of the target speaker; and The mel-spectrogram representation of the input sequence of phonemes in the speech of the target speaker is provided for output.
12. The system according to claim 11, wherein: The speech spectrogram corresponding to the utterance spoken by the target speaker includes a mel spectrogram of arbitrary length.
13. The system according to claim 11, wherein: The speaker encoder network is trained to extract speaker embedding vectors from speech spectrograms corresponding to utterances spoken by the same speaker that are close together in the embedding space.
14. The system according to claim 11, wherein: The speaker encoder network is trained to extract speaker embedding vectors from speech spectrograms corresponding to utterances spoken by different speakers that are remote from each other.
15. The system according to claim 11, wherein: The speaker encoder network is trained separately from the synthesizer.
16. The system of claim 15, wherein: During training of the synthesizer, the parameters of the speaker encoder network are fixed.
17. The system of claim 11, wherein: The synthesizer includes a spectrogram generating neural network that is trained to predict a mel-spectrogram from an input sequence of phonemes.
18. The system of claim 17, wherein: The spectrogram generation neural network includes a sequence-to-sequence attention neural network.
19. The system of claim 17, wherein: The spectrogram generation neural network includes an encoder neural network and a decoder neural network.
20. The system of claim 19, wherein: The spectrogram generation neural network further includes an attention layer.
21. A computer-implemented method, which, when executed on data processing hardware, causes the data processing hardware to perform operations comprising: obtaining an audio recording file including speech of a target speaker; extracting a speaker embedding vector of the target speaker from the audio recording file using a speaker encoder network; Obtaining input text to be synthesized in the voice of the target speaker; generating, using a synthesizer configured to receive as input the speaker embedding vector and the input text, a synthesized speech representation of the input text spoken in the voice of the target speaker; as well as The synthesized speech representation of the input text spoken in the voice of the target speaker is provided for output.
22. The method according to claim 21, wherein: The speaker encoder network is trained to extract speaker embedding vectors from audio representations corresponding to utterances spoken by the same speaker that are close together in the embedding space.
23. The method according to claim 21, wherein: The speaker encoder network is trained to extract speaker embedding vectors from audio representations corresponding to utterances spoken by different speakers that are distant from each other.
24. The method according to claim 21, wherein: The speaker encoder network includes a long short-term memory (LSTM) neural network.
25. The method according to claim 21, wherein: The speaker encoder network is trained separately from the synthesizer.
26. The method according to claim 25, wherein: During training of the synthesizer, the parameters of the speaker encoder network are fixed.
27. The method of claim 21, wherein: The synthesizer includes a spectrogram generating neural network that is trained to predict a mel-spectrogram from an input sequence of phonemes.
28. The method according to claim 27, wherein: The spectrogram generation neural network includes a sequence-to-sequence attention neural network.
29. The method according to claim 27, wherein: The spectrogram generation neural network includes an encoder neural network and a decoder neural network.
30. The method of claim 29, wherein: The spectrogram generation neural network further includes an attention layer.
31. A system comprising: Data processing hardware; as well as Memory hardware in communication with the data processing hardware and storing instructions that, when executed on the data processing hardware, cause the data processing hardware to perform operations comprising: obtaining an audio recording file including speech of a target speaker; extracting a speaker embedding vector of the target speaker from the audio recording file using a speaker encoder network; Obtaining input text to be synthesized in the voice of the target speaker; generating, using a synthesizer configured to receive as input the speaker embedding vector and the input text, a synthesized speech representation of the input text spoken in the voice of the target speaker; and The synthesized speech representation of the input text spoken in the voice of the target speaker is provided for output.
32. The system of claim 31, wherein: The speaker encoder network is trained to extract speaker embedding vectors from audio representations corresponding to utterances spoken by the same speaker that are close together in the embedding space.
33. The system of claim 31, wherein: The speaker encoder network is trained to extract speaker embedding vectors from audio representations corresponding to utterances spoken by different speakers that are distant from each other.
34. The system of claim 31, wherein: The speaker encoder network includes a long short-term memory (LSTM) neural network.
35. The system of claim 31, wherein: The speaker encoder network is trained separately from the synthesizer.
36. The system of claim 35, wherein: During training of the synthesizer, the parameters of the speaker encoder network are fixed.
37. The system of claim 31, wherein: The synthesizer includes a spectrogram generating neural network that is trained to predict a mel-spectrogram from an input sequence of phonemes.
38. The system of claim 37, wherein: The spectrogram generation neural network includes a sequence-to-sequence attention neural network.
39. The system of claim 37, wherein: The spectrogram generation neural network includes an encoder neural network and a decoder neural network.
40. The system of claim 39, wherein: The spectrogram generation neural network further includes an attention layer.
