Page 1 of 1

Festival TTS doesn't work with GoldenDict (Git version)

PostPosted: Mon Nov 12, 2012 11:11 pm
by amosbatto
I can't get Festival TTS to work with GoldenDict version 1.0.2~git20110906-1, which is found in the repository for Debian Testing. With this version, I can use Espeak TTS, but I can't get Festival TTS to work.

GoldenDict pronounces words, if I go to Edit > Dictionaries in the menu, then to Sources > Programs in the "Dictionaries" dialog box, then click on "Add" to add a new program. Then I select "Enabled" and "Plain Text" and add the command: espeak "%GDWORD%"

However, if I use the same settings as Espeak but with the following command: echo "%GDWORD%" | /usr/bin/festival --tts
I don't hear anything and "Festival" appears in the list of Dictionaries when I do a search.

If I use the same command in the command line, festival works without any problems. Any suggestions?

Re: Festival TTS doesn't work with GoldenDict (Git version)

PostPosted: Fri Nov 28, 2014 3:02 pm
by edsonbarbosa
just set the command bellow instead yours
bash -c "echo "%GDWORD%" | festival --tts"
;)
or even
bash -c "festival --tts <<<"%GDWORD%""
...