Hello folks

I have been unsuccessfully trying to configure the ATIS speaker to use a 
male voice possibly with lower TTS speed to ease understanding. 
Irrespective of any settings, running fgfs with option --log-level=info 
generates the following in the printout:
AtisSpeaker voice is 
/usr/share/games/flightgear/ATC/cstr_uk_female-1.0.htsvoice

I have tested the default aircraft in several airports including KSFO, 
KRHV and LFPG and obtained similar results. Configuration information 
follows.

I have FlightGear 3.4.0 installed from the package manager of a Kubuntu 
15.10, running on a Dell Latitude E7440 laptop with Intel HDA sound and 
Intel HD Graphics 4400 cards and 16 GB of RAM.

Festival is installed along with required voices,
festival> (print (mapcar (lambda (pair) (car pair)) voice-locations))
     (en1_mbrola us2_mbrola kal_diphone rab_diphone don_diphone)
and it works, i.e. the following command does produce speech.
$ echo "Flight Gear" | festival --tts --language english
Obviously I run festival server (option --server) before running fgfs.


I have modified the <voices> section of my $FG_ROOT/preferences.xml to 
use voice_us2_mbrola throughout:
       <voice type="bool">true</voice>
       <voices>
         <host type="string" write="n">localhost</host>
         <port type="string" write="n">1314</port>
         <enabled type="bool">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"/>
         <pilot alias="/sim/sound/voices/voice[1]/text"/>
         <copilot alias="/sim/sound/voices/voice[2]/text"/>
         <ai-plane alias="/sim/sound/voices/voice[3]/text"/>
         <voice>
           <desc>ATC/Approach/Ground</desc>
           <text type="string"/>
           <volume type="double">1.0</volume>
           <pitch type="double">100.0</pitch>
           <speed type="double">0.9</speed>
           <preamble type="string">(voice_us2_mbrola)</preamble>
           <festival type="bool">true</festival>
           <htsvoice type="string">cmu_us_arctic_slt.htsvoice</htsvoice>
         </voice>
         <voice>
           <desc>Pilot</desc>
           <text type="string"/>
           <volume type="double">1.0</volume>
           <pitch type="double">100.0</pitch>
           <speed type="double">0.9</speed>
           <preamble type="string">(voice_us2_mbrola)</preamble>
           <festival type="bool">true</festival>
           <htsvoice type="string">cmu_us_arctic_slt.htsvoice</htsvoice>
         </voice>
         <voice>
           <desc>Copilot/Instructor</desc>
           <text type="string"/>
           <volume type="double">1.0</volume>
           <pitch type="double">100.0</pitch>
           <speed type="double">0.9</speed>
           <preamble type="string">(voice_us2_mbrola)</preamble>
           <festival type="bool">true</festival>
           <htsvoice type="string">cmu_us_arctic_slt.htsvoice</htsvoice>
         </voice>
         <voice>
           <desc>AI-Plane</desc>
           <text type="string"/>
           <volume type="double">1.0</volume>
           <pitch type="double">100.0</pitch>
           <speed type="double">0.9</speed>
           <preamble type="string">(voice_us2_mbrola)</preamble>
           <festival type="bool">true</festival>
           <htsvoice type="string">cmu_us_arctic_slt.htsvoice</htsvoice>
         </voice>
       </voices>
These settings affect the voice reading the welcome message but not the 
ATIS speaker which remains set to the aforementioned female voice.

Lastly, I have tried to set the /sim/atis/voice property to something 
else via:
--prop:/sim/atis/voice=cmu_us_arctic_slt.htsvoice
but that hasn't changed the ATIS speaker voice either.


~Razmig

------------------------------------------------------------------------------
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to