Re: [orca-list] tried to change parameters for sd and orca crashed.
- From: "Michael Whapples" <mwhapples aim com>
- To: <orca-list gnome org>
- Subject: Re: [orca-list] tried to change parameters for sd and orca crashed.
- Date: Sat, 19 May 2007 10:03:18 +0100
--- Begin Message ---
- From: "Michael Whapples" <mikster4 msn com>
- To: "krishnakant Mane" <researchbase gmail com>, "orca-list" <orca-list gnome org>
- Subject: Re: [orca-list] tried to change parameters for sd and orca crashed.
- Date: Sat, 19 May 2007 10:00:18 +0100
Hello,
Firstly I think you added the punctuation option wrongly, if you look in
espeak-generic.conf you will find the following line (NOTE it may go over
more than one line here due to line wrapping):
GenericExecuteSynth \
"echo \"$DATA\" | speak -w /tmp/espeak.wav -v $VOICE -s $RATE -a $VOLUME -p
$PITCH --stdin && aplay /tmp/espeak.wav"
To add all punctuation symbols change it to the following:
GenericExecuteSynth \
"echo \"$DATA\" | speak --punct -w /tmp/espeak.wav -v $VOICE -s $RATE -a
$VOLUME -p $PITCH --stdin && aplay /tmp/espeak.wav"
If you only want some punctuation characters (here I will do it as if it
were the characters !?.,;:) then you change it to the following:
GenericExecuteSynth \
"echo \"$DATA\" | speak --punct=\"!?.,;:\" -w /tmp/espeak.wav -v $VOICE -s
$RATE -a $VOLUME -p $PITCH --stdin && aplay /tmp/espeak.wav"
As another note, I have used the speak command, but this is from when espeak
only had the speak command, but the espeak command should work just the
same.
As a comment about if you want to create an espeak specific
speech-dispatcher driver, then I would say looking at the speech-dispatcher
documentation which can also be viewed at the freebsoft website
(www.freebsoft.org). I am not sure that it is alsa which leads to a smoother
sound, but rather the fact that a player is playing the audio after the
synthesis. ALSA does have certain advantages, which is why I say that any
development which is started now should use ALSA (advantages are things like
software mixing if the hardware doesn't support it (why you could have music
playing whilst having speech output), the configurability of the drivers,
and simply the fact that they are the current system preferred in the
kernel).
From
Michael Whapples
----- Original Message -----
From: "krishnakant Mane" <researchbase gmail com>
To: "orca-list" <orca-list gnome org>
Sent: Saturday, May 19, 2007 6:16 AM
Subject: [orca-list] tried to change parameters for sd and orca crashed.
hello,
as suggested I added the line for changing punctuation.
I added punctuationmode=-k and saved the conf file.
but now orca fails to start while using sd.
by the way, I added mkdir and chown lines in
/etc/init.d/speech-dispatcher as suggested on this list. now the
problem with sd is very strange for startup.
when I execute sudo /etc/init.d/speech-dispatcher start, it says can't
create directory /var/run/speech-dispatcher, directory already exists.
and the same problem of "can't start speech-dispatcher, can't create
pid file, wrong permissions".
now please suggest me what are other possibilities.
regards,
Krishnakant.
--- End Message ---
From: "Michael Whapples" <mikster4 msn com>
To: "krishnakant Mane" <researchbase gmail com>,
"orca-list" <orca-list gnome org>
References: <f81479dd0705182216g34502129le0889935f7a0846d mail gmail com>
Subject: Re: [orca-list] tried to change parameters for sd and orca crashed.
Date: Sat, 19 May 2007 10:00:18 +0100
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="iso-8859-1";
reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
Hello,
Firstly I think you added the punctuation option wrongly, if you look in
espeak-generic.conf you will find the following line (NOTE it may go over
more than one line here due to line wrapping):
GenericExecuteSynth \
"echo \"$DATA\" | speak -w /tmp/espeak.wav -v $VOICE -s $RATE -a $VOLUME -p
$PITCH --stdin && aplay /tmp/espeak.wav"
To add all punctuation symbols change it to the following:
GenericExecuteSynth \
"echo \"$DATA\" | speak --punct -w /tmp/espeak.wav -v $VOICE -s $RATE -a
$VOLUME -p $PITCH --stdin && aplay /tmp/espeak.wav"
If you only want some punctuation characters (here I will do it as if it
were the characters !?.,;:) then you change it to the following:
GenericExecuteSynth \
"echo \"$DATA\" | speak --punct=\"!?.,;:\" -w /tmp/espeak.wav -v $VOICE -s
$RATE -a $VOLUME -p $PITCH --stdin && aplay /tmp/espeak.wav"
As another note, I have used the speak command, but this is from when espeak
only had the speak command, but the espeak command should work just the
same.
As a comment about if you want to create an espeak specific
speech-dispatcher driver, then I would say looking at the speech-dispatcher
documentation which can also be viewed at the freebsoft website
(www.freebsoft.org). I am not sure that it is alsa which leads to a smoother
sound, but rather the fact that a player is playing the audio after the
synthesis. ALSA does have certain advantages, which is why I say that any
development which is started now should use ALSA (advantages are things like
software mixing if the hardware doesn't support it (why you could have music
playing whilst having speech output), the configurability of the drivers,
and simply the fact that they are the current system preferred in the
kernel).
From
Michael Whapples
----- Original Message -----
From: "krishnakant Mane" <researchbase gmail com>
To: "orca-list" <orca-list gnome org>
Sent: Saturday, May 19, 2007 6:16 AM
Subject: [orca-list] tried to change parameters for sd and orca crashed.
hello,
as suggested I added the line for changing punctuation.
I added punctuationmode=-k and saved the conf file.
but now orca fails to start while using sd.
by the way, I added mkdir and chown lines in
/etc/init.d/speech-dispatcher as suggested on this list. now the
problem with sd is very strange for startup.
when I execute sudo /etc/init.d/speech-dispatcher start, it says can't
create directory /var/run/speech-dispatcher, directory already exists.
and the same problem of "can't start speech-dispatcher, can't create
pid file, wrong permissions".
now please suggest me what are other possibilities.
regards,
Krishnakant.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]