# US 2021/0279427 A1 · Systems and methods for generating multi-language media content with automatic selection of matching voices

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0279427 A1
- Document ID: US20210279427A1
- Status: Published application
- Kind: A1
- Application number: 17/196,285
- Filed: 2021-03-09
- Published: 2021-09-09
- Earliest claimed: 2020-03-09
- Assignees: Warner Bros. Entertainment Inc.
- Applicants: Warner Bros. Entertainment Inc.
- Inventors: Aansh Malik; Ha Thanh Nguyen
- Web page: https://patentgrep.com/patent/US20210279427A1

## CPC

- G06F 40/47: Machine-assisted translation, e.g. using translation memory
- G10L 25/51: for comparison or discrimination
- G06F 40/58: Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
- G10L 15/005: {Language recognition}
- G10L 15/16: using artificial neural networks
- G10L 17/26: Recognition of special voice characteristics, e.g. for use in lie detectors; Recognition of animal voices
- G10L 25/30: using neural networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

A method and system for automated voice casting compares candidate voices samples from candidate speakers in a target language with a primary voice sample from a primary speaker in a primary language. Utterances in the audio samples of the candidates speakers and the primary speaker are identified and typed and voice samples generated that meet applicable utterance type criteria. A neural network is used to generate an embedding for the voice samples. A voice sample can include groups of different utterance types and embeddings generated for each utterance group in the voice sample and then combined in a weighted form wherein the resulting embedding emphasizes selected utterance types. Similarities between embeddings for the candidate voice samples relative to the primary voice sample are evaluated and used to select a candidate speaker that is a vocal match.

## Claims

### Claim 1

A computer-implemented method for automated voice casting comprising the steps of:
accessing a primary audio sample comprising speech of a primary speaker in a primary language;
generating a primary voice sample for the primary audio sample, the primary voice sample including utterances meeting at least one predetermined primary utterance type criterion;
accessing a plurality of candidate audio samples each comprising speech from a respective candidate speaker in a target language;
generating a respective candidate voice sample for each candidate audio sample, each of the candidate voice samples including utterances meeting at least one predetermined candidate utterance type criterion;
determining using a neural network an embedding for the primary voice sample, the embedding providing a multidimensional numeric representation of acoustic features of the primary voice sample;
determining using the neural network a respective embedding for each candidate voice sample, each respective embedding providing a multidimensional numeric representation of acoustic features of such candidate voice sample;
generating for each candidate voice sample a similarity score relative to the primary voice sample, the similarity score being a function of the embedding of such candidate voice sample and the embedding of the primary voice sample; and
identifying a specific candidate speaker as providing a vocal match to the primary speaker based on the similarity scores of the candidate voice samples.

### Claim 2 (depends on 1)

The method of claim 1, further comprising the steps of:
receiving dubbing audio from the identified particular candidate speaker in the target language; and
producing for a primary media including audio spoken by the primary speaker a localized version of the primary media including the dubbing audio from the identified particular candidate speaker as a localized version of the audio spoken by the primary speaker in the primary media.

### Claim 3 (depends on 1)

The method of claim 1,
the at least one candidate utterance type criterion comprising presence of a first utterance type;
the step of generating a particular candidate voice sample for a particular candidate audio sample comprising the steps of:
identifying utterances in the particular candidate audio sample;
checking the identified utterances for presence of an utterance of the first utterance type;
in response to a determination that the particular candidate audio sample does not include an utterance of the first utterance type:
obtaining an additional utterance comprising speech by the candidate speaker associated with the particular candidate audio sample, the additional utterance being of the first utterance type; and
combining the additional utterance with at least one identified utterance in the candidate audio sample in the particular candidate voice sample.

### Claim 4 (depends on 3)

The method of claim 3, the step of obtaining the additional utterance comprising retrieving the additional utterance from a media library.

### Claim 5 (depends on 1)

The method of claim 1,
the step of generating a particular candidate voice sample for a particular candidate audio sample comprising the steps of:
identifying utterances in the particular candidate audio sample and associated respective utterance types;
selecting at least one utterance from the identified utterance types according to the at least one predetermined candidate utterance type criterion;
generating the particular candidate voice sample for the particular candidate audio sample from the selected at least one utterance.

### Claim 6 (depends on 5)

The method of claim 5,
the selected at least one utterance comprising a plurality of utterances;
the step of generating the particular candidate voice sample comprising combining the selected utterances to group utterances of like utterance type together in the particular candidate voice sample.

### Claim 7 (depends on 5)

The method of claim 5,
the selected at least one utterance comprising a plurality of utterances including a first utterance of a first utterance type and a second utterance of a second utterance type;
the step of generating the particular candidate voice sample comprising generating a first particular candidate voice sample comprising the first utterance and a second particular candidate voice sample comprising the second utterance, wherein the particular candidate voice sample comprises the first particular candidate voice sample and the second particular candidate voice sample.

### Claim 8 (depends on 1)

The method of claim 1, wherein a particular candidate voice sample comprises a plurality of utterance groups, each utterance group complying with a respective predetermined candidate utterance type criterion.

### Claim 9 (depends on 8)

The method of claim 8 wherein the particular candidate voice sample comprises a single audio file.

### Claim 10 (depends on 8)

The method of claim 8, wherein the particular candidate voice sample comprises a plurality of audio files, each audio file including a respective utterance group.

### Claim 11 (depends on 8)

The method of claim 8, wherein each respective predetermined candidate utterance type criterion requires the presence of a different respective utterance.

### Claim 12 (depends on 8)

The method of claim 8, the step of determining using the neural network the embedding for the particular candidate voice sample comprising the steps of:
determining using the neural network a respective embedding for each utterance group; and
combining the respective embeddings for the utterance groups to generate the embedding for the particular candidate voice sample.

### Claim 13 (depends on 12)

The method of claim 12, the step of combining the respective embeddings for the utterance groups comprises combining the respective embeddings for the utterance groups in a weighted manner.

### Claim 14 (depends on 8)

The method of claim 8,
the step of determining using the neural network the embedding for the particular candidate voice sample comprising determining using the neural network a respective embedding for each utterance group;
the step of generating for the particular candidate voice sample the similarity score relative to the primary voice sample comprising the steps of:
generating a group similarity value between the respective embedding of each utterance group relative to the primary voice sample; and
combining the group similarity values to generate the similarity score for the particular candidate voice sample.

### Claim 15 (depends on 1)

The method of claim 1, wherein the step of generating for a particular candidate voice sample the similarity score relative to the primary voice sample comprises applying a cosine similarity function to the embedding of the primary voice sample and the embedding of the particular candidate function.

### Claim 16

A computer-implemented system for automated voice casting comprising:
a computer processor;
a voice sample processing neural network in communication with the computer processor; and
a computer memory having instructions stored therein that, when executed by the processor, cause the processor to:
retrieve from a media library a primary audio sample comprising speech of a primary speaker in a primary language;
generate a primary voice sample for the primary audio sample, the primary voice sample including utterances meeting at least one predetermined primary utterance type criterion;
determine using the neural network an embedding for the primary voice sample, the embedding providing a multidimensional numeric representation of acoustic features of the primary voice sample;
retrieve from the media library a plurality of candidate audio samples each comprising speech from a respective candidate speaker in a target language;
generate a respective candidate voice sample for each candidate audio sample, each of the candidate voice samples including utterances meeting at least one predetermined candidate utterance type criterion;
determine using the neural network a respective embedding for each candidate voice sample, each respective embedding providing a multidimensional numeric representation of acoustic features of such candidate voice sample;
generate for each candidate voice sample a similarity score relative to the primary voice sample, the similarity score being a function of the embedding of such candidate voice sample and the embedding of the primary voice sample; and
identify a specific candidate speaker as providing a vocal match to the primary speaker based on the similarity scores.

### Claim 17 (depends on 16)

The system of claim 16, the at least one candidate utterance type criterion comprising presence of a first utterance type, the computer instructions further comprising instructions that cause the processor to:
identify utterances in the particular candidate audio sample;
check the identified utterances for presence of an utterance of the first utterance type;
in response to a determination that the particular candidate audio sample does not include an utterance of the first utterance type (i) obtain an additional utterance comprising speech by the candidate speaker associated with the particular candidate audio sample, the additional utterance being of the first utterance type, and (ii) include in the particular candidate voice sample the additional utterance and at least one identified utterance in the candidate audio sample.

### Claim 18 (depends on 16)

The system of claim 16, the computer instructions further comprising instructions that cause the processor to obtain the additional utterance from the media library.

### Claim 19 (depends on 16)

The system of claim 16, the computer instructions further comprising instructions that cause the processor to generate a particular candidate voice sample for a particular candidate audio sample by:
identifying utterances in the particular candidate audio sample and associated respective utterance types;
selecting at least one utterance from the identified utterance types according to the at least one predetermined candidate utterance type criterion; and
generating the particular candidate voice sample for the particular candidate audio sample from the selected at least one utterance.

### Claim 20 (depends on 19)

The system of claim 19, wherein the particular candidate voice sample has like utterance type grouped together.

### Claim 21 (depends on 19)

The system of claim 19.
the selected at least one utterance comprising a plurality of utterances including a first utterance of a first utterance type and a second utterance of a second utterance type;
the particular candidate voice sample comprising a first particular candidate voice sample comprising the first utterance and a second particular candidate voice sample comprising the second utterance.

### Claim 22 (depends on 16)

The system of claim 16, wherein a particular candidate voice sample comprises a plurality of utterance groups, each utterance group complying with a respective predetermined candidate utterance type criterion.

### Claim 23 (depends on 22)

The system of claim 22, wherein the particular candidate voice sample comprises a single audio file.

### Claim 24 (depends on 22)

The system of claim 22, wherein the particular candidate voice sample comprises a plurality of audio files, each audio file including a respective utterance group.

### Claim 25 (depends on 22)

The system of claim 22, wherein each respective predetermined candidate utterance type criterion requires the presence of a different respective utterance.

### Claim 26 (depends on 22)

The system of claim 22, the computer instructions further comprising instructions that cause the processor to determine and embedding for the particular candidate voice sample by:
determining using the neural network a respective embedding for each utterance group; and
combining the respective embeddings for the utterance groups.

### Claim 27 (depends on 26)

The system of claim 26, wherein the respective embeddings for the utterance groups are combined in a weighted manner.

### Claim 28 (depends on 22)

The system of claim 22,
the computer instructions causing the processor to generate the embedding for the particular candidate by generating using the neural network a respective embedding for each utterance group; and
the computer instructions causing the processor to generate the similarity score for the particular candidate voice sample comprising instructions to:
generate a group similarity value between the respective embedding of each utterance group relative to the primary voice sample; and
combine the group similarity values to generate the similarity score for the particular candidate voice sample.

### Claim 29 (depends on 16)

The system of claim 16, wherein the similarity function comprises a cosign similarity function.
