PER-SEGMENT VOICE CLONING FOR EXPRESSION CONTROL
In some embodiments, a method determines a plurality of segments of content that require dubbing. For each segment in the plurality of segments, the method performs: determining a target segment of content; generating a training dataset for the target segment; and training a model to dub that target segment based on the training dataset. The model is trained to generate each target segment based on an expression using a respective training dataset that is determined for the respective target segment. Then, the method inputs information for the target segment into the model to generate a dubbed target segment. The dubbed target segment is generated based on the expression from the training. The dubbed target segments are output for the plurality of segments.
Latest Disney Patents:
Voice cloning typically involves using all available data for a particular speaker to generate a cloned voice. However, when cloning a voice, models that do not have explicit style or emotion control tend to produce a simple average of the speaker's speaking style. This results in generated voice lines that lack the correct emphasis and emotion, and do not match the style or emotion of the original line.
Some voice synthesis models may have limited support for emotion control. One approach uses coarse classes such as happy, angry, or sad, but this requires training data to contain these labels, which can be difficult and expensive to acquire. Moreover, these labels do not accurately capture nuances in emotions and mixed emotions. Another approach uses reference audio neural embedding conditioning, which allows a creator to select a single reference audio file to control the speaking style in the synthesized audio. However, this approach requires models to be designed to support neural embedding driven control, and not all state-of-the-art models have this capability. Also, the reference audio file is used to clone all the lines for a specific speaker.
The lack of effective emotion control in voice synthesis models can lead to distracting and disengaging failure cases for viewers, particularly when the delivery is flat or overly excited. This may result in lower quality dubbed content and a subpar viewer experience.
The included drawings are for illustrative purposes and serve only to provide examples of possible structures and operations for the disclosed inventive systems, apparatus, methods, and computer program products. These drawings in no way limit any changes in form and detail that may be made by one skilled in the art without departing from the spirit and scope of the disclosed implementations.
Described herein are techniques for a voice cloning system. In the following description, for purposes of explanation, numerous examples and specific details are set forth to provide a thorough understanding of some embodiments. Some embodiments as defined by the claims may include some or all the features in these examples alone or in combination with other features described below, and may further include modifications and equivalents of the features and concepts described herein.
System OverviewDuring a dubbing process, it is desirable to maintain the same expression (e.g., style, emotion, etc.) from the original lines, such as every single line. This may match the expression of the translated dubbed line to the respective line in the original language.
A system determines a plurality of segments of content that require dubbing. The content may be video, audio, or other instances of content that have verbal speech. The content includes multiple segments that are associated with an identity. For example, a segment may be one or more words, such as a sentence or line. An identity may be characteristics for a speaker of the segment. For each segment, the system determines a target segment of content and the system generates training data for the target segment. In some embodiments, the system trains a model that clones a voice for an identity of the speaker based on the training data. The model is trained for each target segment using respective training data that is determined for the respective target segment.
After training the model for the segment, the system inputs information for the target segment (e.g., text or audio for the target segment) into the model to generate a dubbed target segment using the identity. In some embodiments, the system repeats this process for each segment of content that requires dubbing. The system can output the dubbed target segments in a format suitable for use in a variety of applications, such as video or audio productions. For each target segment, the system can generate a dubbed target segment that accurately reproduces the voice of the identity with a similar expression of the original target segment.
In some embodiments, the system can emulate controlling of the expression of the speaking style of the original segment by controlling the training data provided to the speech model. For example, the system skews the training data of the cloning process towards the expression of a target segment, allowing for control that matches the expression of the original delivery. In some embodiments, the system may duplicate the target segment in the training data to a target ratio of the target segment to other segments in the training data. For a model that may average the expression from the training data, skewing the training data towards the expression of the target segment may train the model to dub the target segment more similarly to the expression of the target segment. The system can clone the speaker for each line in this way, rather than training a model only once and using the same model for re-synthesizing lines for the whole transcript. The use of per-segment training enables the system to capture the nuances of the speaker's expression on a per-segment basis.
Accordingly, the system can adjust the training data to emphasize certain aspects of the speaker's expression of the target segment, such as tone, pitch, or volume. By doing so, the system can generate cloned speech that more accurately conveys the intended expression of the original delivery. For instance, if a particular line is intended to be spoken in a sad tone, the system can skew the training data to emphasize this tone, resulting in a cloned version of the line that better matches the original emotion. The system can repeat this process for each line in the transcript, allowing for a more nuanced and emotionally accurate cloned speech output.
SystemIn some embodiments, server system 102 can be implemented using one or more computing devices that interact with client devices 104. Server system 102 may be designed to handle requests for content from multiple client devices and provide dubbed content in response.
Server system 102 includes a content management system 106 that may facilitate the delivery of content to client device 104. For example, content management system 106 may communicate with multiple content delivery networks (not shown) to have content delivered to multiple client devices 104. A content delivery network includes servers that can deliver content to client device 104. The content may be video, audio, or other types of content. Video may be used for discussion purposes, but other types of content may be used in place of video.
Client device 104 may include a mobile phone, smartphone, set top box, television, living room device, tablet device, or other computing device. Client device 104 may include a media player 110 that is displayed on an interface 112, and plays back the dubbed content. Media player 110 or client device 104 may request content from the content delivery network. Although this system is described, the dubbed content audio track may be used in other systems.
An input, such as a transcript or audio, may be used to dub the audio in the content. Transcript may be used for discussion purposes, but other inputs may be used. The transcript may include segments, which may include one or more words. The segments may be organized into lines, sentences, paragraphs, etc. Different speakers may speak in the transcript. A voice cloning system 108 may dub the voice of the speakers for segments of the transcript using text-to-speech. The dubbing may dub the voice into a target, which may be a second language from the original language, another speaker, or other characteristics. In other embodiments, voice cloning system 108 may use speech-to-speech to create the dubbed content. The speech of the speaker may be input and dubbed into the target.
Voice cloning system 108 emulates control of expression for a model by controlling training data provided to the model. In some embodiments, the model may be able to receive training data and be trained on the training data. The training data may be audio data for respective segments that are spoken by an identity, such as the speaker of a line. Then, the model may adjust parameters that are used to dub the input into a target based on the training data. In some embodiments, the model may average the expression that is found in the training data. To train the model to dub a segment in the original expression, voice cloning system 108 generates training data for a model that skews the expression to that of an individual segment (e.g., one or more words, a sentence, line, paragraph, etc.) for an identity of a speaker. The training of the model enables expression control that is similar to the expression of original delivery for the segment. For example, voice cloning system 108 clones a speaker for each line in this way, rather than training the model only once and using same model for re-synthesizing lines for whole transcript of the content for a speaker. This approach allows voice cloning system 108 to capture nuances of speaker's expression on per-line basis.
In some embodiments, voice cloning system 108 adjusts training data to emphasize certain aspects of speaker's style or emotion, such as tone, pitch, prosody, volume, etc. For instance, voice cloning system 108 can skew training data to emphasize sad tone for particular line, resulting in cloned version of line that better matches original emotion. Voice cloning system 108 repeats this process for each segment in transcript, allowing for more nuanced and emotionally accurate cloned speech output. By controlling training data in this way, voice cloning system 108 can generate high-quality cloned speech that effectively conveys intended emotion and style of original delivery.
Voice Cloning SystemVoice cloning model 202 receives a segment, such as one or more words, and creates a dubbed segment with a cloned voice. As discussed above, the segment may be text or audio, and is associated with a specific identity of a speaker. In some embodiments, voice cloning model 202 uses parameters that are trained to create dubbed segment. For example, voice cloning model 202 trains on data associated with the identity of the speaker, and adjusts parameters of the model to learn characteristics of speaker's voice. Then, voice cloning model 202 creates a dubbed segment based on the parameters. Accordingly, voice cloning model 202 can receive segment as input, and then generate dubbed segment based on trained parameters.
In some embodiments, voice cloning model 202 fine-tunes parameters for each segment to create more accurate expression for the dubbed segment. For instance, during training, voice cloning model 202 can adjust parameters according to an expression of the training data. Voice cloning model 202 may have parameters that are used to apply an expression to a segment being cloned. For example, voice cloning model 202 may detect an expression, such as an emotion or style, in the target segment. Then, voice cloning model 202 may apply an expression, such as by modifying the prosody (rhythm, stress, and intonation) of the speech, as well as adjusting the spectral characteristics of the voice (such as pitch, timbre, and resonance). Some examples of parameters for expression that may be adjusted include prosody parameters that control the rhythm, stress, and intonation of speech, spectral parameters that control the timbre, resonance, and spectral characteristics of the voice, emotion-specific parameters that control the expression of emotions, and other parameters. The adjustment of parameters may apply different expressions to a segment.
Then, when dubbing the original segment, the dubbed segment sounds more natural with a similar expression of the original segment. By receiving segment and creating dubbed segment with cloned voice, voice cloning model 202 enables creation of high-quality dubbed content that sounds like original speaker.
Training system 204 trains voice cloning model 202. In some embodiments, training system 204 trains voice cloning model 202 for each segment or group of segments. For example, training system 204 may train voice cloning model 202 for each segment to capture the expression of each segment. This improves the dubbed segments because voice cloning model 202 is trained specifically for the expression of the segment being dubbed. Also, when different speakers are being cloned, training system 204 may generate dubbed segments for each segment spoken by a speaker. Training system 204 may use different methods when dubbing segments for multiple speakers. For example, segments for speakers may be separated and voice cloning model 202 is trained for one speaker and the segments spoken by that speaker are dubbed. Then, the segments for another speaker are dubbed by training voice cloning model 202. Also training system 204 may dub segments by multiple speakers. Training system 204 may switch the speaker depending on which speaker spoke a specific segment. In different cases, the training may capture the expression of the different speakers for each segment.
Training system 204 gathers training data for each segment to train voice cloning model 202. In some embodiments, training system 204 receives content with multiple lines and identifies segments that require dubbing for a speaker. For example, training system 204 determines which segments need to be cloned and gathers relevant data for each line. For example, the data may be audio data for the segments and which identity of a speaker spoke the segment. As will be discussed in more detail below, training system 204 may duplicate the target segment being dubbed in the training data to skew the training of voice cloning model 202 to use the expression of the target segment. For example, the training dataset for a target segment may include a number of instances of the target segment, and a number of other segments that are spoken by the speaker. For example, training system 204 may search the corpus of segments to identify segments spoken by the speaker of the target segment. Training system 204 then uses this data to train voice cloning model 202, allowing voice cloning model 202 to learn characteristics of speaker's expression for each segment.
In some embodiments, training system 204 fine-tunes parameters using respective training data for each segment to improve accuracy of voice cloning model 202. For instance, training system 204 adjusts parameters of voice cloning model 202 based on the training data. When voice cloning model 202 is configured to average the expression from the training data, the skewing of the training data to favor the expression of the original segment results in a segment that is more similar to the original expression of the segment, resulting in more natural-sounding cloned speech. Then, training system 204 repeats this process for each segment, allowing voice cloning model 202 to learn speaker's expression on a segment by segment basis. By gathering training data for each segment and training voice cloning model 202, training system 204 improves the creation of dubbed content by having a more similar expression as the original segment.
The following will describe the voice cloning process and the training process in more detail.
Voice Cloning ProcessAt 304, voice cloning system 108 determines a target segment of content that requires dubbing. In some embodiments, each line of a speaker that requires dubbing in content may be input into voice cloning system 108 or each line of content may be input where the lines are from multiple different speakers.
At 306, voice cloning system 108 determines training data for the segment. In some embodiments, voice cloning system 108 may create duplicates of the target segment, sample segments from the rest of the corpus of segments available for the speaker, and mix the data together to achieve a target ratio of the target segment and the other segments. The information in the training data may be the audio of the segments or lines, metadata, or other information for the segments or lines. Accordingly, voice cloning system 108 may use the duplicated target segment and sampled segments from the rest of the corpus to create a skewed or personalized dataset that captures the unique characteristics of the speaker's voice for the target segment. The ratio may be predefined, such as the ratio may be set at 4:1. The 4:1 ratio may mean that there are four copies of the original segment to every other segment in the training data. The other segments from the speaker may be identified via metadata that identifies segments spoken by the speaker, selected randomly from a corpus of the segments, selected from segments that are proximate or within a time period to the target segment, or identified in other ways.
At 308, voice cloning system 108 trains voice cloning model 202 using the training data. In some embodiments, voice cloning system 108 uses the training dataset created in the previous steps to train a model that can accurately clone the speaker's voice for the expression of the target segment. For instance, the duplicated reference line may skew the parameters of voice cloning model 202 to be adjusted to focus on the expression of the target segment when voice cloning model 202 averages the expression from all the lines of the training data.
After training, at 310, voice cloning system 108 inputs the target segment into the trained voice cloning model 202 and outputs a dubbed target segment. The input may be text or audio of the original target segment. In some embodiments, voice cloning system 108 uses the trained model to synthesize the dubbed target segment line of the speaker, creating a cloned version of the original segment. For example, voice cloning system 108 may use the trained model with the adjusted parameters to generate an audio output that more closely mimics the speaker's expression from the original target segment.
At 312, voice cloning system 108 determines if there is another segment to process. In some embodiments, voice cloning system 108 repeats the process for the remaining transcript segments that need to be dubbed, creating a cloned version of each segment using the respective training data for the respective target segment and the dynamically trained model for each respective segment. That is, voice cloning model 202 may have parameters trained for each respective segment that is being dubbed. For instance, if there are additional segments, voice cloning system 108 may iterate through each segment of the content, creating a dubbed version of each segment using a skewed training dataset and trained model for each segment.
At 314, if another segment does not need to be dubbed, voice cloning system 108 outputs the dubbed segments. In some embodiments, voice cloning system 108 combines the cloned versions of each segment to create a final dubbed output, such as an audio file or video. This results in dubbed segments that each have a similar expression to the original segment.
The training dataset generation and training will now be described in more detail.
Training Dataset Generation ProcessAt 406, voice cloning system 108 creates duplicates of the target segment. In some embodiments, voice cloning system 108 generates multiple copies of the target segment, which will be used to create the skewed training data. This creates multiple copies of the audio of the target segment.
At 408, voice cloning system 108 samples supplemental segments from other portions of content available for the speaker. In some embodiments, voice cloning system 108 selects additional lines or phrases from the corpus of voice data that are relevant to the target segment, and adds them to the training data. For instance, voice cloning system 108 may sample lines from other parts of the transcript or from different speeches from the speaker to capture a wider range of the speaker's voice characteristics. The supplemental segments of the speaker may be sampled randomly, weighted by distance to the current segment in time, or by other methods.
At 410, voice cloning system 108 mixes the training data together to reach the target ratio. In some embodiments, voice cloning system 108 combines the duplicated reference line with at least some of the sampled supplemental segments, aiming for a specific ratio of data from the target segment and the rest of the segments. For example, voice cloning system 108 may mix the data to achieve a balance between the specific characteristics of the target segment and the more general characteristics of the speaker's voice. In some embodiments, the ratio may be pre-set, such as a ratio of 4:1 of the reference segment to other segments. Also, the number of target segments and supplemental segments may be predefined. For example, a training dataset may be set at 100 segments. If a 4:1 ratio is used, there are 80 segments of the duplicated target segment and 20 segments of the supplemental segments. The ratio can also be controlled to provide more or less emphasis on the expression of the original target segment.
At 412, voice cloning system 108 trains voice cloning model 202 with the training data. The training is performed as described above.
At 414, voice cloning system 108 synthesizes the target segment using the trained voice cloning model 202. In some embodiments, voice cloning system 108 uses the trained model to generate an audio output that is similar to the speaker's expression from the original target segment.
At 416, voice cloning system 108 determines if another segment is available for processing. In some embodiments, voice cloning system 108 checks if there are remaining transcript segments that need to be dubbed, and if so, repeats the process for each segments. For instance, voice cloning system 108 may iterate through each segment of the content, creating a personalized version of the training data and synthesizing the dubbed individual segment with the retrained voice cloning model 202. At 418, if another segment does not need to be dubbed, voice cloning system 108 outputs the dubbed segments.
ConclusionVoice cloning system 108 uses controls over expression of voice during the dubbing process. In some embodiments, voice cloning system 108 does not rely on coarse labels of emotion. For example, voice cloning system 108 can adjust parameters to achieve desired expression based on a skewed training dataset, resulting in more nuanced and expressive voice synthesis for the original segment. By not relying on pre-defined emotional categories, voice cloning system 108 enables more subtle and context-dependent control over synthesized speech.
In some embodiments, voice cloning system 108 makes use of best control strategies without needing to use a model with a specific architecture design that supports expression control. This allows voice cloning system 108 to work with any model, including black-box models that do not have direct control over expression controls. For instance, voice cloning system 108 can utilize a skew ratio of the reference segment to other segments in training data to adjust parameters and achieve a desired expression in the synthesized speech. Additionally, voice cloning system 108 controls the skew ratio to place more or less emphasis over the expression control. By adjusting this ratio, voice cloning system 108 can balance between preserving original expression intent and the expression from other segments, resulting in more natural and engaging synthesized speech.
SystemAny of the disclosed implementations may be embodied in various types of hardware, software, firmware, computer readable media, and combinations thereof. For example, some techniques disclosed herein may be implemented, at least in part, by non-transitory computer-readable media that include program instructions, state information, etc., for configuring a computing system to perform various services and operations described herein. Examples of program instructions include both machine code, such as produced by a compiler, and higher-level code that may be executed via an interpreter. Instructions may be embodied in any suitable language such as, for example, Java, Python, C++, C, HTML, any other markup language, JavaScript, ActiveX, VBScript, or Perl. Examples of non-transitory computer-readable media include, but are not limited to: magnetic media such as hard disks and magnetic tape; optical media such as flash memory, compact disk (CD) or digital versatile disk (DVD); magneto-optical media; and other hardware devices such as read-only memory (“ROM”) devices and random-access memory (“RAM”) devices. A non-transitory computer-readable medium may be any combination of such storage devices.
In the foregoing specification, various techniques and mechanisms may have been described in singular form for clarity. However, it should be noted that some embodiments include multiple iterations of a technique or multiple instantiations of a mechanism unless otherwise noted. For example, a system uses a processor in a variety of contexts but can use multiple processors while remaining within the scope of the present disclosure unless otherwise noted. Similarly, various techniques and mechanisms may have been described as including a connection between two entities. However, a connection does not necessarily mean a direct, unimpeded connection, as a variety of other entities (e.g., bridges, controllers, gateways, etc.) may reside between the two entities.
Some embodiments may be implemented in a non-transitory computer-readable storage medium for use by or in connection with the instruction execution system, apparatus, system, or machine. The computer-readable storage medium contains instructions for controlling a computer system to perform a method described by some embodiments. The computer system may include one or more computing devices. The instructions, when executed by one or more computer processors, may be configured or operable to perform that which is described in some embodiments.
As used in the description herein and throughout the claims that follow, “a”, “an”, and “the” include plural references unless the context clearly dictates otherwise. Also, as used in the description herein and throughout the claims that follow, the meaning of “in” includes “in” and “on” unless the context clearly dictates otherwise.
The above description illustrates various embodiments along with examples of how aspects of some embodiments may be implemented. The above examples and embodiments should not be deemed to be the only embodiments and are presented to illustrate the flexibility and advantages of some embodiments as defined by the following claims. Based on the above disclosure and the following claims, other arrangements, embodiments, implementations, and equivalents may be employed without departing from the scope hereof as defined by the claims.
Claims
1. A method comprising:
- determining a plurality of segments of content that require dubbing;
- for each segment in the plurality of segments: determining a target segment of content; generating a training dataset for the target segment; training a model to dub that target segment based on the training dataset, wherein the model is trained to generate each target segment based on an expression using a respective training dataset that is determined for the respective target segment; and inputting information for the target segment into the model to generate a dubbed target segment, wherein the dubbed target segment is generated based on the expression from the training; and outputting the dubbed target segments for the plurality of segments.
2. The method of claim 1, wherein determining the plurality of segments of content that require dubbing comprises:
- reviewing the content to identify segments that are associated with an identity.
3. The method of claim 1, wherein determining the plurality of segments of content that require dubbing comprises:
- determining segments from a plurality of identities that require dubbing.
4. The method of claim 1, wherein determining the target segment of content comprises:
- identifying one or more words within the content that requires dubbing.
5. The method of claim 1, wherein generating training dataset for the target segment comprises:
- duplicating the target segment based on a ratio of the target segment to supplemental segments.
6. The method of claim 5, wherein generating training dataset for the target segment comprises:
- controlling the ratio based on a characteristic of the target segment.
7. The method of claim 5, wherein generating training dataset for the target segment comprises:
- sampling the supplemental segments from other portions of the content that are associated with an identity of a speaker of the target segment.
8. The method of claim 7, wherein generating training dataset for the target segment comprises:
- selecting a supplemental segment for the training dataset based on a time from the target segment.
9. The method of claim 7, wherein generating training dataset for the target segment comprises:
- determining the ratio;
- selecting a number of the supplemental segments for the training dataset; and
- adding a duplicated number of the target segment to the training dataset to meet the ratio.
10. The method of claim 1, wherein training the model comprises:
- adjusting a parameter of the model based on the training dataset.
11. The method of claim 1, wherein training the model comprises:
- adjusting a parameter of the model based on the expression of respective segments in the training dataset.
12. The method of claim 11, wherein the model adjusts the parameter based on an averaging of the expression in the respective segments. of the training dataset.
13. The method of claim 1, wherein the information that is input into the model comprises text of the target segment or audio of the target segment.
14. The method of claim 1, wherein the model does not include controls for the expression that can be adjusted during the generation of the dubbed target segment.
15. The method of claim 1, wherein the expression comprises an emotion or style of the target segment.
16. A non-transitory computer-readable storage medium having stored thereon computer executable instructions, which when executed by a computing device, cause the computing device to be operable for:
- determining a plurality of segments of content that require dubbing;
- for each segment in the plurality of segments: determining a target segment of content; generating a training dataset for the target segment; training a model to dub that target segment based on the training dataset, wherein the model is trained to generate each target segment based on an expression using a respective training dataset that is determined for the respective target segment; and inputting information for the target segment into the model to generate a dubbed target segment, wherein the dubbed target segment is generated based on the expression from the training; and outputting the dubbed target segments for the plurality of segments.
17. The non-transitory computer-readable storage medium of claim 16, wherein generating training dataset for the target segment comprises:
- duplicating the target segment based on a ratio of the target segment to supplemental segments.
18. The non-transitory computer-readable storage medium of claim 16, wherein training the model comprises:
- adjusting a parameter of the model based on the expression of respective segments in the training dataset.
19. The non-transitory computer-readable storage medium of claim 18, wherein the model adjusts the parameter based on an averaging of the expression in the respective segments. of the training dataset.
20. An apparatus comprising:
- one or more computer processors; and
- a computer-readable storage medium comprising instructions for controlling the one or more computer processors to be operable for: determining a plurality of segments of content that require dubbing; for each segment in the plurality of segments: determining a target segment of content; generating a training dataset for the target segment; training a model to dub that target segment based on the training dataset, wherein the model is trained to generate each target segment based on an expression using a respective training dataset that is determined for the respective target segment; and inputting information for the target segment into the model to generate a dubbed target segment, wherein the dubbed target segment is generated based on the expression from the training; and outputting the dubbed target segments for the plurality of segments.
Type: Application
Filed: May 21, 2025
Publication Date: Nov 26, 2026
Applicant: Disney Enterprises, Inc. (Burbank, CA)
Inventors: Dan Sebastian Ruta (Zurich), Guglielmo Camporese (Zurich), Muhammad Hamza Javed (Zurich), Shinobu Hattori (Los Angeles, CA)
Application Number: 19/215,094