Board index FlightGear Development New features

Customizing TTS voces?

Discussion and requests for new features. Please note that FlightGear developers are volunteers and may or may not be able to consider these requests.

Customizing TTS voces?

Postby rleibner » Wed Dec 12, 2018 6:16 pm

Hi,
I'm trying to set different values into the "/sim/sound/voices/voice[n]" children props.
The goal is to allow the user's ear to distinguish who is speaking ("Pilot", "ATC", "Copilot", etc).
It seems it's not so easy.
No matter the values I set to pitch, speed, etc, the voice that is heard remains unchanged.

What is the right procedure to achieve that goal?
Rodolfo
*************************
Non-shared knowledge is lost knowledge
User avatar
rleibner
 
Posts: 269
Joined: Fri May 19, 2017 8:17 pm
Location: Uruguay - SUMU
Callsign: CX-BEX
Version: next
OS: Ubuntu 18.04.4

Re: Customizing TTS voces?

Postby Hooray » Thu Dec 13, 2018 9:24 pm

The internal TTS engine is called "Flite TTS" (most recent, added by Torsten Dreyer), the external one is "Festival TTS" (Melchior Franz).

The process for creating/using different voices is documented separately.
How this is done in fgfs depends also on whether the corresponding hooks are added.

My suggestion would be to search the devel list archives for "Flite + voices" and "festival + voices", and maybe you could help create/update the corresponding wiki docs, too ?

https://sourceforge.net/p/flightgear/ma ... l_list=all
https://sourceforge.net/p/flightgear/ma ... l_list=all
https://sourceforge.net/p/flightgear/ma ... l_list=all
https://sourceforge.net/p/flightgear/ma ... l_list=all

If in doubt, it may also be helpful to run "git log -S" using "flite" and "festival" respecively.

PS: First of all, you may want to check $FG_ROOT/Docs (README/PDF)- at least the festival stuff might be documented there. Since then, many things have admittedly changed, so that it's no longer necessarily "en vogue" among the remaining share of core developers to document new/updated features in the form of dedicated README files, but you may still be in luck.
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU


Return to New features

Who is online

Users browsing this forum: No registered users and 10 guests