[opensuse] QStardict Can't Pronounce Words Using WyabdcRealPeopleTTS (Education Repository)
GNU/Linux and openSUSE Lovers, I've tried QStardict to pronounce words using (as default) "festival --tts" and it works, but fails when using WyabdcRealPeopleTTS that "stardict-dictionaries-WyabdcRealPeopleTTS" package taken from /Education repository. It pronounces well if i follow the guide exactly what it is said in the wiki[0], where the package taken from here[1]. But it just always said "echo" every time i hit the 'Speak Word' button for every words when i use WyabdcRealPeopleTTS package from OBS. Because of the package[2] exists here: /usr/share/stardict/WyabdcRealPeopleTTS/, so I change easily the script to be like this: ###BeginofTheScript #!/bin/bash TTS_PATH=/usr/share/stardict/WyabdcRealPeopleTTS WORD='echo $* | tr A-Z a-z' for WORD2 in $WORD do play ${TTS_PATH}/${WORD2:0:1}/${WORD2}.wav done ###EOF I'm using openSUSE 11.1 among others: 1. QStardict from /home:/pikerhog:/gnome, and 2. sox package from /multimedia:/apps/ repository. Any clue(s)? Thanks in advance. [0] http://wiki.qstardict.ylsoftware.com/Pronouncing_words_with_WyabdcRealPeople... [1] http://sourceforge.net/projects/stardict/files/WyabdcRealPeopleTTS/ [2] http://download.opensuse.org/repositories/Education/openSUSE_11.1/noarch/sta... Regards, Andi S. -- AndiSugandi™ is andi.opensuse-id.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
In <9ce2bb360908070640t1c36bb4bi420fa8cf3b3a8838@mail.gmail.com>, AndiSugandi™ wrote:
###BeginofTheScript #!/bin/bash
TTS_PATH=/usr/share/stardict/WyabdcRealPeopleTTS WORD='echo $* | tr A-Z a-z'
I think you meant: WORD=$(echo $* | tr A-Z a-z) It's possible that originally the script was: WORD=`echo $* | tr A-Z a-z` and some program or person changed the back-tick characters to single-quote characters without realizing the significance.
for WORD2 in $WORD do play ${TTS_PATH}/${WORD2:0:1}/${WORD2}.wav done ###EOF -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/
On Sat, Aug 8, 2009 at 2:04 AM, Boyd Stephen Smith
Jr.
WORD='echo $* | tr A-Z a-z'
I think you meant: WORD=$(echo $* | tr A-Z a-z)
It's possible that originally the script was: WORD=`echo $* | tr A-Z a-z` and some program or person changed the back-tick characters to single-quote characters without realizing the significance.
Yes, so it was my mistake. Now it works. Thanks. Best regards, Andi S. -- AndiSugandi™ is andi.opensuse-id.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
AndiSugandi™
-
Boyd Stephen Smith Jr.