Package: speech-dispatcher
Version: 0.7-5.1
Severity: normal
Tags: patch
Hello,
The svox/pico engine from Android is probably a good thing to add to
speech-dispatcher, here is a pico-generic.conf file, to be added using
AddModule "pico-generic" "sd_generic" "pico-generic.conf"
of course. Hynek, I guess that should probably be added upstream?
Samuel
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.36 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages speech-dispatcher depends on:
ii adduser 3.112 add and remove users and groups
ii dpkg 1.15.8.5 Debian package management system
ii install-info 4.13a.dfsg.1-5 Manage installed documentation in
ii libasound2 1.0.21a-1+youpi.1 shared library for ALSA applicatio
ii libaudio2 1.9.2-3 Network Audio System - shared libr
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libdotconf1.0 1.0.13-3 Configuration file parser library
ii libespeak1 1.43.03-2 A multi-lingual software speech sy
ii libflite1 1.4-release-2 a small run-time speech synthesis
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libpulse0 0.9.21-3+b1 PulseAudio client libraries
pi libspeechd2 0.7-5.1+youpi.1 Speech Dispatcher: Shared librarie
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
Versions of packages speech-dispatcher recommends:
ii pulseaudio 0.9.21-3+b1 PulseAudio sound server
Versions of packages speech-dispatcher suggests:
pn speech-dispatcher-doc-cs <none> (no description available)
pn speech-dispatcher-festival <none> (no description available)
-- Configuration Files:
/etc/speech-dispatcher/modules/espeak-generic.conf [Errno 2] Aucun fichier ou
dossier de ce type: u'/etc/speech-dispatcher/modules/espeak-generic.conf'
/etc/speech-dispatcher/speechd.conf changed:
LogLevel 3
LogDir "default"
DefaultVolume 100
AudioOutputMethod "alsa"
AddModule "espeak-mbrola-generic" "sd_generic" "espeak-mbrola-generic.conf"
AddModule "espeak-pico-generic" "sd_generic"
"espeak-pico-generic.conf"
AddModule "dummy" "sd_dummy" ""
DefaultModule espeak-pico-generic
Include "/etc/speech-dispatcher/clients/*.conf"
Include "clients/*.conf"
-- no debconf information
--
Samuel Thibault <[email protected]>
Hi ! I'm a .signature virus ! Copy me into your ~/.signature, please !
# pico output module is based on the generic plugin for Speech
# Dispatcher. It means there is no 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 an audio playback
# utility (play, aplay, paplay for OSS, ALSA or Pulse)
# being installed. If this is not the case, consider installing it
# or replace the $PLAY_COMMAND string in the GenericExecuteString below
# with play, paplay or similar.
#
# 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 \
"pico2wave -w $TMPDIR/pico.wav -l $VOICE \'$DATA\' && $PLAY_COMMAND
$TMPDIR/pico.wav
# 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 "en" "en" "utf-8"
GenericLanguage "de" "de" "utf-8"
GenericLanguage "es" "es" "utf-8"
GenericLanguage "fr" "fr" "utf-8"
GenericLanguage "it" "it" "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 pico documentation and add the voices
# you want to use.
AddVoice "en" "FEMALE1" "en-US"
AddVoice "en" "FEMALE2" "en-GB"
AddVoice "de" "FEMALE1" "de-DE"
AddVoice "es" "FEMALE1" "es-ES"
AddVoice "fr" "FEMALE1" "fr-FR"
AddVoice "it" "FEMALE1" "it-IT"
# Yes, it's wrong, but this way you at least get something even when configured
# (by default) to use a male voice
AddVoice "en" "MALE1" "en-US"
AddVoice "en" "MALE2" "en-GB"
AddVoice "de" "MALE1" "de-DE"
AddVoice "es" "MALE1" "es-ES"
AddVoice "fr" "MALE1" "fr-FR"
AddVoice "it" "MALE1" "it-IT"
# Debug turns debugging on or off
# See speechd.conf for information where debugging information is stored
Debug 0