Merci Daniel !
Tarik

Le Monday 16 June 2008 07:31:48 Daniel COTTo, vous avez écrit :
> Re-bonjour, désolé, j'ai oublié d'éditer  le sujet...
>
> Les pièces jointes sont donc dans le mail précédant concernant espeak
> versus speech-dispatcher (Finalement c'est un sujet voisin)
>
> Daniel
>
> Le lundi 16 juin 2008 à 08:20:35 +0200, Daniel COTTo a écrit:
> > Bonjour à tous,
> > Voici mon fichier de configuration pour mbrola via espeak sous
> > speech-dispatcher.
> >
> > En fait, l'astuce est de fonctionner intégralement en UTF-8.
> > Je reste dispo pour vous aider si cela ne fonctionne pas mais chez moi
> > tout est ok.
> >
> > Bonne journée.
> >
> > -------------------------------------------------------------------------
> >-------------- Orange vous informe que cet  e-mail a ete controle par
> > l'anti-virus mail. Aucun virus connu a ce jour par nos services n'a ete
> > detecte.
> >
> >
> > # Espeak&mbrola output module is based on the generic plugin for Speech
> > # Dispatcher. It means there is no C code written explicitly for
> > # this plugin, all the specifics are handled in this configuration
> > # and we call a simple command line client to perform the actual
> > # synthesis. Use this config file with the sd_generic output module.
> > #
> > # IMPORTANT: The audio output method relies on ALSA Player (aplay)
> > # being installed. If this is not the case, consider installing it
> > # or replace the aplay command in the GenericExecuteString below
> > # with play or similar.
> > #
> > # GenericExecuteString to what's the name of this utility on your
> > # system (it might be "speak")
> >
> > # GenericExecuteSynth is the shell command that should be
> > # executed in order to say some message. This command must
> > # stop saying the message on SIGKILL, otherwise it's useless.
> > # You can use the variables $LANGUAGE, $VOICE, $PITCH and $RATE
> > # which will be substituted for the appropriate value (you
> > # can modify this value, see other parameters).
> > # The command can be split into more lines, if necessary, using '\'.
> > GenericExecuteSynth \
> > "echo \"$DATA\" | /etc/speech-dispatcher/modules/mbespeak $VOICE $RATE
> > $VOLUME $PITCH $PUNCT"
> >
> > # The following three items control punctuation levels None, Some, and
> > All. # Each of these values will be substituted into the $PUNCT variable
> > depending # on the value passed to speech dispatcher from applications.
> > # Note that if an empty string is specified, then $PUNCT will be blank
> > # which is a default situation for espeak.
> >
> > GenericPunctNone " "
> > GenericPunctSome "--punct=\"()[]{};:\""
> > GenericPunctAll "--punct"
> >
> > # GenericStripPunctChars is a list (enclosed in doublequotes) of
> > # all the characters that should be replaced by whitespaces in
> > # order not to be badly handled by the output module or misinterpreted
> > # by shell.
> >
> > # GenericStripPunctChars  ""
> >
> > # If the language you need to pass in $LANG is different
> > # from the standard ISO language code, you can specify
> > # which string to use instead. If you wish to use
> > # other than ISO charset for the specified language,
> > # you can add it's name (as accepted by iconv) as a
> > # third parameter in doublequotes.
> >
> > GenericLanguage     "af" "af" "utf-8"
> > GenericLanguage     "cs" "cs" "utf-8"
> > GenericLanguage     "de" "de" "utf-8"
> > GenericLanguage     "el" "el" "utf-8"
> > GenericLanguage     "en" "en" "utf-8"
> > GenericLanguage     "fr" "fr" "utf-8"
> > GenericLanguage     "hr" "hr" "utf-8"
> > GenericLanguage     "hu" "hu" "utf-8"
> > GenericLanguage     "it" "it" "utf-8"
> > GenericLanguage     "la" "la" "utf-8"
> > GenericLanguage     "nl" "nl" "utf-8"
> > GenericLanguage     "pl" "pl" "utf-8"
> > GenericLanguage     "ro" "ro" "utf-8"
> > GenericLanguage     "sv" "sv" "utf-8"
> >
> > # AddVoice specifies which $VOICE string should be assigned to
> > # each language and symbolic voice name. All the voices you want
> > # to use must be specified here. This list will likely not be
> > # up-to-date, please check eSpeak documentation and add the voices
> > # you want to use. Or better use the native espeak module ('espeak'
> > # not 'espeak-generic')
> >
> > AddVoice        "af"    "MALE1"             "af1"
> > AddVoice        "cs"    "MALE1"             "cz2"
> > AddVoice        "de"    "MALE1"             "de5"
> > AddVoice        "el"    "MALE1"             "gr2"
> > AddVoice        "en"    "MALE1"             "en1"
> > AddVoice    "en"    "MALE2"         "us1"
> > AddVoice    "en"    "MALE3"         "us2"
> > AddVoice    "en"    "FEMALE1"       "us3"
> > AddVoice        "fr"    "MALE1"             "fr1"
> > AddVoice        "fr"    "FEMALE1"           "fr4"
> > AddVoice        "hr"    "MALE1"             "cr1"
> > AddVoice        "hu"    "MALE1"             "hu1"
> > AddVoice        "it"    "MALE1"             "it3"
> > AddVoice        "it"    "FEMALE1"           "it4"
> > AddVoice        "la"    "MALE1"             "la1"
> > AddVoice        "nl"    "MALE1"             "nl2"
> > AddVoice        "pl"    "MALE1"             "pl1"
> > AddVoice        "ro"    "MALE1"             "ro1"
> > AddVoice        "sv"    "MALE1"             "sw1"
> > AddVoice        "sv"    "FEMALE1"           "SW2"
> >
> > # These parameters set _rate_, _pitch_, and _volume_ conversion. This is
> > # part of the core of the definition of this generic output
> > # module for this concrete synthesizer, it's not intended to
> > # be modified by common users.
> > # The resulting rate (or pitch) has the form:
> > #       (speechd_rate * GenericRateMultiply) + GenericRateAdd
> > # while speechd_rate is a value between -100 (lowest) and +100 (highest)
> > # You have to define some meaningful conversion for each synthesizer
> >
> > # Here's the mapping from SSIP (Speech Dispatcher) to ESpeak (v1.10):
> > #
> > #           SSIP Range  SSIP Default    ESpeak Range    ESpeak Default
> > #           ----------- ------------    ------------    --------------
> > # Rate      -100 to 100     0           80 to 320       160
> > # Pitch     -100 to 100     0            0 to 99         50
> > # Volume    -100 to 100     0            0 to 20         10
> > #
> > # The SSIP defaults are actually controlled via DefaultRate,
> > DefaultPitch, and # DefaultVolume in the speechd.conf file.
> >
> > GenericRateAdd          160
> > GenericPitchAdd         50
> > GenericVolumeAdd        10
> >
> > # (These values are multiplied by 100, because DotConf currently
> > # doesn't support floats. So you can write 0.85 as 85 and so on.)
> >
> > GenericRateMultiply     160
> > GenericPitchMultiply    50
> > GenericVolumeMultiply   10
> >
> > # If the client program can't handle floats, you will have to
> > # use these two options to force integers as the parameters
> > # 1 means force integers, 0 means do nothing (write floats).
> >
> > GenericRateForceInteger     1
> > GenericPitchForceInteger    1
> > GenericVolumeForceInteger   1
> >
> > # Note that SSIP rates < -50 are spoken at -50.
> >
> > # Debug turns debugging on or off
> > # See speechd.conf for information where debugging information is stored
> > Debug 0
> >
> > #!/bin/sh
> > espeak -v mb/mb-$1 -s $2 -a $3 -p $4 $5 --stdin | /opt/mbrola/bin/mbrola
> > /opt/mbrola/voices/$1/$1 - -.au | paplay
> >
> > _______________________________________________
> > Liste de diffusion CarrefourBLinuX
> >     [email protected]
> >     http://lists.freearchive.org/mailman/listinfo/carrefourblinux
> > Pour s'inscrire par courriel :
> >    
> > 'mailto:[EMAIL PROTECTED]'
> > Pour se retirer de la liste par courriel :
> >    
> > 'mailto:[EMAIL PROTECTED]
> >'
> >
> > Archives : http://lists.freearchive.org/pipermail//carrefourblinux
> > Anciennes archives (Yahoogroupes) :
> >     http://fr.groups.yahoo.com/group/carrefourblinux/messages
> > Rechercher : http://lists.freearchive.org/cgi-bin/search.cgi
> >
> > Signets : http://fr.groups.yahoo.com/group/carrefourblinux/links/
> > Fiches EDU : http://blinuxwiki.pbwiki.com/FichesEdu
>
> _______________________________________________
> Liste de diffusion CarrefourBLinuX
>     [email protected]
>     http://lists.freearchive.org/mailman/listinfo/carrefourblinux
> Pour s'inscrire par courriel :
>    
> 'mailto:[EMAIL PROTECTED]'
> Pour se retirer de la liste par courriel :
>    
> 'mailto:[EMAIL PROTECTED]'
>
> Archives : http://lists.freearchive.org/pipermail//carrefourblinux
> Anciennes archives (Yahoogroupes) :
>     http://fr.groups.yahoo.com/group/carrefourblinux/messages
> Rechercher : http://lists.freearchive.org/cgi-bin/search.cgi
>
> Signets : http://fr.groups.yahoo.com/group/carrefourblinux/links/
> Fiches EDU : http://blinuxwiki.pbwiki.com/FichesEdu


_______________________________________________
Liste de diffusion CarrefourBLinuX 
    [email protected]
    http://lists.freearchive.org/mailman/listinfo/carrefourblinux
Pour s'inscrire par courriel : 
    'mailto:[EMAIL PROTECTED]'
Pour se retirer de la liste par courriel : 
    'mailto:[EMAIL PROTECTED]'

Archives : http://lists.freearchive.org/pipermail//carrefourblinux
Anciennes archives (Yahoogroupes) :
    http://fr.groups.yahoo.com/group/carrefourblinux/messages
Rechercher : http://lists.freearchive.org/cgi-bin/search.cgi

Signets : http://fr.groups.yahoo.com/group/carrefourblinux/links/
Fiches EDU : http://blinuxwiki.pbwiki.com/FichesEdu

Répondre à