# US 2022/0293091 A1 · System and method for cross-speaker style transfer in text-to-speech and training data generation

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

- Number: US 2022/0293091 A1
- Document ID: US20220293091A1
- Status: Published application
- Kind: A1
- Application number: 17/827,275
- Filed: 2022-05-27
- Published: 2022-09-15
- Earliest claimed: 2020-08-28
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Shifeng PAN; Lei HE; Yulin LI; Sheng ZHAO; Chunling MA
- Web page: https://patentgrep.com/patent/US20220293091A1

## CPC

- G10L 13/033: Voice editing, e.g. manipulating the voice of the synthesiser
- G10L 15/063: {Training}
- G10L 13/10: Prosody rules derived from text; Stress or intonation
- G10L 15/1807: {using prosody or stress}
- G10L 15/187: Phonemic context, e.g. pronunciation rules, phonotactical constraints or phoneme n-grams
- G10L 25/18: the extracted parameters being spectral information of each sub-band
- G10L 25/30: using neural networks
- G10L 25/63: for estimating an emotional state
- G10L 2021/0135: {Voice conversion or morphing}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

Systems are configured for generating spectrogram data characterized by a voice timbre of a target speaker and a prosody style of source speaker by converting a waveform of source speaker data to phonetic posterior gram (PPG) data, extracting additional prosody features from the source speaker data, and generating a spectrogram based on the PPG data and the extracted prosody features. The systems are configured to utilize/train a machine learning model for generating spectrogram data and for training a neural text-to-speech model with the generated spectrogram data.

## Claims

### Claim 1

A method implemented by a computing system for generating a spectrogram for a target speaker in a prosody style of a source speaker and for training a machine learning model based on the spectrogram, the method comprising:
receiving electronic content comprising source speaker data from the source speaker;
converting a waveform of the source speaker data to phonetic posterior gram (PPG) data, wherein said converting includes aligning the waveform to the PPG data;
generating a spectrogram based on the PPG data, wherein the spectrogram is characterized by a determined prosody style of the source speaker; and
generating speech data from arbitrary text using a neural text-to-speech (TTS) model that is trained with the generated spectrogram, the speech data being characterized by the prosody style of the source speaker.

### Claim 2 (depends on 1)

The method of claim 1, wherein the waveform is aligned to the PPG data at a granularity that is narrower than a phoneme-based granularity.

### Claim 3 (depends on 1)

The method of claim 1, wherein the waveform is aligned to the PPG data at a frame-based granularity.

### Claim 4 (depends on 3)

The method of claim 3, wherein the frame-based granularity is based on a plurality of frames, and wherein each frame in said plurality of frames is a selected number of milliseconds.

### Claim 5 (depends on 1)

The method of claim 1, wherein one or more additional prosody features are extracted from the source speaker data, and wherein the one or more additional prosody features comprise one or more of the following: pitch or energy.

### Claim 6 (depends on 5)

The method of claim 5, wherein the one or more additional prosody features extracted from the source speaker data includes said energy, the energy being measured in terms of a volume of the source speaker data.

### Claim 7 (depends on 5)

The method of claim 5, wherein the one or more additional prosody features are extracted from the waveform of the source speaker data at a frame-based granularity.

### Claim 8 (depends on 1)

The method of claim 1, wherein the method includes the computing system defining the prosody style of the source speaker.

### Claim 9 (depends on 8)

The method of claim 8, wherein the prosody style comprises one or more of the following: a newscaster style, a story-telling style, a serious style, a casual style, a customer service style, or an emotion-based style.

### Claim 10 (depends on 9)

The method of claim 9, wherein the emotion-based style is detected by the computing system to be at least one of: a happy emotion, a sad emotion, an angry emotion, an excited emotion, or an embarrassed emotion.

### Claim 11

A method implemented by a computing system for training a voice conversion machine learning model within a voice conversion module to generate a spectrogram for a target speaker with a new prosody style of a source speaker, the method comprising:
training a phonetic posterior gram-(PPG)-to-spectrogram component of the voice conversion machine learning model to convert PPG data into spectrogram data;
refining the PPG-to-spectrogram component with target speaker data from a target speaker having a particular prosody style, said refining being performed by adapting the PPG-to-spectrogram component to convert PPG data to spectrogram data having the particular prosody style;
receiving electronic content comprising new PPG data converted from a waveform of source speaker data, the new PPG data being aligned to the waveform of the source speaker data; and
applying the source speaker data to the voice conversion machine learning model, wherein the refined PPG-to-spectrogram component is configured to generate a spectrogram having the new prosody style of the source speaker rather than the particular prosody style of the target speaker.

### Claim 12 (depends on 11)

The method of claim 11, wherein the new PPG data is aligned to the waveform of the source speaker data at a granularity that is narrower than a phoneme-based granularity.

### Claim 13 (depends on 11)

The method of claim 11, wherein the new PPG data is aligned to the waveform of the source speaker data at a frame-based granularity.

### Claim 14 (depends on 13)

The method of claim 13, wherein the frame-based granularity is based on a plurality of frames, each frame comprising approximately a particular number of milliseconds.

### Claim 15 (depends on 11)

The method of claim 11, wherein the method further includes:
extracting one or more prosody features from the waveform of the source speaker data, said one or more prosody features comprising at least one of: a pitch contour, an energy contour, a speaking duration, or a speaking rate.

### Claim 16 (depends on 15)

The method of claim 15, wherein the refined PPG-to-spectrogram component is further configured based on at least one of: the pitch contour, the energy contour, the speaking duration, or the speaking rate.

### Claim 17 (depends on 15)

The method of claim 15, wherein the pitch contour and/or the energy contour are extracted from the waveform of the source speaker data at a frame-based granularity.

### Claim 18

A method implemented by a computing system for generating training data for training a neural text-to-speech (US) model configured to generate speech data from arbitrary text, the method comprising:
receiving electronic content comprising source speaker data from a source speaker;
converting a waveform of the source speaker data to phonetic posterior gram (PPG) data, wherein said converting includes aligning the waveform to the PPG data;
applying the PPG data to a pre-trained PPG-to-spectrogram component of a voice conversion module, the pre-trained PPG-to-spectrogram component configured to generate a spectrogram having a new prosody style of the source speaker rather than a particular prosody style of a target speaker;
generating training data configured to train a neural US model, the training data comprising a plurality of spectrograms characterized by the new prosody style of the source speaker; and
generating speech data from arbitrary text using the neural US model that is trained on the generated training data, said generating of the speech data is performed using cross-speaker style transfer, and the speech data is characterized by the new prosody style of the source speaker.

### Claim 19 (depends on 18)

The method of claim 18, wherein the method includes the computing system defining the new prosody style of the source speaker.

### Claim 20 (depends on 19)

The method of claim 19, said method further comprising:
receiving electronic content comprising the arbitrary text;
applying the arbitrary text as input to the trained neural TTS model; and
generating output comprising the speech data, which is based on the arbitrary text, wherein the speech data is characterized by the prosody style of the source speaker and a voice timbre of the target speaker.
