Results 1 to 5 of 5

Thread: Festival SayText does nothing (almost)

  1. #1
    Join Date
    Apr 2008
    Beans
    84

    Festival SayText does nothing (almost)

    Hey I just installed Festival and festvox-don for a project I'm working on. I open Festival and try
    Code:
    (SayText "Hello")
    And I hear nothing (yes, the speakers are on and volume is up). But I do get the message
    Code:
    #<Utterance 0xb7129c18>
    which from what I have looked at is normal and nothing to worry about. But the fact is I'm still not getting any sound. I have also tried
    Code:
    echo "Hello" | festival --tts
    and again I get nothing..

    Anyone know what is wrong here and how to fix it?

  2. #2
    Join Date
    Apr 2008
    Beans
    80

    Re: Festival SayText does nothing (almost)

    I am having some problems as well I get Utterance 0x7f54afce9d30 as an error.

  3. #3
    Join Date
    Apr 2008
    Beans
    84

    Re: Festival SayText does nothing (almost)

    Yeah well getting the message Utterance 0x7f54afce9d30 isn't really an error (from what I read up).
    The (hex) number in the return value may be different for your installation. That is the print form for utterances. Their internal structure can be very large so only a token form is printed.
    But it doesn't give any errors as to why no sound is coming out...

  4. #4
    Join Date
    Dec 2007
    Beans
    103

    Re: Festival SayText does nothing (almost)

    I was having similar problems I found this post:
    http://ubuntuforums.org/showthread.php?t=171182&page=2
    and on that post there was this magical command that fixed it:
    Code:
    printf ";use ALSA\n(Parameter.set 'Audio_Method 'Audio_Command)\n(Parameter.set 'Audio_Command \"aplay -q -c 1 -t raw -f s16 -r \$SR \$FILE\")\n" > .festivalrc
    after i did that it worked.

  5. #5
    Join Date
    Mar 2006
    Location
    Hershey, PA
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Festival SayText does nothing (almost)

    To get festival to read a text file just run this in terminal:
    festival --tts "hello.txt"
    Just make sure you have something in the text file to read!
    Last edited by alienexplorers; June 24th, 2008 at 09:27 PM.
    CyberPower Gamer Ultra 7209 | AMD Athlon II X2 240 | 6 GB RAM | 1000GB & 500GB SATA-II HD
    ATI Radeon HD4550 | HP 2430 Printer | Ubuntu 11.04 | Windows 7 | ViewSonic VA703b Monitor

Tags for this Thread

Bookmarks

Posting Permissions

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