Home > Software engineering >  TTS programming problems?
TTS programming problems?

Time:10-27

I have voice output in the two threads, but when two threads are pronunciation at the same time, there is voice output delay or conflict, why? How to solve?

CodePudding user response:

There should be no such problem, you are using synchronous playback mode or asynchronous playback mode? How do you deal with thread?

CodePudding user response:

System voice have a mixer, multiple voice output there will be no problem, the problem is your two voice if thread calls the same TTS controls at the same time, it is possible to conflict,

CodePudding user response:

USES asynchronous playback mode, no special treatment, the thread is generally speak, two threads invoke a ISpVoice variable at the same time, when two threads simultaneously trigger pronunciation, no mixing, but successively pronunciation, leading to delay,
  • Related