Results 1 to 3 of 3

Thread: Text to speech ... and vice versa

  1. #1
    Join Date
    Aug 2006
    Beans
    324

    Text to speech ... and vice versa

    It looks like there was some buzz about Festival a couple of years ago. And little or nothing since.

    I just gave it a try. And it "works" albeit not very well.

    Is there any other software that someone can recommend that does "work"?

    I'd also like to get a speech-to-text programme. Have looked and found nothing.

    Again can someone recommend a programme?

    TIA

  2. #2
    Join Date
    Sep 2006
    Beans
    3,475

    Re: Text to speech ... and vice versa

    text-to-speech
    You can use the flite filter in ffmpeg. You'll have to compile it:

    Code:
    sudo apt-get install build-essential flite1-dev
    wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
    tar xjvf ffmpeg-snapshot.tar.bz2
    cd ffmpeg
    ./configure --enable-libflite --enable-gpl
    make -j4
    Now run your new ffmpeg binary (notice the ./ before the ffmpeg):
    Code:
    cd ~/ffmpeg
    ./ffmpeg -f lavfi -i flite=textfile=speech.txt output.wav
    or enter the text in your command instead of using speech.txt:
    Code:
    cd ~/ffmpeg
    ./ffmpeg -f lavfi -i flite=text='Corn? When did I eat corn?' output.wav
    I haven't actually tested these commands so take a look at the docs too.

    Also see:

  3. #3
    Join Date
    Aug 2006
    Beans
    324

    Re: Text to speech ... and vice versa

    I'll give that/them a try. Thanks for the info.

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
  •