# US 2021/0287657 A1 · Speech synthesis method and device

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

- Number: US 2021/0287657 A1
- Document ID: US20210287657A1
- Status: Published application
- Kind: A1
- Application number: 17/225,376
- Filed: 2021-04-08
- Published: 2021-09-16
- Earliest claimed: 2018-10-10
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Liqun Deng; Jiansheng Wei; Wenhua Sun
- Web page: https://patentgrep.com/patent/US20210287657A1

## CPC

- G06F 40/30: Semantic analysis
- G10L 13/10: Prosody rules derived from text; Stress or intonation
- G10L 13/033: Voice editing, e.g. manipulating the voice of the synthesiser
- G10L 13/047: Architecture of speech synthesisers
- G10L 25/63: for estimating an emotional state
- G10L 2013/105: {Duration}
- 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

In a speech synthesis method, an emotion intensity feature vector is set for a target synthesis text, an acoustic feature vector corresponding to an emotion intensity is generated based on the emotion intensity feature vector by using an acoustic model, and a speech corresponding to the emotion intensity is synthesized based on the acoustic feature vector. The emotion intensity feature vector is continuously adjustable, and emotion speeches of different intensities can be generated based on values of different emotion intensity feature vectors, so that emotion types of a synthesized speech are more diversified. This application may be applied to a human-computer interaction process in the artificial intelligence (AI) field, to perform intelligent emotion speech synthesis.

## Claims

### Claim 1

A speech synthesis method, wherein the method comprises:
obtaining a text feature parameter of a target text;
obtaining an emotion type of the target text;
selecting, based on the emotion type, an acoustic model corresponding to the emotion type, wherein the acoustic model is obtained through training by using a text feature parameter and an emotion intensity feature vector of a training sample corresponding to the emotion type as an input and by using an acoustic feature vector of the training sample as an output; wherein
the emotion intensity feature vector is obtained by reducing dimensions of an acoustic statistical feature vector of the training sample;
receiving an emotion intensity value input by a user, to determine a corresponding emotion intensity feature vector, wherein the emotion intensity value input by the user is continuously adjustable; or analyzing a target text to determine an emotion intensity feature vector;
inputting the text feature parameter and the emotion intensity feature vector into the acoustic model to obtain a target acoustic feature vector; and
synthesizing, based on the target acoustic feature vector, a speech of an emotion intensity corresponding to the target text; wherein
the acoustic model is a machine learning model.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the obtaining an emotion type of the target text comprises:
receiving an emotion type corresponding to the target text input by the user, or analyzing the target text to determine an emotion type corresponding to the target text.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the receiving an emotion intensity value input by a user, to determine a corresponding emotion intensity feature vector comprises:
receiving selection of an emotion intensity area performed by the user by using an interaction interface; and
determining the corresponding emotion intensity feature vector based on the selection of the emotion intensity area.

### Claim 4 (depends on 1)

The method according to claim 1, wherein that the emotion intensity feature vector is obtained by reducing dimensions of an acoustic statistical feature vector of the training sample comprises:
obtaining an acoustic statistical feature vector related to an emotion intensity of the training sample; wherein
the acoustic statistical feature vector related to the emotion intensity comprises n of the following: an energy average value, an energy maximum value, an energy change amplitude, a speech rate average value, a logarithmic fundamental frequency average value, a logarithmic fundamental frequency maximum value, and a logarithmic fundamental frequency change amplitude, wherein n is greater than 2; and
there are N training samples, wherein N>1; and
converting the acoustic statistical feature vector that is related to the emotion intensity and that is each of the N training samples into an m-dimensional emotion intensity feature vector, wherein m is less than n, and both m and n are natural numbers.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the emotion intensity feature vector is a 3-dimensional vector.

### Claim 6

An emotion speech acoustic feature obtaining device, wherein the emotion speech acoustic feature obtaining device comprises:
at least one processor and a memory coupled to the at least one processor, wherein
the memory comprises an instruction that may be run by the at least one processor to perform functions; and
the functions comprise:
obtaining a text feature parameter of a target text;
obtaining an emotion type of the target text;
selecting, based on the emotion type, an acoustic model corresponding to the emotion type; wherein
the acoustic model is obtained through training by using a text feature parameter and an emotion intensity feature vector of a training sample corresponding to the emotion type as an input and by using an acoustic feature vector of the training sample as an output; and
the emotion intensity feature vector is obtained by reducing dimensions of an acoustic statistical feature vector of the training sample;
receiving an emotion intensity value input by a user, to determine a corresponding emotion intensity feature vector, wherein the emotion intensity value input by the user is continuously adjustable; or analyzing a target text to determine an emotion intensity feature vector; and
inputting the text feature parameter and the emotion intensity feature vector into the acoustic model to obtain a target acoustic feature vector; wherein
the acoustic model is a machine learning model.

### Claim 7 (depends on 6)

The device according to claim 6, wherein the obtaining an emotion type of the target text comprises that the processor receives, by using an interaction interface, an emotion type corresponding to the target text input by the user.

### Claim 8 (depends on 6)

The device according to claim 6, wherein the obtaining an emotion type of the target text comprises that the processor analyses the target text to determine an emotion type corresponding to the target text.

### Claim 9 (depends on 6)

The device according to claim 6, wherein
that the processor receives, by using a interaction interface, an emotion intensity value input by a user, to determine a corresponding emotion intensity feature vector comprises:
receiving selection of an emotion intensity area performed by the user by using the interaction interface; and
determining the corresponding emotion intensity feature vector based on the selection of the emotion intensity area.

### Claim 10 (depends on 6)

The device according to claim 6, wherein the emotion speech acoustic feature obtaining device further comprises:
a vocoder, configured to synthesize a speech of an emotion intensity of the target text based on the target acoustic feature vector obtained by the processor.

### Claim 11

An emotion speech acoustic feature obtaining device, wherein the emotion speech acoustic feature obtaining device comprises:
at least one processor and a memory coupled to the at least one processor, wherein
the memory comprises an instruction that may be run by the at least one processor to perform functions; and
the functions comprise:
obtaining a text feature parameter of a target text;
obtaining an emotion type of the target text;
receiving an emotion intensity value input by a user, to determine a corresponding emotion intensity feature vector, wherein the emotion intensity value input by the user is continuously adjustable; or analyzing a target text to determine an emotion intensity feature vector; and
inputting the text feature parameter, the emotion type, and the emotion intensity feature vector of the target text into an acoustic model to obtain a target acoustic feature vector; wherein
the acoustic model is obtained through training by using an emotion type, a text feature parameter, and an emotion intensity feature vector of a training sample as an input and by using an acoustic feature vector of the training sample as an output; and
the emotion intensity feature vector is obtained by reducing dimensions of an acoustic statistical feature vector of the training sample.

### Claim 12 (depends on 11)

The device according to claim 11, wherein the obtaining an emotion type of the target text comprises that the processor receives, by using an interaction interface, an emotion type corresponding to the target text input by the user.

### Claim 13 (depends on 11)

The device according to claim 11, wherein the obtaining an emotion type of the target text comprises that the processor analyses the target text to determine an emotion type corresponding to the target text.

### Claim 14 (depends on 11)

The device according to claim 11, wherein
that the processor receives, by using the interaction interface, an emotion intensity value input by a user, to determine a corresponding emotion intensity feature vector comprises:
receiving selection of an emotion intensity area performed by the user by using the interaction interface; and
determining the corresponding emotion intensity feature vector based on the selection of the emotion intensity area.

### Claim 15 (depends on 11)

The device according to claim 11, wherein the emotion speech acoustic feature obtaining device further comprises:
a vocoder, configured to synthesize a speech of an emotion intensity of the target text based on the target acoustic feature vector obtained by the processor.
