Can NOT play sound from real people TTS anymore after upgrad

Re: Can NOT play sound from real people TTS anymore after upgrad

Postby huangdi8 » Thu Aug 16, 2007 6:03 pm

Same problem here.

Fedora 7 i386
stardict 3.0 no sound
huangdi8
 
Posts: 1
Joined: Thu Aug 16, 2007 6:02 pm

Re: Can NOT play sound from real people TTS anymore after upgrad

Postby huzheng » Fri Aug 17, 2007 12:11 am

You can enable esound in Gnome preferences.
Or just run "esd&" before running stardict.
huzheng
 
Posts: 192
Joined: Wed Sep 20, 2006 2:10 am

Re: Can NOT play sound from real people TTS anymore after upgrad

Postby huzheng » Fri Aug 17, 2007 4:05 pm

Oh, get it. Just disable espeak plugin is OK. They have conflict sometimes :)
huzheng
 
Posts: 192
Joined: Wed Sep 20, 2006 2:10 am

Re: Can NOT play sound from real people TTS anymore after upgrad

Postby thibaud74 » Fri Aug 31, 2007 12:49 am

Hi!
I've the same problem on a Debian testing and stardict 3, but erasing the file
/usr/lib/stardict/plugins/stardict_espeak
has not resolved my problem.
esd is not installed, and when I install it, there is no sound.
So, I use the command TTS option, and I entered this in preferences/sound/comandline :

echo %s > /home/hulin/sd && aplay /opt/WyabdcRealPeopleTTS/$( cut -c1 /home/hulin/sd )/$( cat /home/hulin/sd ).wav &

Now, I can hear the word, but not by default : I must push manually the button command TTS. Is it a best solution to produce the sound by default, with the phylactere, or only using the button sound, not in the sub-menu ?

Thanks for help,
Thibaud.
thibaud74
 
Posts: 1
Joined: Thu Aug 30, 2007 9:49 am

Re: Can NOT play sound from real people TTS anymore after upgrad

Postby huzheng » Tue Sep 04, 2007 12:08 am

aplay %s

Just press Enter.
huzheng
 
Posts: 192
Joined: Wed Sep 20, 2006 2:10 am

Re: Can NOT play sound from real people TTS anymore after upgrad

Postby marilialibriana » Sat Sep 08, 2007 11:38 pm

Same problem, Fedora 7, KDE.

I tried to disable the espeak plugin, but still nothing happens.

Any idea?
marilialibriana
 
Posts: 2
Joined: Sat Sep 08, 2007 11:36 pm

Re: Can NOT play sound from real people TTS anymore after upgrad

Postby huzheng » Tue Sep 11, 2007 9:28 pm

You need to run "esd &" in KDE.
huzheng
 
Posts: 192
Joined: Wed Sep 20, 2006 2:10 am

Re: Can NOT play sound from real people TTS anymore after upgrad

Postby marilialibriana » Thu Sep 13, 2007 6:35 am

It worked, but we need to call this command every time we run Stardict. It's a little hassle I think, but thank you anyway! It helped me a lot!
marilialibriana
 
Posts: 2
Joined: Sat Sep 08, 2007 11:36 pm

Re: Can NOT play sound from real people TTS anymore after upgrad

Postby huzheng » Sat Sep 15, 2007 3:09 am

Use the gnome version.
huzheng
 
Posts: 192
Joined: Wed Sep 20, 2006 2:10 am

Re: Can NOT play sound from real people TTS anymore after upgrad

Postby dmitry » Wed Dec 12, 2007 10:44 am

Hello. I think I found a solution for using sound in the kde version. Of course it may not suit all people but I hope some will find it usefull. Here's the how-to:
1) Copy all sound files into 1 directory. It can be any directory even in your /home
2) Go to Preferences-Sound, erase all paths you generally have in "RealPeopleTTS search path", and switch on "Use TTS Program"
3) In the commandline you need to specify the player you gonna use to play the sounds. I use mplayer but you can use any other console player (aplay for example). With the player you also need to put down the path to your sound files. As you use an external player, sound files can be played in any playable format. To minimize used space I use ogg format instead of wav. The economy is huge :D So here's what the commandline will look like:

Code: Select all
mplayer(/aplay or any other) /path/to/your/sound/files/%s.ogg(/wav or any other)


and as an example my commandline:

Code: Select all
mplayer /home/dmitry/Download/Stardict/sound/%s.ogg


So now you only need to press the 'gears' button and you will hear the sound. And what is cool too with this method you can use any sound files that you can get from other programs ;) if real people TTS is not big enough for you.
I am not a programmer, so if you can say what symbols should be added in the commandline so that the program will use the first letter of the word as a directory in the path, step 1 could be avoided.
dmitry
 
Posts: 1
Joined: Tue Dec 11, 2007 12:10 am

Next

Return to linux

Who is online

Users browsing this forum: MSN [Bot] and 1 guest