Difference between revisions of "Festival"

From ArchWiki
Jump to: navigation, search
(removed stub flag)
Line 1: Line 1:
 +
{{stub}}
 +
 
=Introduction=
 
=Introduction=
 
[http://www.cstr.ed.ac.uk/projects/festival/ Festival] is a general multi-lingual speech synthesis system developed at CSTR ([http://www.cstr.ed.ac.uk/ Centre for Speech Technology Research]).
 
[http://www.cstr.ed.ac.uk/projects/festival/ Festival] is a general multi-lingual speech synthesis system developed at CSTR ([http://www.cstr.ed.ac.uk/ Centre for Speech Technology Research]).
Line 17: Line 19:
 
==Other voices==
 
==Other voices==
 
Other voices are available for Festival, some of them can be found in [[AUR]].
 
Other voices are available for Festival, some of them can be found in [[AUR]].
 +
# yaourt festival
  
 
=Step 3: Testing and debugging=
 
=Step 3: Testing and debugging=
Line 23: Line 26:
 
If your hear all the example text below: congratulations, you just installed a TTS system.
 
If your hear all the example text below: congratulations, you just installed a TTS system.
  
If you don't hear anything or just the beginning of the example sentence continue below.
+
If you don't hear anything, something strange or just the beginning of the example sentence continue below.
  
==Debugging==
+
==can't open /dev/dsp==
 
If festival returns the following error message:
 
If festival returns the following error message:
 
  Linux: can't open /dev/dsp
 
  Linux: can't open /dev/dsp
Line 32: Line 35:
 
  (Parameter.set 'Audio_Method 'Audio_Command)
 
  (Parameter.set 'Audio_Method 'Audio_Command)
 
  (Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")
 
  (Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")
 +
 +
==Alsa playing @ wrong speed==
 +
If the solution above gives you Mr. Squeaky Voice, you might want to try:
 +
(Parameter.set 'Audio_Method 'Audio_Command)
 +
(Parameter.set 'Audio_Command "aplay -Dplug:default -f S16_LE -r $SR $FILE")
 +
... instead.
 +
= Configuration & Usage =
 +
== Setting default voice ==
 +
No idea yet
 +
== Something about apps you can make use it perhaps ==
 +
No idea yet

Revision as of 20:37, 29 April 2009

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Festival#)

Introduction

Festival is a general multi-lingual speech synthesis system developed at CSTR (Centre for Speech Technology Research).

Step 1: Installation

Festival is in the extra repository so:

# pacman -S festival

You will also need to install one or more voices because by default there is no voice to speak with.

Step 2: Add voices

American English

American English male voice `kal' 16kHz version:

# pacman -S festival-kallpc16k

British English

British English male voice `rab' 16kHz version:

# pacman -S festival-rablpc16k

Other voices

Other voices are available for Festival, some of them can be found in AUR.

# yaourt festival

Step 3: Testing and debugging

To test festival lets make it speak an example text:

$ echo "This is an example. Seems like I'm working fine."|festival --tts

If your hear all the example text below: congratulations, you just installed a TTS system.

If you don't hear anything, something strange or just the beginning of the example sentence continue below.

can't open /dev/dsp

If festival returns the following error message:

Linux: can't open /dev/dsp

Switch to ALSA output by adding these lines to the end of your .festivalrc file, or to /usr/share/festival/festival.scm (source):

(Parameter.set 'Audio_Method 'Audio_Command)
(Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")

Alsa playing @ wrong speed

If the solution above gives you Mr. Squeaky Voice, you might want to try:

(Parameter.set 'Audio_Method 'Audio_Command)
(Parameter.set 'Audio_Command "aplay -Dplug:default -f S16_LE -r $SR $FILE")

... instead.

Configuration & Usage

Setting default voice

No idea yet

Something about apps you can make use it perhaps

No idea yet