The invention discloses a multi-segment voice real-time splicing and playing method for an embedded terminal, and aims to solve the problems of high hardware cost, low
storage efficiency, poor environmental adaptability and the like in the prior art. The method comprises the processes of customized voice
library generation, voice
library intelligent updating, multi-segment voice real-time splicing playing and the like. In a customized voice
library generation link, high-frequency voice segments are screened by collecting actual interaction data of an embedded terminal. And the voice library is intelligently updated, the geographic position of the terminal is obtained by relying on the LBS
base station positioning technology, the voice style of the corresponding region is matched, and the voice library is safely updated through block downloading and MD5
verification. In the multi-segment voice real-time splicing and playing link, a continuous numerical
translation algorithm of hierarchical disassembly and unit matching is adopted, a playing sequence is generated through word-by-word matching of voice segments, and the PCM audio is spliced in combination with an overlapping
smoothing algorithm. The method can be widely applied to embedded terminal scenes such as intelligent meters,
industrial monitoring and
consumer electronics.