Festival-TTS engine in Ubuntu

Source: Internet
Author: User

It is Text to Speech, the reading engine. Install festival in Ubuntu

Sudo apt-Get install
Festival

Sudo apt-Get install esound-clients

You need to set festival to output audio through ESD. Otherwise, when you try to run festival, you will receive the following error message: "Can't open/dev/DSP"

Sudo gedit/etc/festival. SCM

(Parameter. Set 'audio _ command "esdplay $ file") (parameter. Set 'audio _ method' audio _ command) (parameter. Set 'audio _ required_format 'SND)

Read the text "my talking Linux pc efin rocks"

Echo "My talking
Linux pc efin rocks "| festival-TTS

Read the file.txt File

Cat-A file.txt
| Festival-TTS

Current read time
Date | Festival
-TTS

Create a desktop shortcut

Gedit ~ /Desktop/readit. Desktop

Content is

[Desktop entry]

Encoding = UTF-8

Version = 1.0

Type = Application

Terminal = false

Name [en_us] = Festival

Exec = festival-TTS

Name = Festival

Drag the file to be read to this icon. (Note: I did this, but I have not finished reading it! The machine is also very slow. Be careful)

You can also set the scheduled reminder time in cron.

Note: guoshuang2007-12-20 + looks like this
The festival service reduces the system startup speed! (Either it or Postfix)

Sudo sysv-RC-Conf

Remove or lower the startup level. (Direction key selection; space switch selection | invert selection; q exit) run the following command to install:

Sudo apt-Get install
Sysv-RC-Conf

Then start like this:

More information:

Transform
Linux into a talking companion
Ubuntu
Play-to-speech synthesis (festival)
Texttospeech
-Ubuntu Chinese

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.