speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Update of espeak-ng-mbrola-generic.conf


From: Samuel Thibault
Subject: Update of espeak-ng-mbrola-generic.conf
Date: Fri, 12 Oct 2018 01:50:17 +0200

Applied, thanks!

Samuel

Didier Spaier, le ven. 12 oct. 2018 01:02:59 +0200, a ecrit:
> The attached patch mostly updates the voice list to match the current
> handling of the mbrola voices by espeak-ng.
> 
> I have checked that all voice are more or less usable installing all the
> mbrola voices and updating espeak-ng from git on 06 October 2018 (there
> has not been updates about mbrola voices handling since).
> 
> "spd-say -o espeak-ng-mbrola-generic -L" lists 69 voices, as expected. 
> 
> The patch also add comments, including a proposal of a shortened
> GenericExecuteSynth command. Its advantage is to be audio output
> agnostic, which helps e.g. when using libao as libao.c does not set
> PLAY_COMMAND (as it can speak to other audio apps).
> 
> I didn't make it the default, though, as this prevents to set the sound
> volume from the client. Which is not that useful IMHO, but I can be
> wrong.
> 
> Best,
> 
> Didier

> diff -autr speechd/config/modules/espeak-ng-mbrola-generic.conf 
> speechd.new/config/modules/espeak-ng-mbrola-generic.conf
> --- speechd/config/modules/espeak-ng-mbrola-generic.conf      2018-10-07 
> 18:23:39.984142939 +0200
> +++ speechd.new/config/modules/espeak-ng-mbrola-generic.conf  2018-10-12 
> 00:42:37.456009294 +0200
> @@ -19,6 +19,12 @@
>  # The command can be split into more lines, if necessary, using '\'.
>  GenericExecuteSynth \
>  "echo \'$DATA\' | espeak-ng -v mb-$VOICE -s $RATE -p $PITCH $PUNCT -q 
> --stdin --pho | mbrola -v $VOLUME -e /usr/share/mbrola/$VOICE/$VOICE - -.au | 
> $PLAY_COMMAND"
> +# Alternatively you can shorten the command like below, which makes it
> +# work directly with any audio playback utility, but then you won't
> +# be able to change the volume from the client application:
> +# GenericExecuteSynth \
> +# "echo \'$DATA\' | espeak-ng -v mb-$VOICE -s $RATE -p $PITCH $PUNCT -stdin"
> +
>  
>  # The following three items control punctuation levels None, Some, and All.
>  # Each of these values will be substituted into the $PUNCT variable depending
> @@ -43,7 +49,7 @@
>  # you can add it's name (as accepted by iconv) as a
>  # third parameter in doublequotes.
>  
> -
> +# To be completed
>  GenericLanguage           "af" "af" "utf-8"
>  GenericLanguage           "cs" "cs" "utf-8"
>  GenericLanguage           "de" "de" "utf-8"
> @@ -78,74 +84,122 @@
>  # to use must be specified here. This list will likely not be
>  # up-to-date, please check eSpeak NG documentation and add the voices
>  # you want to use.
> +# All MBROLA voices for which a phoneme translation from espeak-ng to
> +# MBROLA as of 12 October 2018 are listed, some commented with the
> +# rationale to not include them by default. You still can ship or use
> +# the commented voices if you uncomment the corresponding line.
> +  
> +# As of Friday 12 October 2018 theses mbrola voices not yet supported 
> +# by espeak-ng's phonemes translation to mbrola in git are:
> +# bz1: Breton Female (25.0Mb)    Jean Pierre Messager
> +# hb1: Hebrew Male (3.4Mb)    Yoram Meron
> +# hb2: Hebrew Female (5.6Mb)    Esther Raizen
> +# hn1: Korean Male (9.9Mb)    Kyongsok Gim
> +# thus they are not listed below.
> +# The language code in this list is the ISO 639-1 code.
> +
> +AddVoice "af" "MALE1" "af1"
> +
> +AddVoice "ar" "MALE1" "ar1"
> +AddVoice "ar" "MALE2" "ar2"
> +
> +AddVoice "zh" "FEMALE1" "cn1"
> +
> +AddVoice "cs" "FEMALE1" "cz1"
> +AddVoice "cs" "MALE1" "cz2"
> +
> +AddVoice "de" "FEMALE1" "de1"
> +AddVoice "de" "MALE1" "de2"
> +AddVoice "de" "FEMALE2" "de3"
> +AddVoice "de" "MALE2" "de4"
> +AddVoice "de" "FEMALE3" "de5"
> +AddVoice "de" "MALE1" "de6"
> +AddVoice "de" "FEMALE3" "de7"
> +AddVoice "de" "MALE3" "de8"
> +
> +AddVoice "el" "MALE1" "gr1"
> +AddVoice "el" "MALE2" "gr2"
> +
> +AddVoice "en" "MALE1" "en1"
> +AddVoice "en" "FEMALE1" "us1"
> +AddVoice "en" "MALE2" "us2"
> +AddVoice "en" "MALE3" "us3"
> +
> +AddVoice "es" "MALE1" "es1"
> +AddVoice "es" "MALE2" "es2"
> +AddVoice "es" "FEMALE1" "es3"
> +AddVoice "es" "MALE3" "es4"
> +AddVoice "es" "MALE1" "mx1"
> +AddVoice "es" "MALE2" "mx2"
> +AddVoice "es" "MALE1" "vz1"     
> +
> +AddVoice "et" "MALE1" "ee1"
> +
> +AddVoice "fa" "MALE1" "ir1"
> +AddVoice "fa" "FEMALE1" "ir2"
> +
> +AddVoice "fr" "MALE1" "ca1"
> +AddVoice "fr" "MALE2" "ca2"
> +AddVoice "fr" "MALE1" "fr1"
> +AddVoice "fr" "FEMALE1" "fr2"
> +AddVoice "fr" "MALE3" "fr3"
> +AddVoice "fr" "FEMALE2" "fr4"
> +AddVoice "fr" "MALE3" "fr5"
> +AddVoice "fr" "MALE3" "fr6"
> +AddVoice "fr" "MALE3" "fr7"
> +
> +AddVoice "hi" "MALE1" "in1"
> +AddVoice "hi" "MALE2" "in2"
> +
> +AddVoice "hu" "MALE1" "hu1"
> +
> +AddVoice "hr" "MALE1" "cr1"
> +
> +AddVoice "id" "MALE1" "id1"
> +
> +AddVoice "is" "MALE1" "ic1"
> +
> +AddVoice "it" "MALE1" "it1"
> +AddVoice "it" "FEMALE1" "it2"
> +AddVoice "it" "MALE2" "it3"
> +AddVoice "it" "FEMALE2" "it4"
> +
> +AddVoice "jp" "MALE1" "jp1"
> +AddVoice "jp" "FEMALE1" "jp2"
> +AddVoice "jp" "FEMALE2" "jp3"
> +
> +AddVoice "la" "MALE1" "la1"
> +
> +AddVoice "lt" "MALE1" "lt1"
> +AddVoice "lt" "MALE2" "lt2"
> +
> +Addvoice "ms" "FEMALE1" "ma1"
> +
> +# nl1 has a very limited set of diphones and is usable only for reading
> +# numbers. Uncomment the next line if you want it.
> +# AddVoice "nl" "CHILD-MALE" "nl1"
> +AddVoice "nl" "MALE1" "nl2"
> +AddVoice "nl" "FEMALE1" "nl3"
> +
> +AddVoice "mi" "MALE1" "nz1"
> +
> +AddVoice "pl" "FEMALE1" "pl1"
> +
> +AddVoice "pt" "MALE1" "br1"
> +AddVoice "pt" "MALE2" "br2"
> +AddVoice "pt" "MALE3" "br3"
> +AddVoice "pt" "FEMALE1" "br4"
> +AddVoice "pt" "FEMALE2" "pt1"
> +
> +AddVoice "ro" "MALE1" "ro1"
>  
> -AddVoice        "af"    "MALE1"         "af1"
> -
> -AddVoice        "cs"    "MALE1"         "cz2"
> -
> -AddVoice        "de"    "MALE1"         "de4"
> -AddVoice        "de"    "MALE2"         "de6"
> -AddVoice        "de"    "MALE3"         "de2"
> -AddVoice        "de"    "FEMALE1"       "de5"
> -AddVoice        "de"    "FEMALE2"       "de7"
> -AddVoice        "de"    "FEMALE3"       "de1"
> -AddVoice        "de"    "FEMALE4"       "de3"
> -
> -AddVoice        "el"    "MALE1"         "gr1"
> -AddVoice        "el"    "MALE2"         "gr2"
> -
> -AddVoice        "en"    "MALE1"         "en1"
> -AddVoice        "en"    "MALE2"         "us2"
> -AddVoice        "en"    "MALE3"         "us3"
> -AddVoice        "en"    "FEMALE1"       "us1"
> -
> -AddVoice        "es"    "MALE1"         "es1"
> -AddVoice        "es"    "MALE2"         "es2"
> -AddVoice        "es"    "MALE3"         "mx1"
> -AddVoice        "es"    "MALE4"         "mx2"
> -AddVoice        "es"    "MALE5"         "vz1"
> -
> -AddVoice        "et"    "MALE1"         "ee1"
> -
> -AddVoice        "fa"    "MALE1"         "ir1"
> -AddVoice        "fa"    "FEMALE1"       "ir2"
> -
> -AddVoice        "fr"    "MALE1"       "fr1"
> -AddVoice        "fr"    "FEMALE1"     "fr4"
> -
> -AddVoice        "hu"    "MALE1"         "hu1"
> -
> -AddVoice        "hr"    "MALE1"         "cr1"
> -
> -AddVoice        "id"    "MALE1"         "id1"
> -
> -AddVoice        "is"    "MALE1"         "ic1"
> -
> -AddVoice        "it"    "MALE1"         "it3"
> -AddVoice        "it"    "FEMALE1"       "it4"
> -
> -AddVoice        "la"    "MALE1"         "la1"
> -
> -AddVoice        "lt"    "MALE1"         "lt1"
> -AddVoice        "lt"    "MALE2"         "lt2"
> -
> -AddVoice        "nl"    "MALE1"         "nl2"
> -
> -AddVoice        "pl"    "FEMALE1"       "pl1"
> -
> -AddVoice        "pt"    "MALE1"         "br1"
> -AddVoice        "pt"    "MALE2"         "br3"
> -AddVoice        "pt"    "FEMALE1"       "pt1"
> -AddVoice        "pt"    "FEMALE2"       "br2"
> -AddVoice        "pt"    "FEMALE3"       "br4"
> -
> -AddVoice        "ro"    "MALE1"         "ro1"
> +AddVoice "sw" "MALE1" "sw1"
> +AddVoice "sw" "FEMALE1" "sw2"
>  
> -AddVoice        "sv"    "MALE1"         "sw1"
> -AddVoice        "sv"    "FEMALE1"       "sw2"
> +AddVoice "te" "FEMALE1" "tl1"
>  
> -AddVoice        "tr"    "MALE1"         "tr1"
> -AddVoice        "tr"    "FEMALE1"       "tr2"
> +AddVoice "tr" "MALE1" "tr1"
> +AddVoice "tr" "FEMALE1" "tr2"
>  
>  # These parameters set _rate_, _pitch_, and _volume_ conversion. This is
>  # part of the core of the definition of this generic output

> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd


-- 
Samuel
***e trouve un .xls
***e passe un moment ? se demander quelle version de xml c'est ?a, le .xls
e: donc j'ai fait un file....
 -+- #sos - on n'a pas forc?ment les m?mes r?f?rences que tout le monde -+-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]