Text-to-Speech Synthesis with Asynchronous Prosodic Phrase Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing text-to-speech synthesis systems suffer from long first packet delays due to sequential processing of text normalization, phoneme prediction, and prosody prediction, which increases with the number of words and degrades user experience.

Innovation Solution

Implementing a multi-core, multi-threaded architecture with a thread pool for asynchronous processing of prosodic phrases, allowing simultaneous processing of different phrases through a connected queue of threads for text normalization, phoneme prediction, and prosody prediction, enabling continuous audio playback.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If sequential processing of text normalization, phoneme prediction, and prosody prediction is used, then processing order is simple to implement, but first packet delay increases and processing efficiency deteriorates

Engineering Contradiction:
Improveprocessing architecture complexityVSAvoidfirst packet delay
Core Design Contradiction:
Device complexityVSLoss of time

Solution Approach 1:

The patent segments the text-to-speech processing pipeline into three independent modules: text normalization, phoneme prediction, and prosody prediction. Each module processes different prosodic phrases independently and simultaneously, rather than sequentially. This segmentation allows parallel processing of multiple phrases across different modules, significantly reducing the first packet delay while maintaining implementation simplicity through modular design.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary actions by pre-processing and preparing multiple prosodic phrases in advance through the thread pool. The text normalization module prepares normalized text for multiple phrases simultaneously, and the phoneme prediction module pre-generates phoneme sequences for upcoming phrases. This preliminary action ensures that when audio playback is needed, the processed data is already ready, reducing waiting time and first packet delay.

Inventive Principle:
Principle #10Preliminary action

2Ease of manufacture

If sequential processing is used, then system implementation is straightforward, but processing speed and productivity decrease

Engineering Contradiction:
Improvesystem implementation easeVSAvoidspeech synthesis speed
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent implements continuous useful action through a thread pool architecture where multiple threads continuously process different prosodic phrases in parallel. While one thread is processing text normalization for a current phrase, another thread simultaneously performs phoneme prediction for a previous phrase, and a third thread handles prosody prediction for an earlier phrase. This continuous parallel processing maximizes productivity and speech synthesis speed while maintaining straightforward implementation through standard multi-threading techniques.

Inventive Principle:
Principle #20Continuity of useful action

3Quantity of substance

If the number of words in text increases, then more content is processed, but first packet delay increases proportionally

Engineering Contradiction:
Improvetext content volumeVSAvoidfirst packet delay
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent divides the input text into multiple prosodic phrases and processes them in parallel through independent modules. When text volume increases, the system segments it into more phrases and distributes them across multiple threads and modules for simultaneous processing. This prevents first packet delay from increasing proportionally with text volume, as the parallel processing capacity scales with the number of phrases.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transitions from one-dimensional sequential processing to multi-dimensional parallel processing by introducing thread pools and modular architecture. Instead of processing phrases one after another in a single timeline, the system creates multiple processing dimensions where different phrases are processed simultaneously in different threads and modules, effectively reducing the time dimension for first packet delivery regardless of text volume.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Data Source

PatentUS12400635B2Text-to-speech synthesis method, electronic device, and computer-readable storage medium
Publication Date: 2025.08.26 UBTECH ROBOTICS CORP LTD
  • US12400635B2 patent drawing
  • US12400635B2 patent drawing
  • US12400635B2 patent drawing

AI summary

A text-to-speech synthesis method, an electronic device, and a computer-readable storage medium are provided. The method includes: obtaining prosodic pause features of an input text by performing a prosodic pause prediction processing on the input text, and dividing the input text into a plurality of prosodic phrases according to the prosodic pause features; synthesizing short sentence audios according to the prosodic phrases by performing a streamed speech synthesis processing on each of the prosodic phrases in the input text in a manner of asynchronous processing of a thread pool; and performing an audio playback operation of the input text according to the short sentence audios corresponding to the first prosodic phrase of the input text, in response to synthesizing the short sentence audio corresponding to the first prosodic phrase of the input text.