The invention relates to the technical field of
artificial intelligence, and discloses a
speech synthesis method based on hierarchical emotional distribution, which comprises the following steps: acquiring audio data and text transcription, segmenting audio into phoneme, word and
sentence-level speech units, extracting acoustic characteristics such as
pitch, speed and
rhythm, generating an emotional distribution vector by using a pre-training model; the method comprises the following steps:
processing text transcription to generate text embedded information, combining an emotion distribution vector, the text embedded information and acoustic features, generating
rhythm features through a variable converter, generating a Mel-frequency
spectrogram by a decoder based on the
rhythm features, and converting the Mel-frequency
spectrogram into a
time domain audio signal by a vocoder and outputting the
time domain audio signal. According to the method, the audio data are hierarchically segmented into phonemes, words and sentences, the acoustic features, the emotion distribution vectors and the text embedding information are combined, and the rhythm features are generated through the variable converter, so that fine control over emotion expression is achieved, and the naturalness and emotion expressive force of
speech synthesis are remarkably improved.