Telling eSpeak to read several txt files one after another

Asked by Julianloui

I am having trouble in writing a script to tell eSpeak to read several short text files one after another. Any help will be much appreciated. eSpeak just keeps re-reading the first file on and on.

Julianloui

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu espeak Edit question
Assignee:
No assignee Edit question
Solved by:
Julianloui
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Maybe:

espeak `tee file1 | /dev/null; tee file2 | /dev/null; tee file3 | /dev/null`

Does that work ok?

Revision history for this message
Julianloui (julianloui) said :
#2

Andrew,

Thanks for the suggestion. It doesn't. 'cat file1 file2 file3 | espeak ' seems to work OK. I would like to point out that when it comes to rendering Chinese from text to sound, Ekho does a much a better job than eSpeak. It sounds much more natural.

I have a new question for you. How can I embed Chinese characters in a command line or a Linux script in connection with a TTS
program such as eSpeak or Ekho?

Julianloui

Revision history for this message
Julianloui (julianloui) said :
#3

Julianloui