1
0
Fork 0

Enable FLite TTS by default, add UI to set.

This commit is contained in:
Stuart Buchanan 2017-02-14 19:48:04 +00:00
parent 2473d667fd
commit 4fb25741a5
2 changed files with 37 additions and 5 deletions

View file

@ -429,7 +429,7 @@ Started September 2000 by David Megginson, david@megginson.com
<voices>
<host type="string" write="n">localhost</host>
<port type="string" write="n">1314</port>
<enabled type="bool">false</enabled>
<enabled type="bool" userarchive="y">true</enabled>
<atc alias="/sim/sound/voices/voice[0]/text"/>
<approach alias="/sim/sound/voices/voice[0]/text"/>
<ground alias="/sim/sound/voices/voice[0]/text"/>
@ -443,7 +443,7 @@ Started September 2000 by David Megginson, david@megginson.com
<pitch type="double">100.0</pitch>
<speed type="double">1.0</speed>
<preamble type="string"/>
<festival type="bool">true</festival>
<festival type="bool">false</festival>
<htsvoice type="string">cmu_us_arctic_slt.htsvoice</htsvoice>
</voice>
<voice>
@ -453,7 +453,7 @@ Started September 2000 by David Megginson, david@megginson.com
<pitch type="double">100.0</pitch>
<speed type="double">1.0</speed>
<preamble type="string">(voice_us2_mbrola)</preamble>
<festival type="bool">true</festival>
<festival type="bool">false</festival>
<htsvoice type="string">cstr_uk_female-1.0.htsvoice</htsvoice>
</voice>
<voice>
@ -463,7 +463,7 @@ Started September 2000 by David Megginson, david@megginson.com
<pitch type="double">100.0</pitch>
<speed type="double">1.0</speed>
<preamble type="string">(voice_en1_mbrola)</preamble>
<festival type="bool">true</festival>
<festival type="bool">false</festival>
<htsvoice type="string">cmu_us_arctic_slt.htsvoice</htsvoice>
</voice>
<voice>
@ -473,7 +473,7 @@ Started September 2000 by David Megginson, david@megginson.com
<pitch type="double">100.0</pitch>
<speed type="double">1.0</speed>
<preamble type="string">(voice_don_diphone)</preamble>
<festival type="bool">true</festival>
<festival type="bool">false</festival>
<htsvoice type="string">cmu_us_arctic_slt.htsvoice</htsvoice>
</voice>
</voices>

View file

@ -289,6 +289,38 @@
<hrule/>
<group>
<layout>hbox</layout>
<!-- gap -->
<text>
<label></label>
</text>
<text>
<halign>right</halign>
<label>Use voice synthesis for tutorials and comms (requires restart)</label>
</text>
<checkbox>
<property>/sim/sound/voices/enabled</property>
<binding>
<command>dialog-apply</command>
</binding>
<enable>
<property>/sim/sound/enabled</property>
</enable>
</checkbox>
<!-- gap -->
<text>
<label></label>
</text>
</group>
<hrule/>
<group>
<layout>hbox</layout>
<default-padding>10</default-padding>