Hello,

j'ai enfin vu la lumière:
l'ensemble  speech-dispatcher+cicero+mbrola-fr4  sur ma Debian ETch parle! 

J'ai juste dû éditer:
- ET /etc/speech-dispatcher/speechd.conf
  (cf. pj)
- ET /etc/speech-dispatcher/modules/cicero.conf
  (cf. pj)

Je pensais poutant qu'il suffisait d'éditer uniquement speechd.conf et que
le reste suivrait logiquement.

J'ai ensuite redémarré l'ordinateur.
Et j'ai vite compris par un  ps ax  (cf. pj) que mbrola était chargé, 
ainsi que cicero et speech-dispatcher.

Si je fais maintenant  spd-say "ceci est un test", c'est bien la voix 
Mbrola qu'on entend.

Il ne me reste plus qu'à rajouter l'étage supérieur, YASR par exemple.

Ald0 

# Global configuration for Speech Dispatcher
# ==========================================

# -----SYSTEM OPTIONS-----

# Port on which Speech Dispatcher should be available
# to clients.

# Port 6560

# This should be the path where Speech Dispatcher's configuration
# is stored, it's the base directory for Include commands in this
# file.
IncludePath "/etc/speech-dispatcher/"

# -----DEBUGING CONFIGURATION-----

# LogLevel is a number between 0 and 5 that specifies
# how much of the logging information should be printed
# out on the screen or in the logfile (see LogFile)
# 0 means nothing, 5 means everything (not recommended).

LogLevel  4

# LogFile specifies where should Speech Dispatcher write it's logging
# messages (status information, error messages, etc.)
# Specify "stdout" for standard console output
# or a full path to some file which the log should be written to.

LogFile  "/var/log/speech-dispatcher/speech-dispatcher.log"
#LogFile  "stdout"

# CustomLogFile allows logging all messages of the given kind, regardless their
# priority, to the given destination.

#CustomLogFile "protocol" 
"/var/log/speech-dispatcher/speech-dispatcher-protocol.log"


# -----MISC OPTIONS-----

# MaxHistoryMessages specifies the maximum number of messages
# that are stored in history. If they are more, older messages
# expire.
# MaxHistoryMessages 10000

# SoundDataDir specifies the directory where sounds
# are stored by default.
# SoundDataDir "/usr/share/sounds/sounds-library"

# DefaultRate controls how fast the synthesizer is going to speak.
# It's parameter must be between -100 (slowest) and +100 (fastest),
# default is 0.

# DefaultRate  0

# DefaultPitch controls the pitch of the synthesized voice.
# It's parameter must be between -100 (lowest) and +100 (highest),
# default is 0.

# DefaultPitch  0

# DefaultVolume constrols the default volume of the voice.
# It is a value between -100 (softly) and +100 (loudly).
# Currently, +100 maps to the default volume of the synthesizer.

DefaultVolume 100

# DefaultVoiceType controls which voice type should be used.
# Becaus voices are synthesizers specific, you only set here
# a symbolic name, which, if possible, is mapped to some of
# the synthesizers voices. Please see the synthesizer-specific
# configuration in etc/speechd/modules/ to see what voices are
# defined for the different symbolic names.
# Currently, these symbolic names are supported:
# MALE1, MALE2, MALE3, FEMALE1, FEMALE2, FEMALE3
# CHILD_MALE, CHILD_FEMALE

# DefaultVoiceType  "MALE1"

# Default language with which to speak
DefaultLanguage  "fr"

# DefaultClientName specifies the name of a client
# who didn't introduce himself at the beginning of
# a SSIP session.
#
# (Note that if you see this string during working
# with Speech Dispatcher aplications as a user, it's a good
# reason to complain to the autor of said application!)

# DefaultClientName  "unknown:unknown:unknown"

# Use with caution, normally this shouldn't be changed globally
# DefaultPriority  "text"

# DefaultPauseContext specifies how by how many index marks a speech cursor
# should return when resuming after a pause. This is roughly equivalent to
# the number of sentences before the place of the execution of pause that
# will be repeated.

# DefaultPauseContext 0

# -----SPELLING/PUNCTUATION/CAPITAL LETTERS  CONFIGURATION-----

# DefaultPunctuationMode sets the way dots, comas, exclamation
# marks, question marks etc. are interpreted.
#       none    -     they are ignored
#       some    -     some of them are sent to synthesis
#                                                       (see 
DefaultPunctuationSome)
#       all     -     all punctuation marks are sent to synthesis
# DefaultPunctuationMode  "none"

# DefaultCapLetRecognition: if set to "icon" or "insert_sound",
# capital letters are distinguished from other text automatically,
# otherwise only on client request.

# DefaultCapLetRecognition  "none"

# DefaultSpelling: if set to On, every messages will
# be spelled unless set otherwise. (This is usually
# not something you want to do.)

# DefaultSpelling  Off

# -----OUTPUT MODULES CONFIGURATION-----

# AddModule loads an output module.
#  Syntax: AddModule "name" "binary" "configuration" "logfile"
#  - name is the name under which you can acces this module
#  - binary is the path to the binary executable of this module,
#    either relative (to lib/speech-dispatcher-modules/) or absolute
#  - configuration is the path to the config file of this module,
#    either relative (to etc/speechd/modules/) or absolute
#  - logfile is the path where logging information should be stored
#      (most modules support debug logging, see their configuration)

AddModule "flite"        "sd_flite"     "flite.conf"  
"/var/log/speech-dispatcher/flite.log"
AddModule "festival"     "sd_festival"  "festival.conf" 
"/var/log/speech-dispatcher/festival.log"
#AddModule "espeak-generic" "sd_generic" "espeak-generic.conf" 
"/var/log/speech-dispatcher/espeak.log"
#AddModule "epos-generic" "sd_generic"   "epos-generic.conf" 
"/var/log/speech-dispatcher/epos.log"
#AddModule "dtk-generic"  "sd_generic"   "dtk-generic.conf" 
"/var/log/speech-dispatcher/dtk-generic.log"
#AddModule "ibmtts"       "sd_ibmtts"    "ibmtts.conf" 
"/var/log/speech-dispatcher/ibmtts.log"
AddModule "cicero"        "sd_cicero"     "cicero.conf"  
"/var/log/speech-dispatcher/cicero.log"

# The output module testing doesn't actually connect to
# anything. It outputs the requested commands to standard output
# and reads responses from stdandard input. This way, Speech Dispatcher's
# communication with output modules can be tested easily.

# AddModule "testing"

# DefaultModule selects which output module is the default.
# You must use one of the modules loaded with AddModule.

DefaultModule cicero

# LanguageDefaultModule selects which output modules are prefered
# for specified languages.

LanguageDefaultModule "fr"  "cicero"
LanguageDefaultModule "en"  "flite"
LanguageDefaultModule "cs"  "festival"
LanguageDefaultModule "es"  "festival"

# -----CLIENT SPECIFIC CONFIGURATION-----

# Here you can include the files with client-specific configuration
# for different types of clients. They must contain one or more sections with
# this structure:
#     BeginClient "emacs:*"
#          DefaultPunctuationMode "some"
#          ...and/or some other settings
#     EndClient
# The parameter of BeginClient tells Speech Dispatcher to which clients
# it should apply this settings (it does glob-style matching, you can use
# * to match any number of characters and ? to match one character)

Include "clients/emacs.conf"
Include "clients/gnome-speech.conf"

# -- CICERO EXECUTABLE AND LOG --

# CiceroExecutable indicates path to the cicero executable (the file called
# tts_brltty_es.py in the original distribution of the 0.7 version).  You can
# create a symbolic link # ln -s your-path/tts_brltty_es.py /usr/bin/cicero or
# probably better in /usr/local/bin/cicero and modify the bellow option
# accordingly.

CiceroExecutable "/usr/bin/cicero"

# CiceroExecutableLog is the path where logging information of the
# original Cicero synthesizer (CiceroExecutable) should be stored.
# This should not be confused with the logging of this module/driver
# specified in speechd.conf.

CiceroExecutableLog "/var/log/speech-dispatcher/cicero-executable.log"

# -- AUDIO OUTPUT --

# Cicero does its own audio output which can't
# be influenced from this place. Please see Cicero
# documentation

# -- DEBUGING AND LOGING --

# Debug turns debugging on or off
# See speechd.conf for information where debugging information is stored

#Debug 0
Script started on Sun 29 Jun 2008 10:15:31 PM CEST
galactix:~# ps auxfwww
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.1  0.0   1952   664 ?        Ss   21:59   0:01 init [2]  
root         2  0.0  0.0      0     0 ?        S    21:59   0:00 [migration/0]
root         3  0.0  0.0      0     0 ?        SN   21:59   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S    21:59   0:00 [migration/1]
root         5  0.0  0.0      0     0 ?        SN   21:59   0:00 [ksoftirqd/1]
root         6  0.0  0.0      0     0 ?        S<   21:59   0:00 [events/0]
root         7  0.0  0.0      0     0 ?        S<   21:59   0:00 [events/1]
root         8  0.0  0.0      0     0 ?        S<   21:59   0:00 [khelper]
root         9  0.0  0.0      0     0 ?        S<   21:59   0:00 [kthread]
root        13  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [kblockd/0]
root        14  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [kblockd/1]
root        15  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [kacpid]
root       116  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [kseriod]
root       158  0.0  0.0      0     0 ?        S    21:59   0:00  \_ [pdflush]
root       159  0.0  0.0      0     0 ?        S    21:59   0:00  \_ [pdflush]
root       160  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [kswapd0]
root       161  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [aio/0]
root       162  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [aio/1]
root       632  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [khubd]
root       698  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [khpsbpkt]
root       785  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [ata/0]
root       786  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [ata/1]
root       787  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [ata_aux]
root       817  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [scsi_eh_0]
root       818  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [scsi_eh_1]
root      1110  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [kjournald]
root      1719  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [kpsmoused]
root      1735  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ 
[kgameportd]
root      2140  0.0  0.0      0     0 ?        S<   21:59   0:00  \_ [kmirrord]
root       316  0.0  0.0      0     0 ?        S    21:59   0:00 [kirqd]
root       773  0.0  0.0      0     0 ?        S    21:59   0:00 [knodemgrd_0]
root      1284  0.0  0.0   2184   608 ?        S<s  21:59   0:00 udevd --daemon
root      2130  0.0  0.0   2064   848 ?        Ssl  21:59   0:00 /sbin/brltty 
-P /var/run/brltty.pid
daemon    2535  0.0  0.0   1692   376 ?        Ss   21:59   0:00 /sbin/portmap
root      2791  0.0  0.0   2564   936 ?        Ss   21:59   0:00 /sbin/syslogd
root      2797  0.0  0.0   1580   380 ?        Ss   21:59   0:00 /sbin/klogd -x
root      2834  0.0  0.0   2680   404 ?        S<s  21:59   0:00 dhclient -e 
-pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
root      2899  0.0  0.0   1580   552 ?        Ss   21:59   0:00 
/usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket
root      2909  0.0  0.2   5448  2112 ?        Ss   21:59   0:00 /usr/sbin/cupsd
root      2927  0.0  0.0   2688   892 ?        Ss   21:59   0:00 /usr/sbin/inetd
root      2934  0.0  0.4   7060  4592 ?        S    21:59   0:00 ddclient - 
sleeping for 6731 seconds
106       2935  0.0  0.2  19908  2980 ?        Sl   21:59   0:00 
106       2938  0.0  0.0  10700   792 ?        Sl   21:59   0:00 
106       2939  0.0  0.3  14408  3812 ?        Sl   21:59   0:00  \_ 
/usr/bin/python2.4 /usr/bin/cicero
106       3066  0.0  0.0   1884   736 ?        S    21:59   0:00      \_ 
/usr/bin/mbrola -e -f 1.8 /usr/share/mbrola/voices/fr4 - -.wav
106       2941  0.0  0.0  10600   616 ?        Ssl  21:59   0:00 
/usr/bin/speech-dispatcher
root      2948  0.0  0.1   4936  1064 ?        Ss   21:59   0:00 /usr/sbin/sshd
statd     2983  0.0  0.1   2692  1052 ?        Ss   21:59   0:00 /sbin/rpc.statd
daemon    3003  0.0  0.0   1832   420 ?        Ss   21:59   0:00 /usr/sbin/atd
root      3010  0.0  0.0   2196   896 ?        Ss   21:59   0:00 /usr/sbin/cron
root      3050  0.0  0.1   2668  1172 tty1     Ss   21:59   0:00 /bin/login --  
   
root      3376  0.0  0.1   4272  1716 tty1     S    22:14   0:00  \_ -bash
root      3385  0.0  0.0   3004   580 tty1     S+   22:15   0:00      \_ script
root      3386  0.0  0.0   3008   388 tty1     S+   22:15   0:00          \_ 
script
root      3387  0.0  0.1   4268  1716 pts/0    Ss   22:15   0:00              
\_ bash -i
root      3390  0.0  0.0   3640   948 pts/0    R+   22:15   0:00                
  \_ ps auxfwww
root      3051  0.0  0.0   1580   500 tty2     Ss+  21:59   0:00 /sbin/getty 
38400 tty2
root      3052  0.0  0.0   1576   496 tty3     Ss+  21:59   0:00 /sbin/getty 
38400 tty3
root      3053  0.0  0.0   1580   500 tty4     Ss+  21:59   0:00 /sbin/getty 
38400 tty4
root      3054  0.0  0.0   1580   496 tty5     Ss+  21:59   0:00 /sbin/getty 
38400 tty5
root      3055  0.0  0.0   1580   496 tty6     Ss+  21:59   0:00 /sbin/getty 
38400 tty6
galactix:~# ps ax
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:01 init [2]  
    2 ?        S      0:00 [migration/0]
    3 ?        SN     0:00 [ksoftirqd/0]
    4 ?        S      0:00 [migration/1]
    5 ?        SN     0:00 [ksoftirqd/1]
    6 ?        S<     0:00 [events/0]
    7 ?        S<     0:00 [events/1]
    8 ?        S<     0:00 [khelper]
    9 ?        S<     0:00 [kthread]
   13 ?        S<     0:00 [kblockd/0]
   14 ?        S<     0:00 [kblockd/1]
   15 ?        S<     0:00 [kacpid]
  116 ?        S<     0:00 [kseriod]
  158 ?        S      0:00 [pdflush]
  159 ?        S      0:00 [pdflush]
  160 ?        S<     0:00 [kswapd0]
  161 ?        S<     0:00 [aio/0]
  162 ?        S<     0:00 [aio/1]
  316 ?        S      0:00 [kirqd]
  632 ?        S<     0:00 [khubd]
  698 ?        S<     0:00 [khpsbpkt]
  773 ?        S      0:00 [knodemgrd_0]
  785 ?        S<     0:00 [ata/0]
  786 ?        S<     0:00 [ata/1]
  787 ?        S<     0:00 [ata_aux]
  817 ?        S<     0:00 [scsi_eh_0]
  818 ?        S<     0:00 [scsi_eh_1]
 1110 ?        S<     0:00 [kjournald]
 1284 ?        S<s    0:00 udevd --daemon
 1719 ?        S<     0:00 [kpsmoused]
 1735 ?        S<     0:00 [kgameportd]
 2130 ?        Ssl    0:00 /sbin/brltty -P /var/run/brltty.pid
 2140 ?        S<     0:00 [kmirrord]
 2535 ?        Ss     0:00 /sbin/portmap
 2791 ?        Ss     0:00 /sbin/syslogd
 2797 ?        Ss     0:00 /sbin/klogd -x
 2834 ?        S<s    0:00 dhclient -e -pf /var/run/dhclient.eth0.pid -lf /var/l
 2899 ?        Ss     0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid
 2909 ?        Ss     0:00 /usr/sbin/cupsd
 2927 ?        Ss     0:00 /usr/sbin/inetd
 2934 ?        S      0:00 ddclient - sleeping for 6641 seconds
 2935 ?        Sl     0:00 
 2938 ?        Sl     0:00 
 2939 ?        Sl     0:00 /usr/bin/python2.4 /usr/bin/cicero
 2941 ?        Ssl    0:00 /usr/bin/speech-dispatcher
 2948 ?        Ss     0:00 /usr/sbin/sshd
 2983 ?        Ss     0:00 /sbin/rpc.statd
 3003 ?        Ss     0:00 /usr/sbin/atd
 3010 ?        Ss     0:00 /usr/sbin/cron
 3050 tty1     Ss     0:00 /bin/login --     
 3051 tty2     Ss+    0:00 /sbin/getty 38400 tty2
 3052 tty3     Ss+    0:00 /sbin/getty 38400 tty3
 3053 tty4     Ss+    0:00 /sbin/getty 38400 tty4
 3054 tty5     Ss+    0:00 /sbin/getty 38400 tty5
 3055 tty6     Ss+    0:00 /sbin/getty 38400 tty6
 3066 ?        S      0:00 /usr/bin/mbrola -e -f 1.8 /usr/share/mbrola/voices/fr
 3376 tty1     S      0:00 -bash
 3385 tty1     S+     0:00 script
 3386 tty1     S+     0:00 script
 3387 pts/0    Ss     0:00 bash -i
 3394 pts/0    R+     0:00 ps ax
galactix:~# exit
exit

Script done on Sun 29 Jun 2008 10:34:23 PM CEST
_______________________________________________
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 à