12.12.2012 Views

Festival Speech Synthesis System: - Speech Resource Pages

Festival Speech Synthesis System: - Speech Resource Pages

Festival Speech Synthesis System: - Speech Resource Pages

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

festival/lib/tts.scm).<br />

[ < ] [ > ] [ > ] [Top] [Contents] [Index] [ ? ]<br />

11. Emacs interface<br />

One easy method of using <strong>Festival</strong> is via an Emacs interface that allows selection of text regions to be sent to <strong>Festival</strong><br />

for rendering as speech.<br />

`festival.el' offers a new minor mode which offers an extra menu (in emacs-19 and 20) with options for<br />

saying a selected region, or a whole buffer, as well as various general control functions. To use this you must install<br />

`festival.el' in a directory where Emacs can find it, then add to your `.emacs' in your home directory the<br />

following lines.<br />

(autoload 'say-minor-mode "festival" "Menu for using <strong>Festival</strong>." t)<br />

(say-minor-mode t)<br />

Successive calls to say-minor-mode will toggle the minor mode, switching the `say' menu on and off.<br />

Note that the optional voice selection offered by the language sub-menu is not sensitive to actual voices supported by<br />

the your <strong>Festival</strong> installation. Hand customization is require in the `festival.el' file. Thus some voices may<br />

appear in your menu that your <strong>Festival</strong> doesn't support and some voices may be supported by your <strong>Festival</strong> that do<br />

not appear in the menu.<br />

When the Emacs Lisp function festival-say-buffer or the menu equivalent is used the Emacs major mode is<br />

passed to <strong>Festival</strong> as the text mode.<br />

[ < ] [ > ] [ > ] [Top] [Contents] [Index] [ ? ]<br />

12. Phonesets<br />

The notion of phonesets is important to a number of different subsystems within <strong>Festival</strong>. <strong>Festival</strong> supports multiple<br />

phonesets simultaneously and allows mapping between sets when necessary. The lexicons, letter to sound rules,<br />

waveform synthesizers, etc. all require the definition of a phoneset before they will operate.<br />

A phoneset is a set of symbols which may be further defined in terms of features, such as vowel/consonant, place of<br />

articulation for consonants, type of vowel etc. The set of features and their values must be defined with the phoneset.<br />

The definition is used to ensure compatibility between sub-systems as well as allowing groups of phones in various<br />

prediction systems (e.g. duration)<br />

A phoneset definition has the form<br />

(defPhoneSet<br />

NAME<br />

FEATUREDEFS<br />

PHONEDEFS )<br />

The NAME is any unique symbol used e.g. mrpa, darpa, etc. FEATUREDEFS is a list of definitions each<br />

consisting of a feature name and its possible values. For example

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!