I wanted to know if eSpeak is able to have dynamic data as input?
For my project, it should be able to read meteo data from a file and convert those datas into speach.
Is it possible?
Thank you :-)
Tiffany
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It works for me just fine. I use espeak for text-to-speech with my YAAC ("Yet Another APRS Client") program, and it works very well. I just have to tweak the text a little to deal with things like capitalized abbreviations in the text; in that particular case, I insert whitespace between the letters of the abbreviation so espeak will spell it out instead of trying to pronounce it as a word. For example, if I didn't do this for the acronym "APRS", espeak would say "erps" instead of "A P R S".
espeak is very easy to use this way, as, if it isn't given an input text file to read, it will simply read standard input (the command line or terminal) and speak it until it receives an end-of-file condition. So my YAAC program spawns it as a subprocess and feeds it text to speak through a Unix pipe to standard input of the subprocess.
hey bro I have the same query about text to speech plugin which I can also use for writing my blog on my website. I hope you will share your experience with me. thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
I wanted to know if eSpeak is able to have dynamic data as input?
For my project, it should be able to read meteo data from a file and convert those datas into speach.
Is it possible?
Thank you :-)
Tiffany
It works for me just fine. I use espeak for text-to-speech with my YAAC ("Yet Another APRS Client") program, and it works very well. I just have to tweak the text a little to deal with things like capitalized abbreviations in the text; in that particular case, I insert whitespace between the letters of the abbreviation so espeak will spell it out instead of trying to pronounce it as a word. For example, if I didn't do this for the acronym "APRS", espeak would say "erps" instead of "A P R S".
espeak is very easy to use this way, as, if it isn't given an input text file to read, it will simply read standard input (the command line or terminal) and speak it until it receives an end-of-file condition. So my YAAC program spawns it as a subprocess and feeds it text to speak through a Unix pipe to standard input of the subprocess.
For sample Java code, look at the soundsplugin in my codebase:
https://sourceforge.net/p/yetanotheraprsc/code/HEAD/tree/trunk/yaac/sounds/src/main/java/org/ka2ddo/yaac/sounds/
Note that my plugin isn't locked to espeak; it accepts a command string to launch any speech synthesizer. The command for espeak is simply "espeak".
Andrew, KA2DDO
Last edit: Andrew Pavlin 2018-10-31
hey bro I have the same query about text to speech plugin which I can also use for writing my blog on my website. I hope you will share your experience with me. thanks