Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Help needed in getting text to speech working

  1. #1
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Help needed in getting text to speech working

    I'm trying to get text to speech working and have got stuck. I've installed kttsd which also pulled in espeak.

    According to the I started the ktts manager which opens and asks me to configure the talkers. The problem is that the list of talkers is empty. I don't have the items listed in box 2.
    [IMG]file:///tmp/moz-screenshot.png[/IMG]

    Can anyone offer any suggestions?
    Also, does phonon need to be installed and enabled for espeak to work. It wasn't a dependency when it installed but I've seen some conflicting references that phonon needs to be installed.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  2. #2

    Default Re: Help needed in getting text to speech working

    Didn't pull in espeak for me! Even with it installed the only way I can make it run is by piping into aplay any way.
    Code:
    espeak "hello" --stdout | aplay
    Trying festival it works, and I never get espeak as a choice. I wonder whether something lower down is no longer enabled/available. I noticed that kttsmgr had the festival choices and freeTTS even though neither where available on initial testing, looks like its hard coded to me.
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  3. #3
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: Help needed in getting text to speech working

    I just installed festival and that doesn't show up in kttsmgr either. I tried un-installing espeak and it wants to downgrade kttsd and remove some stuff.
    Code:
    #### YaST2 conflicts list - generated 2010-02-25 14:43:48 ####
    
    speechd-0.6.7-10.3.i586 requires espeak, but this requirement cannot be provided
    
        [ ] Following actions will be done:
    deinstallation of speechd-0.6.7-10.3.i586
    downgrade of kttsd-4.4.0-2.3.i586 to kttsd-4.3.5-0.1.1.i586
    install kttsd-4.3.5-0.1.1.i586 (with vendor change)
      obs://build.opensuse.org/KDE  -->  openSUSE
        [ ] keep espeak-1.39-3.3.i586
    
        [ ] break speechd by ignoring some of its dependencies
    Do i need to log out and back into kde or something? I can't do that at the moment as I have a backup running and few other processes I cannot interrupt.

    EDIT: Forgot to say that that piping espeak to aplay works too.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  4. #4

    Default Re: Help needed in getting text to speech working

    Code:
    downgrade of kttsd-4.4.0-2.3.i586 to kttsd-4.3.5-0.1.1.i586
    Well if you're going to use unsupported repos I guess you can troubleshoot it your self. This is an alpha/beta/milestone problem as far as I'm concerned.

    But using the supported repos and festival it works fine for me, but I have to admit I just zyppered it into a clean room 11.2 vm install. But yes I needed to restart but that was because I got a load of kde bits updated.
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  5. #5
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: Help needed in getting text to speech working

    So what are you saying? Because I'm using kde4.4.0, from the factory repo that I'm using an unsupported repo.

    If that's the problem then fair enough.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  6. #6

    Default Re: Help needed in getting text to speech working

    I'm saying if you're using factory then you should be able to narrow the problem down.

    I confirmed that with the released version you're correct that espeak does no longer show as the manual for kttsmgr. Then also confirmed I still had additional problems with espeak needing to resort to piping into aplay which still seems a little wrong to me, but even if I wanted to I can't bug report from a vm.

    As for whether factory is actually the cause of your problem, I wouldn't like to guess. What I do know is with OSS, Non-OSS, update and a couple of chromium repos it works fine.
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  7. #7
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: Help needed in getting text to speech working

    OK, some progress. It seems that restarting the laptop has helped. This morning, the espeak synthesizer is showing up in the ktts manager so I've been able to set up a talker.

    Now when I try some text to speech I get a message saying the speech-dispatcher is not configured or working. Hard to make out as the message is spoken and is not very clear. Sounds more like a 1980's TTS.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  8. #8

    Default Re: Help needed in getting text to speech working

    Is there any reason why you don't want to use festival?

    OK mainly out of intrigue, how do you get espeak to show no matter what I do I can't.

    Code:
    festival-1.96-122.2                           Thu 25 Feb 2010 12:12:40 GMT
    portaudio-19-262.4                            Thu 25 Feb 2010 12:01:12 GMT
    libjack0-0.116.2-5.1                          Thu 25 Feb 2010 12:01:10 GMT
    espeak-1.39-3.3                               Thu 25 Feb 2010 11:56:04 GMT
    kttsd-4.3.5-0.1.1                             Thu 25 Feb 2010 11:44:42 GMT
    kdebase4-runtime-4.3.5-0.1.2                  Thu 25 Feb 2010 11:44:38 GMT
    python-kdebase4-4.3.5-0.2.1                   Thu 25 Feb 2010 11:44:11 GMT
    kdelibs4-4.3.5-0.1.1                          Thu 25 Feb 2010 11:44:07 GMT
    python-kde4-4.3.5-0.1.4                       Thu 25 Feb 2010 11:43:57 GMT
    kdelibs4-core-4.3.5-0.1.1                     Thu 25 Feb 2010 11:43:47 GMT
    libkde4-4.3.5-0.1.1                           Thu 25 Feb 2010 11:43:43 GMT
    oxygen-icon-theme-scalable-4.3.5-0.1.1        Thu 25 Feb 2010 11:43:27 GMT
    kde4-filesystem-4.3.5-0.1.1                   Thu 25 Feb 2010 11:43:25 GMT
    oxygen-icon-theme-4.3.5-0.1.1                 Thu 25 Feb 2010 11:43:09 GMT
    libkdecore4-4.3.5-0.1.1                       Thu 25 Feb 2010 11:42:29 GMT
    patterns-openSUSE-kde4-11.3-1.1.1             Wed 24 Feb 2010 12:13:10 GM
    This is everything I have installed yesterday most are updates, portaudio I did testing since removing it still works. I don't have speech-dispatcher but suspect it maybe needed for espeak.

    Checking deps of kttsd and espeak I see no mention speech-dispatcher.

    Code:
    boo@linux-nuoc:~> rpm -q --requires kttsd
    rpmlib(VersionedDependencies) <= 3.0.3-1                                                                                                       
    kdebase4-runtime >= 4.3.5                                                                                                                      
    kdebase4-runtime < 4.60.0                                                                                                                      
    libqt4 >= 4.5.2                                                                                                                                
    /sbin/ldconfig                                                                                                                                 
    /sbin/ldconfig                                                                                                                                 
    rpmlib(PayloadFilesHavePrefix) <= 4.0-1                                                                                                        
    rpmlib(CompressedFileNames) <= 3.0.4-1                                                                                                         
    libQtCore.so.4                                                                                                                                 
    libQtDBus.so.4                                                                                                                                 
    libQtGui.so.4                                                                                                                                  
    libQtXml.so.4                                                                                                                                  
    libasound.so.2                                                                                                                                 
    libasound.so.2(ALSA_0.9)                                                                                                                       
    libasound.so.2(ALSA_0.9.0rc4)                                                                                                                  
    libc.so.6                                                                                                                                      
    libc.so.6(GLIBC_2.0)                                                                                                                           
    libc.so.6(GLIBC_2.1.3)                                                                                                                         
    libc.so.6(GLIBC_2.3.4)                                                                                                                         
    libc.so.6(GLIBC_2.4)                                                                                                                           
    libkde3support.so.4                                                                                                                            
    libkdecore.so.5                                                                                                                                
    libkdeui.so.5                                                                                                                                  
    libkio.so.5                                                                                                                                    
    libkparts.so.4                                                                                                                                 
    libkttsd.so.4                                                                                                                                  
    libm.so.6
    libm.so.6(GLIBC_2.0)
    libphonon.so.4
    libpthread.so.0
    libpthread.so.0(GLIBC_2.0)
    libpthread.so.0(GLIBC_2.2)
    libstdc++.so.6
    libstdc++.so.6(CXXABI_1.3)
    libstdc++.so.6(GLIBCXX_3.4)
    rpmlib(PayloadIsLzma) <= 4.4.6-1
    boo@linux-nuoc:~> rpm -q --requires espeak
    insserv
    sed
    /bin/sh
    /bin/sh
    rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    rpmlib(CompressedFileNames) <= 3.0.4-1
    libc.so.6
    libc.so.6(GLIBC_2.0)
    libc.so.6(GLIBC_2.1)
    libc.so.6(GLIBC_2.1.3)
    libespeak.so.1
    libm.so.6
    libm.so.6(GLIBC_2.0)
    libpthread.so.0
    libpthread.so.0(GLIBC_2.0)
    libpthread.so.0(GLIBC_2.1)
    libpthread.so.0(GLIBC_2.2)
    libpulse.so.0
    libpulse.so.0(PULSE_0)
    libstdc++.so.6
    libstdc++.so.6(CXXABI_1.3)
    libstdc++.so.6(GLIBCXX_3.4)
    rpmlib(PayloadIsLzma) <= 4.4.6-1
    Checking with zypper verify my system verifies fine and also sounds like Stephen Hawkins
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  9. #9
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: Help needed in getting text to speech working

    Is there any reason why you don't want to use festival?
    No reason other than festival did not show up in the ktts manager. Both festival and espeak were installed but only espeak showed up so I deleted festival.

    Thinking about it now, I don't remember exactly if espeak was pulled in when I installed ktts or not. I was messing around with various packages at the time.

    Speech dispatcher is listed as the libspeechd module I believe
    Code:
    rpm -q --requires kttsd
    rpmlib(VersionedDependencies) <= 3.0.3-1 
    kdebase4-runtime >= 4.4.0                
    libqt4-x11 >= 4.6.1                      
    /sbin/ldconfig
    /sbin/ldconfig
    rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    rpmlib(CompressedFileNames) <= 3.0.4-1
    libQtCore.so.4
    libQtDBus.so.4
    libQtGui.so.4
    libQtXml.so.4
    libc.so.6
    libc.so.6(GLIBC_2.0)
    libc.so.6(GLIBC_2.1.3)
    libc.so.6(GLIBC_2.4)
    libkde3support.so.4
    libkdecore.so.5
    libkdeui.so.5
    libkio.so.5
    libkparts.so.4
    libkttsd.so.4
    libm.so.6
    libm.so.6(GLIBC_2.0)
    libspeechd.so.2
    libstdc++.so.6
    libstdc++.so.6(CXXABI_1.3)
    libstdc++.so.6(GLIBCXX_3.4)
    rpmlib(PayloadIsLzma) <= 4.4.6-1
    
    rpm -q --requires espeak
    insserv
    sed
    /bin/sh
    /bin/sh
    rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    rpmlib(CompressedFileNames) <= 3.0.4-1
    libc.so.6
    libc.so.6(GLIBC_2.0)
    libc.so.6(GLIBC_2.1)
    libc.so.6(GLIBC_2.1.3)
    libespeak.so.1
    libm.so.6
    libm.so.6(GLIBC_2.0)
    libpthread.so.0
    libpthread.so.0(GLIBC_2.0)
    libpthread.so.0(GLIBC_2.1)
    libpthread.so.0(GLIBC_2.2)
    libpulse.so.0
    libpulse.so.0(PULSE_0)
    libstdc++.so.6
    libstdc++.so.6(CXXABI_1.3)
    libstdc++.so.6(GLIBCXX_3.4)
    rpmlib(PayloadIsLzma) <= 4.4.6-1
    I didn't really do anything special to get the espeak synthesizer showed up in the ktts manager. I installed ktts and espeak. then I assume you have to logout and back in (I restarted my PC only because I wasn't able to logout and in at the time due to other processes running which I needed to complete).

    The espeak just showed up in the ktts manager. The voice is terrible and for some reason it knocks my sound out after I try any TTS. It was mostly curiosity that got me to try TTS but I'll probably leave it now until 11.3 comes out with KDE4.4.0 officially supported.

    Out of interest can we use other voices like the AT&T voices with kttsd?
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  10. #10

    Default Re: Help needed in getting text to speech working

    Interesting the opposite to what I have, though tbh I found espeak slightly better sounding. If your lucky I may upgrade to 4.4 seem strange to have an added dependency. Though it was only this thread that got me interested so don't hold your breath.

    In regards to voices not knowing anything about AT&T voices and little about TTS.. Festival and espeak are the voice synthesizers, as far as I know you're tweaking variables like phonemes to create the voice.

    So unless AT&T voices are in a format that is like or similar to festival or espeak or any of the other voice synthesisers that kttsd can use I doubt it.

    Festival Speech Synthesis System - 24 Voices

    eSpeak: Voice Files

    Edit looking at the kde page for kttsd it looks like speechd was added for 4.4
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •