[types field=”intro”]

Download HD Download MP4

[types field=”notes”]

HakTip 51 – Free Text to Speech with Linux

8 Comments

  • Jaime Sanchez
    Reply

    Hi, just a note:

    if you are using, as I am, spanish or other non-ascii characters, just use:

    xsel | iconv -f utf-8 -t iso-8859-1 | festival –tts –pipe

    or

    echo “Para español, pulse uno” | iconv -f utf-8 -t iso-8859-1 | festival –tts –pipe

    hope it helps

  • ian
    Reply

    Hi all,

    Nice article. hought i’d give it a try. just a note, should it now be

    chmod +x ~/talk.sh

    rather than cmod +x ~/tts.sh?

    Great site – much love and goodnight!

  • QuikSilver75
    Reply

    I am not able to get it to work on BT5. I keep getting
    Linux: can’t open /dev/dsp
    When I tried to install festival it said it was already installed. Not sure what to do next since I am fairly new to linux

  • QuikSilver75
    Reply

    Here are the errors I get after using the code that I missed in the printed portion of this page. What can I do from this point?

    root@bt:~# echo ”
    > (Parameter.set ‘Audio_Command “aplay -q -c 1 -t raw -f s16 -r $SR $FILE”)
    > (Parameter.set ‘Audio_Method ‘Audio_Command)
    > “>>~/.festivalrc
    root@bt:~# festival
    SIOD ERROR: unbound variable : aplay
    closing a file left open: /root/.festivalrc
    closing a file left open: /usr/share/festival/init.scm
    festival: fatal error exiting.

  • QuikSilver75
    Reply

    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

    Ok, I got it to work using the code above…I think the forward slash was misssing in the code on this page…or I did something else wrong…but the above code worked so I can move forward..thanks guys.

    I got the commands from: http://ubuntuforums.org/showthread.php?t=1190751

  • QuikSilver75
    Reply

    Ok new prob when creating the shortcut. I am using backtrack so the default user is root. I am trying to set the shortcut but I am not sure what to put in the command field. I tried /root/talk.sh and other variations but no luck here is how my files look:

    root@bt:~# ls
    Desktop Downloads talk.sh test2
    root@bt:~#

    What else can I try?

  • http://bigdownloadgames.com/
    Reply

    Howdy! Do yoou know if they make any plugins to assost with Search Engine Optimization?
    I’m trying to get my blog to rank for some targetged keywords but
    I’m not seeing very good success. If you know of any
    please share. Thank you!

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>