Text To Speech

From LinuxMCE
Revision as of 18:29, 7 March 2009 by Jondecker76 (Talk | contribs) (Adds a stup page showing how to use the new Text To Speech in 0810)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

(this is a stub and needs expanded on how to add more voices to get around licensing issues)

As of LMCE 0810, Text To Speech will now use the festival speech engine. This will allow the use of more human sounding voices in the future. Also as of LMCE 0810, you can now specify the voice to use for your announcements.

Here is an example of how to use Text To Speech: 1) Create a scenario. In this example, I'm just going to create a climate scenario called "Test" 2) From the edit scenario page of your new "Test" scenario, use the dropdown to edit using the Advanced wizard 3) Add a new command by using the Device drop-down to select "Text To Speech" 4) You will now get a box where you can select a command to use. Select the "Send Audio To Device" command. 5) You will now get a list of command parameters to fill out:

  1. 103 List PK Device - enter a comma delimited list of devices to send the audio to. For our test, just look up the device number of your On Screen Orbiter, and enter it here.
  2. 9 Text - Enter your text here, such as 'Hello. This is a test. A B C 1 2 3'. Notice the single-quotes - they must be used!
  3. 278 Voice - Here is where you can select any one of the installed voices. The default installed voices are:
voice_lp_diphone
voice_pc_diphone
voice_el_diphone
voice_suo_fi_lj_diphone
voice_hy_fi_mv_diphone
voice_marathi_NSK_diphone
voice_don_diphone
voice_ked_diphone
voice_rab_diphone
voice_kal_diphone (this is the default voice)
voice_telugu_NSK_diphone
voice_czech_ph
voice_hindi_NSK_diphone

just type in the voice you want to use. If you enter the voice incorrectly, you will get no sound.