On Fri, 25 Dec 2015 15:42:47 +0100, Razmig wrote in message 
<567d55e7.4060...@gmail.com>:

> 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
> 
> 

.._work-around_ pipe idea:
arnt@celsius:~$ apt-cache show sonic
Package: sonic
Version: 0.2.0-3
Installed-Size: 31
Maintainer: Debian Accessibility Team
<debian-accessibil...@lists.debian.org> Architecture: amd64
Depends: libsonic0 (= 0.2.0-3), libc6 (>= 2.2.5)
Description-en: Simple utility to speed up or slow down speech
 Sonic is a very simple utility that reads and writes wav files,
 and speeds them up or slows them down, with low distortion.
 The key new feature in Sonic versus other libraries is very
 high quality at speed up factors well over 2X.
Description-md5: 86e5dc6ed4ab72898f2d9296cdf460ec
Multi-Arch: foreign
Homepage: https://github.com/waywardgeek/sonic
Tag: role::program, scope::utility, use::editing, works-with::audio
Section: sound
Priority: extra
Filename: pool/main/s/sonic/sonic_0.2.0-3_amd64.deb
Size: 9424
MD5sum: 70a90dc34d9a12df5c8c6adda8bf5a5d
SHA1: a49323a0ffdc65b4ee434cdbe16953d70079b426
SHA256: c5f574fd2cf4996470034ab018b3bb3cace1dd1998d5d0a74da6a22b351f1f7b


..more work-around ideas: chk output of "apt-cache search speech ",
"apt-cache --full search speech |less " etc.  I don't remember the 
name of the package I'm suggesting, and it may have gone missing in 
Debian's systemd mayhem, I understand a lot of DDs and DMs has left
Debian over this.

..I read you as wanting to slow the ATC etc audio by slowing the audio
pitch without changing the audio frequency.  
Getting more off target topic:
arnt@celsius:~$ apt-cache show transcriber
Package: transcriber
Version: 1.5.1.1-10
Installed-Size: 2089
Maintainer: Giulio Paci <giuliop...@gmail.com>
Architecture: amd64
Depends: libc6 (>= 2.14), libx11-6, tcl8.5 (>= 8.5.0), tk8.5 (>=
8.5.0), sox, tcl-tclex, tcl-snack, tk Description-en: transcribe speech
data using an integrated editor Transcriber enables easy transcription
of recorded speech. It is indispensable for every task that involves
examination and transcription of audio files, like transcription of
recorded interviews, song lyrics, radio shows and so on.  It is also
useful if you are active in the field of speech research.
 .
 The snack library (included in contrib in transcriber-1.2) is now a
 separate package, tcl-snack.  This package still includes
html_library-0.3. Description-md5: 197da0c094251df4fb2b291a01af13c9
Homepage: http://trans.sf.net/
Tag: field::linguistics, interface::x11, role::program, uitoolkit::tk,
 use::editing, works-with::audio, works-with::text, x11::application
Section: sound
Priority: extra
Filename: pool/main/t/transcriber/transcriber_1.5.1.1-10_amd64.deb
Size: 988350
MD5sum: 4584cc3c5bf793659055db76953b80ae
SHA1: 9238ab2327ded843c8ac5391f31e5f66c3f7091f
SHA256: ac67d65b8b9fca1ad3b97a11de32ec1fbf13b382a2b375ec8e52c1a92a75cadb

arnt@celsius:~$ 



-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

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

Reply via email to