* Re: speakup and cepstral? (fwd)
@ Cheryl Homiak
` Cheryl Homiak
` Hynek Hanke
0 siblings, 2 replies; 27+ messages in thread
From: Cheryl Homiak @ UTC (permalink / raw)
To: speakup
--
Cheryl
"Where your treasure is, there will your heart be also."
---------- Forwarded message ----------
Date: Tue, 4 May 2004 12:43:35 -0500 (CDT)
From: Cheryl Homiak <chomiak@charter.net>
To: speakup <speakup@braille.uwo.ca>
Subject: Re: speakup and cepstral?
Ok, I have it primitively working.
Below is what I've done to the cpstrl-generic.conf file. I decided to
eliminate things I didn't know how to handle yet, and add them back as I
figure it out. This works from the command prompt, does Pine, reads things
in more (haven't tried less), and cursor-tracking and numpad functions
seem to be functional. Works in pico or nano but I lose speech completely
when I load emacs and it doesn't come back until i kill speechd_up and
speech-dispatcher and start them again. Echoes keystrokes but does not say
word after space but does say full completion when tab-completion is used.
At one time speech also stopped when I did control-x in pine and went into
the spell checker, but in another instance it didn't.
If I try to insert
-r $RATE -S $PITCH
and change the forceInteger lines from 1 to 0, I don't get any speech.
I realize that what I've done and what I've left out still leaves a lot to
e desired, but it still is progress. I haven't turned debugging on yet to
see what else I can find out; that might help me track down what's going
on when I load emacs.
I've only been using this a few minutes, so in addition to not handling
pitch and rate and the things I've mentioned above, there are probably all
sorts of problems. But the voice is really clear.
Further help and instruction will be eagerly accepted.
I've cut off the top of the .conf file for the sake of length.
GenericExecuteSynth \
"/usr/local/bin/theta -N $VOICE \"$DATA\"
# 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.
# We need to strip `[' and `]', as these are DECTalk's
# command characters.
GenericStripPunctChars "[]"
# 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.
# NOTE:
# There is a multilingual version of DECTalk software, however I
# do not have it. Thus, only the US English voices are defined here.
# If you know about the other languages, please let us know on
# <speechd@freebsoft.org>
AddVoice "en" "MALE1" "Frank"
# AddVoice "en" "MALE2" "harry"
# AddVoice "en" "MALE3" "dennis"
# AddVoice "en" "FEMALE1" "betty"
# AddVoice "en" "FEMALE2" "ursula"
# AddVoice "en" "FEMALE3" "wendy"
# AddVoice "en" "CHILD_MALE" "kit"
# These parameters set _rate_ and _pitch_ 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
# NOTE:
# Because DECTalk cannot accept float values, we must force them to be
# integers.
GenericRateForceInteger 1
GenericPitchForceInteger 1
GenericRateAdd 338
GenericPitchAdd 225
# (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 262
GenericPitchMultiply 175
# Debug turns debugging on or off
# Debug 1
# DebugFile specifies the file where the debugging information
# should be stored (note that the log is overwritten each time
# the module starts)
# DebugFile "/tmp/debug-dtk-generic"
--
Cheryl
"Where your treasure is, there will your heart be also."
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: speakup and cepstral? (fwd)
speakup and cepstral? (fwd) Cheryl Homiak
@ ` Cheryl Homiak
` Hynek Hanke
1 sibling, 0 replies; 27+ messages in thread
From: Cheryl Homiak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Sorry, I accidentally did two sends of the post with the part of the .conf
file but one of the posts has slightly more information in it than the
other.
--
Cheryl
"Where your treasure is, there will your heart be also."
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: speakup and cepstral? (fwd)
speakup and cepstral? (fwd) Cheryl Homiak
` Cheryl Homiak
@ ` Hynek Hanke
` speakup and cepstral? Steve Holmes
1 sibling, 1 reply; 27+ messages in thread
From: Hynek Hanke @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
> Below is what I've done to the cpstrl-generic.conf file. I decided to
> eliminate things I didn't know how to handle yet, and add them back as I
> figure it out.
Yes, this is a reasonable approach.
> This works from the command prompt, does Pine, reads things
> in more (haven't tried less), and cursor-tracking and numpad functions
> seem to be functional.
The Speakup keys and what it reads is entirely in the hands of Speakup.
But Speech Dispatcher, Speechd-Up and the configuration file you are
trying to modify is not Speakup. You can think of it rather than one
of the devices that Speakup communicates to and it takes care of software
synthesizers.
So these are two entirely different questions and different tasks. If something
works with Speakup, it should work with Speech Dispatcher and it's devices also.
However, it might be that the configuration file you provide to the generic
output module is buggy in some way and the module crashes when a certain text
is sent into it. It might be an unescaped control sequence, it may be a request
for parameters that are out of range an so on.
> Works in pico or nano but I lose speech completely
> when I load emacs and it doesn't come back until i kill speechd_up and
> speech-dispatcher and start them again.
Most probably, you don't have to kill these two. It's only that the module
crashed for some reason. A solution for this is to switch to some other
Speech Dispatcher output module (some other software synthesizer, flite should
be always available), but under these circumstances (Speakup is an unusual
client) you can do this only through telnet, so I don't recommend it. The other
solution is to make Speech Dispatcher reaload the dead output modules. You can
do this by sending it the signal SIGUSR1 to speech_dispatcher.
Additionally, if you want Speech Dispatcher to reload the configuration files
(after you modify something), it's enough to send the SIGHUP signal. No need
to kill anybody :) I've learnt that the people on this mailing list tend to
be rather violent :)))
> Echoes keystrokes but does not say
> word after space but does say full completion when tab-completion is used.
> At one time speech also stopped when I did control-x in pine and went into
> the spell checker, but in another instance it didn't.
You have to switch on the logging and see the logs for what exactly happens,
what exacts string is being executed in bash and so on.
Also, please see the sections Configuration files of the generic output module
and the whole Output modules section in the user part of the info documentation
provided with Speech Dispatcher for more information. Be sure you understand
the requirements that are put on the ,,say-something'' client of your synthesizer
and this your program really complies with them.
> If I try to insert
> -r $RATE -S $PITCH
> and change the forceInteger lines from 1 to 0, I don't get any speech.
This is not so simple, because your say command probably has a different
scale for the values than Speech Dispatchers defaults or Dectalk software.
Let's postpone this for now.
> I realize that what I've done and what I've left out still leaves a lot to
> e desired, but it still is progress. I haven't turned debugging on yet to
> see what else I can find out; that might help me track down what's going
> on when I load emacs.
Yes, it definitely will.
But as for running Emacs, you might want to try to install the speechd-el
package. speechd-el is not a screen reader (as Speakup), but instead it
is writen directly for Emacs. This approach has the advantage that it
is a higher level approach than a simple screen reader, provides you
with more and better functions and is highly customizable. The downside
of this approach is that it only works with Emacs and the applications
you can run in Emacs. I think the best approach is to combine Speakup
with speechd-el and other specific clients. You can always switch Speakup
off/on for the console where you are running Emacs with some keys.
Please see http://www.freebsoft.org for more information about speechd-el.
(It also runs with Speech Dispatcher, so your configuration file you
are writing now will work for this also).
Please try to determine what text the module crashes on and let me know.
If you are desperate, send me the logfile (after the crash) privately
(it might be rather long).
With Regards,
Hynek
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: speakup and cepstral?
` Hynek Hanke
@ ` Steve Holmes
` Cheryl Homiak
` (3 more replies)
0 siblings, 4 replies; 27+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This isn't quite related to Cepstral but I would like to get Speech
Dispatcher to use a different voice inside of flite. I compiled flite
with a default of the cmu-us-en-kal16 voice instead of the 8-bit
version. Frankly, it sounds much better. When I test flite from the
command line, it does indeed speak with this voice. However when I do
spd-say from the command line, it uses the original default voice
<yuck>. How can I change speech dispatcher to use the other voice? I
didn't see anything obvious in the speechd.conf and related conf
files.
- --
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAmoACWSjv55S0LfERAlUAAKDY8/lmk30hJPe1QHq/OP59E57VIACg9MEV
m1B0Ry0knZpWudGMSnRNLGw=
=4CGM
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: speakup and cepstral?
` speakup and cepstral? Steve Holmes
@ ` Cheryl Homiak
` Cheryl Homiak
` Cheryl Homiak
` nick G
` (2 subsequent siblings)
3 siblings, 2 replies; 27+ messages in thread
From: Cheryl Homiak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
I would think you would have to add that voice mapped to "MALE1" or rather
change that AddVoice line in your dtk-generic. What I wouldn't know is
whether that voice is assigned a name in flite that you can use.
As you can see in my cpstral-generic.conf, i was able to put "Frank" as
"MALE1" and also I've now added "Emily" as "FEMALE1". when I wanted Emily
as the default, I changed the default to "FEMALE1" in speechd.conf. But
again, I don't know the labels for flite's voices.
--
Cheryl
"Where your treasure is, there will your heart be also."
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: speakup and cepstral?
` Cheryl Homiak
@ ` Cheryl Homiak
` Cheryl Homiak
1 sibling, 0 replies; 27+ messages in thread
From: Cheryl Homiak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Oops, I meant you'd have to change it in your flite.conf. Sorry!
--
Cheryl
"Where your treasure is, there will your heart be also."
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: speakup and cepstral?
` Cheryl Homiak
` Cheryl Homiak
@ ` Cheryl Homiak
` Steve Holmes
1 sibling, 1 reply; 27+ messages in thread
From: Cheryl Homiak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hmm, i see that in the flite.conf there's no mention of pitch or rate
(also none of AddVoice. can pitch and rate be changed in flite with
speakup then and if so, how is it handled since it isn't in the .conf?
--
Cheryl
"Where your treasure is, there will your heart be also."
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: speakup and cepstral?
` Cheryl Homiak
@ ` Steve Holmes
` Cheryl Homiak
0 siblings, 1 reply; 27+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yes, pitch and rate do work quite effectively with speakup. It
appears that speakup sends escape sequences (ala Double Talk) thru to
speechd_up or the softsynth device driver and I'm fuzzy from there:).
The /proc/speakup variables include a voice parm but when I tried
echoing other values than the default of '1' to it, I got no results
at all; no change. In fact, tone had no effect at the time either.
On Thu, May 06, 2004 at 02:12:39PM -0500, Cheryl Homiak wrote:
> Hmm, i see that in the flite.conf there's no mention of pitch or rate
> (also none of AddVoice. can pitch and rate be changed in flite with
> speakup then and if so, how is it handled since it isn't in the .conf?
>
>
> --
> Cheryl
> "Where your treasure is, there will your heart be also."
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
- --
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAmpSoWSjv55S0LfERAjDxAKC22H/CBJNgGj1HF/SG+CyNqFsZ8ACfXEix
m1vo4Nei36sLEkT02HMpynQ=
=+OJD
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: speakup and cepstral?
` Steve Holmes
@ ` Cheryl Homiak
` speakup and Flite 16 Bit Voices Richard Wells
` speakup and cepstral? Steve Holmes
0 siblings, 2 replies; 27+ messages in thread
From: Cheryl Homiak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hmm, I wonder if you have to recompile speech-dispatcher and/or speechd_up
now that you've changed flite. I'm just guessing; this isn't a suggestion
based on concrete theory.
--
Cheryl
"Where your treasure is, there will your heart be also."
^ permalink raw reply [flat|nested] 27+ messages in thread* speakup and Flite 16 Bit Voices
` Cheryl Homiak
@ ` Richard Wells
` Steve Holmes
` speakup and cepstral? Steve Holmes
1 sibling, 1 reply; 27+ messages in thread
From: Richard Wells @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hello,
Where can I download 16 bit voices for Flite? I got Flite 1.2 and Eflite
0.3.8 or something like that as tar balls from their site and compiled
them, but I only have the crappy 8 bit male voice.
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: speakup and Flite 16 Bit Voices
` speakup and Flite 16 Bit Voices Richard Wells
@ ` Steve Holmes
` Richard Wells
0 siblings, 1 reply; 27+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Actually, I compiled flite with the following options:
./configure --enable-shared --with-vox=cmu_us_kal16
It's the kal16 thingy which got me the better voice. I recall reading
about this other voice in the flite docs some place. When I type
flite "testing 1 2 3" it sounds a lot clear and better sounding than
the default voice.
On Thu, May 06, 2004 at 04:52:54PM -0400, Richard Wells wrote:
> Hello,
>
> Where can I download 16 bit voices for Flite? I got Flite 1.2 and Eflite
> 0.3.8 or something like that as tar balls from their site and compiled
> them, but I only have the crappy 8 bit male voice.
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
- --
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAmrNLWSjv55S0LfERAtTaAKC/DjP+L7q4B16gutQsQ0Kbq3DG6QCeOrN1
fqZrF9Q2Gl1UTRUjliZ8HcY=
=s7uW
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: speakup and Flite 16 Bit Voices
` Steve Holmes
@ ` Richard Wells
0 siblings, 0 replies; 27+ messages in thread
From: Richard Wells @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Thanks Steve,
I am recompiling as we speak in another console. That's a great tip! I'll
let you know how it works.
On Thu, 6 May 2004, Steve Holmes wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Actually, I compiled flite with the following options:
> ./configure --enable-shared --with-vox=cmu_us_kal16
>
> It's the kal16 thingy which got me the better voice. I recall reading
> about this other voice in the flite docs some place. When I type
> flite "testing 1 2 3" it sounds a lot clear and better sounding than
> the default voice.
>
> On Thu, May 06, 2004 at 04:52:54PM -0400, Richard Wells wrote:
> > Hello,
> >
> > Where can I download 16 bit voices for Flite? I got Flite 1.2 and Eflite
> > 0.3.8 or something like that as tar balls from their site and compiled
> > them, but I only have the crappy 8 bit male voice.
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> >
>
> - --
> HolmesGrown Solutions
> The best solutions for the best price!
> http://ld.net/?holmesgrown
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQFAmrNLWSjv55S0LfERAtTaAKC/DjP+L7q4B16gutQsQ0Kbq3DG6QCeOrN1
> fqZrF9Q2Gl1UTRUjliZ8HcY=
> =s7uW
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: speakup and cepstral?
` Cheryl Homiak
` speakup and Flite 16 Bit Voices Richard Wells
@ ` Steve Holmes
1 sibling, 0 replies; 27+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, May 06, 2004 at 03:02:54PM -0500, Cheryl Homiak wrote:
> Hmm, I wonder if you have to recompile speech-dispatcher and/or speechd_up
> now that you've changed flite. I'm just guessing; this isn't a suggestion
> based on concrete theory.
Actually, I made those changes to flite's default before installing
any of the speech dispatcher related stuff. Wonder if speech
dispatcher has such an option. Probably not since the --with-vox
option would flite specific.
In fact to hear something wild, I had speakup running with the current
default voice and then I started up emacspeak and it comes up with
eflite and it's better voice. Guess what, they both talked at the
same time! kinda funny don't ya think:).
- --
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAmrR3WSjv55S0LfERAuxnAJ9uv3k9Y1qsRUPi0bsuikTiZjaImACZAd4m
jfJcgFPFVXJmD8OQKpdbqTM=
=eRgF
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: speakup and cepstral?
` speakup and cepstral? Steve Holmes
` Cheryl Homiak
@ ` nick G
` Steve Holmes
` Flite and different voices (was: Re: speakup and cepstral?) Hynek Hanke
` speakup and cepstral? Garrett Klein
3 siblings, 1 reply; 27+ messages in thread
From: nick G @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Not as an answer to your querie, but is Flite any more responsive than
Festival? Like as responsive ad Eloquence?
Thanks,
Nick
----- Original Message -----
From: "Steve Holmes" <steve@holmesgrown.com>
To: <speakup@braille.uwo.ca>
Sent: Thursday, May 06, 2004 2:12 PM
Subject: Re: speakup and cepstral?
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> This isn't quite related to Cepstral but I would like to get Speech
> Dispatcher to use a different voice inside of flite. I compiled flite
> with a default of the cmu-us-en-kal16 voice instead of the 8-bit
> version. Frankly, it sounds much better. When I test flite from the
> command line, it does indeed speak with this voice. However when I do
> spd-say from the command line, it uses the original default voice
> <yuck>. How can I change speech dispatcher to use the other voice? I
> didn't see anything obvious in the speechd.conf and related conf
> files.
>
> - --
> HolmesGrown Solutions
> The best solutions for the best price!
> http://ld.net/?holmesgrown
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQFAmoACWSjv55S0LfERAlUAAKDY8/lmk30hJPe1QHq/OP59E57VIACg9MEV
> m1B0Ry0knZpWudGMSnRNLGw=
> =4CGM
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: speakup and cepstral?
` nick G
@ ` Steve Holmes
0 siblings, 0 replies; 27+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I don't know. I never installed Festival and the flite developers go
on about how festival is such a hog in comparison with flite so your
guess is as good as mine. I would think based on what I've read so
far Flite takes up a lot less resources and is probably easier to
install. I had a bare of a time originally compiling flite but I'm
past that now since I was shown how I could temperarily bump up my
swap size:). I now have a Slackware style binary package I can use
from here on out unless they come with something newer.
It actually responds pretty well on my P200 machine at home but it is
quite a bit more mushy or sluggish on my P120 laptop but it works.
Haven't tried Dectalk yet.
On Thu, May 06, 2004 at 04:58:59PM -0400, nick G wrote:
> Not as an answer to your querie, but is Flite any more responsive than
> Festival? Like as responsive ad Eloquence?
> Thanks,
> Nick
> ----- Original Message -----
> From: "Steve Holmes" <steve@holmesgrown.com>
> To: <speakup@braille.uwo.ca>
> Sent: Thursday, May 06, 2004 2:12 PM
> Subject: Re: speakup and cepstral?
>
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > This isn't quite related to Cepstral but I would like to get Speech
> > Dispatcher to use a different voice inside of flite. I compiled flite
> > with a default of the cmu-us-en-kal16 voice instead of the 8-bit
> > version. Frankly, it sounds much better. When I test flite from the
> > command line, it does indeed speak with this voice. However when I do
> > spd-say from the command line, it uses the original default voice
> > <yuck>. How can I change speech dispatcher to use the other voice? I
> > didn't see anything obvious in the speechd.conf and related conf
> > files.
> >
> > - --
> > HolmesGrown Solutions
> > The best solutions for the best price!
> > http://ld.net/?holmesgrown
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.3 (GNU/Linux)
> >
> > iD8DBQFAmoACWSjv55S0LfERAlUAAKDY8/lmk30hJPe1QHq/OP59E57VIACg9MEV
> > m1B0Ry0knZpWudGMSnRNLGw=
> > =4CGM
> > -----END PGP SIGNATURE-----
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
- --
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAmrXpWSjv55S0LfERAv2/AJ9pHoTMUUCWGK9Z0kfCP6VeiDDy8gCgmhhx
63xkajIuNR3bwkLvU4kDNAc=
=bj2g
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 27+ messages in thread
* Flite and different voices (was: Re: speakup and cepstral?)
` speakup and cepstral? Steve Holmes
` Cheryl Homiak
` nick G
@ ` Hynek Hanke
` Flite and different voices Steve Holmes
` speakup and cepstral? Garrett Klein
3 siblings, 1 reply; 27+ messages in thread
From: Hynek Hanke @ UTC (permalink / raw)
To: speakup
On Thu, May 06, 2004 at 11:12:29AM -0700, Steve Holmes wrote:
> This isn't quite related to Cepstral but I would like to get Speech
> Dispatcher to use a different voice inside of flite.
Hi Steve,
please try to allways post different things under different subjects.
You then have a higher chance that I (or someone other) will response
early because it's nicely organized in our email archives and we know what
we are talking about. It's distracting to read in the email about things
unrelated to the subject and trying to remember what we are talking about.
I tend to remember mailing list threads by subject. Also, it's easier to
search for the history of a given problem.
> I compiled flite with a default of the cmu-us-en-kal16 voice instead of the 8-bit
> version. Frankly, it sounds much better. When I test flite from the
> command line, it does indeed speak with this voice.
This is a bit of problem with Flite, because in the module I have to call
different C functions for different voices. As I wasn't aware there are more
than one voice and it seemed there won't be any in near future, I hardcoded
here only the one that came with my distribution of Flite.
I'm interested in where can I get kal16 for Flite?
It seems I'll have to somehow make this configurable if there are more voices
for Flite now. As it is now, you have to edit the source code. If you want
to play around with it a little bit, it's src/modules/flite.c in you Speech
Dispatcher source directory, some line around l.95. Now it reads:
flite_voice = register_cmu_us_kal();
and you would probably want to change it to
flite_voice = register_cmu_us_kal_16();
or something like that. Then recompile and make install. I don't know
the exact function name, maybe you could ask the Festival guys about
it and write us back. This kind of help is always appreciated.
Best Regards,
Hynek Hanke
http://www.freebsoft.org
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: Flite and different voices
` Flite and different voices (was: Re: speakup and cepstral?) Hynek Hanke
@ ` Steve Holmes
` Cheryl Homiak
` (2 more replies)
0 siblings, 3 replies; 27+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yes! That should do it. In the flite sources, there is as a default
two voices: the cmu_us_kal that you are using and cmu_us_kal16 for the
16-bit voice. I will try changing this and see what the dispatcher
will sound like. The next easiest thing might perhaps be to add a
configure option that one could use to select flite voice but that
would still be a compile time option.
My version of flite is 1.2-release from the usual site at CMU and that
includes the kal16 voice. I'm under the impression one could hook in
the new Cepstral voices into flite as well; not sure though.
On Fri, May 07, 2004 at 12:44:33AM +0200, Hynek Hanke wrote:
> This is a bit of problem with Flite, because in the module I have to call
> different C functions for different voices. As I wasn't aware there are more
> than one voice and it seemed there won't be any in near future, I hardcoded
> here only the one that came with my distribution of Flite.
>
> I'm interested in where can I get kal16 for Flite?
>
> It seems I'll have to somehow make this configurable if there are more voices
> for Flite now. As it is now, you have to edit the source code. If you want
> to play around with it a little bit, it's src/modules/flite.c in you Speech
> Dispatcher source directory, some line around l.95. Now it reads:
> flite_voice = register_cmu_us_kal();
> and you would probably want to change it to
> flite_voice = register_cmu_us_kal_16();
> or something like that. Then recompile and make install. I don't know
> the exact function name, maybe you could ask the Festival guys about
> it and write us back. This kind of help is always appreciated.
>
> Best Regards,
> Hynek Hanke
- --
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAmyVVWSjv55S0LfERAtgeAKC+RLdZp+VXFT0Zq+DX955mfvXDzwCfTDzH
KHAQdUXZ6QBLWKsliXRFfKM=
=kquT
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: Flite and different voices
` Flite and different voices Steve Holmes
@ ` Cheryl Homiak
` Steve Holmes
` Steve Holmes
2 siblings, 0 replies; 27+ messages in thread
From: Cheryl Homiak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Yes, I have the impression you could use cepstral voices with flite also,
though I'm not sure. I have Frank and Emily; I think frank is probably the
best of the two but that may be oppinion. And they will very soon have
foreign language voices for sale on the website for sale so that broadens
your options even further.
--
Cheryl
"Where your treasure is, there will your heart be also."
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: Flite and different voices
` Flite and different voices Steve Holmes
` Cheryl Homiak
@ ` Steve Holmes
` Jacob Schmude
` Hynek Hanke
` Steve Holmes
2 siblings, 2 replies; 27+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Well, I tried the suggested coding changes to include 16 bit voices
and I got the same unresolved references at link time that Chuck
reported recently. Now I started digging around in flite.c in the
src/modules directory and found two other code references containing
'kal' so I changed them to kal16 but I still got the same unresolved
errors. I then looked more in the flite source to see if I could find
anything and I came across an interesting file in the cmu_us_kal16
directory. It is called voxdefs.h. In there, it mentions kal but not
kal16 for the defined register functions. So I went back into
speech-dispatcher's source and changed flite.c back to 'kal' all
around and looked at the Makefile in the modules directory. It linked
to -lcmu_us_kal so I changed it to -lcum_us_kal16. You see, flite
builds complete static and shared libraries for each voice it
compiles.
Alas, after doing all that, I still get the shitty 8-bit voice! I've
run out of ideas at the moment.
- --
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAm69iWSjv55S0LfERAuk8AKC0jDx552f0o7mHtY70CGn0NYRyIwCgrRTM
7uuOIJ2MgFHt0l5zovpF1VE=
=f9h4
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: Flite and different voices
` Steve Holmes
@ ` Jacob Schmude
` Hynek Hanke
1 sibling, 0 replies; 27+ messages in thread
From: Jacob Schmude @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hi
Well, actually... there is a very ugly way to get speech
dispatcher to use the kal16 voice. It works, but is by no means anywhere
near the best way to accomplish it. What you have to do is move the 8K
voices out of the way, to somewhere that isn't in your linker path. Then,
symlink all the 8K filenames to their 16K equivalents. Since they use the
exact same functions and symbols, speech dispatcher doesn't know the
difference, and you get the 16K voices. Again, this is a very ugly
and ineligant way to do this, but if you're desperate for flite's 16K
voices, it does work.
HTH
On Fri, 7 May 2004, Steve Holmes wrote:
> Alas, after doing all that, I still get the shitty 8-bit voice! I've
> run out of ideas at the moment.
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: Flite and different voices
` Steve Holmes
` Jacob Schmude
@ ` Hynek Hanke
1 sibling, 0 replies; 27+ messages in thread
From: Hynek Hanke @ UTC (permalink / raw)
To: speakup
On Fri, May 07, 2004 at 08:46:46AM -0700, Steve Holmes wrote:
> Alas, after doing all that, I still get the shitty 8-bit voice! I've
> run out of ideas at the moment.
Are you sure that the module Speech Dispatcher uses for flite is your
newly compiled module? Doesn't it still use the old one? The changes
you made sound reasonable to me.
When experimenting with this, you might want to consider running
the module directly for test purposes.
The binary is usually build in
src/modules/.libs/
or you can use the libtool script
src/modules/
in the source directory of speechd.
You can run the module standalone with the configuration file like this:
./sd_flite 1
/usr/local/etc/speech-dispatcher/modules/flite.conf or similar. The
'1' is not important here, it doesn't do anything. The module makes
logs and everything as usually but instead of Speech Dispatcher
comunicating to it on stdin, you type the commands.
So after you execute it, type
SPEAK[ENTER]
Hello, is this the new voice?[ENTER]
.[ENTER]
and it should say it. This is useful when you don't want to install
everything after each experiment in flite.c or other modules.
With Regards,
Hynek Hanke
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: Flite and different voices
` Flite and different voices Steve Holmes
` Cheryl Homiak
` Steve Holmes
@ ` Steve Holmes
` Hynek Hanke
2 siblings, 1 reply; 27+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I just got around to looking further into trying the sd_flite module
both in my /usr/local/bin directory and in the original source. I ran
./sd_flite and still go the old 8-bit voice. I'm about to try Jacob's
suggestion as ugly as it is. It sure isn't the final solution by any
means but makes a fair bandage.
- --
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAno6qWSjv55S0LfERAoblAJ9MLUUggMKp6WTCJiLXS5JdggWyxQCfa4yw
D0yeiR98S52V7Jg4kWkLy7I=
=nVA6
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: Flite and different voices
` Steve Holmes
@ ` Hynek Hanke
` Steve Holmes
0 siblings, 1 reply; 27+ messages in thread
From: Hynek Hanke @ UTC (permalink / raw)
To: speakup
On Sun, May 09, 2004 at 01:04:04PM -0700, Steve Holmes wrote:
> I just got around to looking further into trying the sd_flite module
> both in my /usr/local/bin directory and in the original source. I ran
> ./sd_flite and still go the old 8-bit voice.
I'm sorry for this, I should have noticed this earlier. Although you
change the library to link in the local Makefile, the cmu_us_kal still
gets there in a $(LIBS) variable from the global configure.in. If you
change it also in speechd/configure.in to link cmu_us_kal16 instead of
cmu_us_kal, do a make distclean and then compile everything from
scratch (./build.sh, ./configure, make, make install), you should get
the better voice.
Still, this is only an ugly solution. I'll try to somehow make it
switch voices at runtime in the future, although Flite is absolutely
not designed for such things. As for now, I guess I'll only add a
compile-time option to the ./configure script for the 0.4 release
which should be available by the end of this month.
With Regards,
Hynek
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: Flite and different voices
` Hynek Hanke
@ ` Steve Holmes
` nick G
0 siblings, 1 reply; 27+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, May 09, 2004 at 11:12:02PM +0200, Hynek Hanke wrote:
> I'm sorry for this, I should have noticed this earlier. Although you
> change the library to link in the local Makefile, the cmu_us_kal still
> gets there in a $(LIBS) variable from the global configure.in. If you
> change it also in speechd/configure.in to link cmu_us_kal16 instead of
> cmu_us_kal, do a make distclean and then compile everything from
> scratch (./build.sh, ./configure, make, make install), you should get
> the better voice.
Indeed it is the better voice now, thanks. Note that I changed a
variable in configure.in that was not LIBS; I forget the name now but
it was the first reference to cmu_us_kal. You don't want to change
the reg_kal... I also had to change the LDFLAGS in the
speechd/modules/Makefile to -lcmu_us_kal16 also. The LIBS variable in
this Make file was changed due to the forgoing change in configure.in.
> Still, this is only an ugly solution. I'll try to somehow make it
> switch voices at runtime in the future, although Flite is absolutely
> not designed for such things. As for now, I guess I'll only add a
> compile-time option to the ./configure script for the 0.4 release
> which should be available by the end of this month.
Yes the configure options is a good start.
- --
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAoqisWSjv55S0LfERAnhnAKCLZxR08FbfgBkfpGKUZDQ3w+62TQCgymuI
Mvh5R5izQItBShne9ZkzPaI=
=9Z0T
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: Flite and different voices
` Steve Holmes
@ ` nick G
0 siblings, 0 replies; 27+ messages in thread
From: nick G @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
I have Flite installed, just wondering, is there a Gnome speech driver?
Thanks,
Nick
----- Original Message -----
From: "Steve Holmes" <steve@holmesgrown.com>
To: <speakup@braille.uwo.ca>
Sent: Wednesday, May 12, 2004 6:43 PM
Subject: Re: Flite and different voices
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sun, May 09, 2004 at 11:12:02PM +0200, Hynek Hanke wrote:
> > I'm sorry for this, I should have noticed this earlier. Although you
> > change the library to link in the local Makefile, the cmu_us_kal still
> > gets there in a $(LIBS) variable from the global configure.in. If you
> > change it also in speechd/configure.in to link cmu_us_kal16 instead of
> > cmu_us_kal, do a make distclean and then compile everything from
> > scratch (./build.sh, ./configure, make, make install), you should get
> > the better voice.
>
> Indeed it is the better voice now, thanks. Note that I changed a
> variable in configure.in that was not LIBS; I forget the name now but
> it was the first reference to cmu_us_kal. You don't want to change
> the reg_kal... I also had to change the LDFLAGS in the
> speechd/modules/Makefile to -lcmu_us_kal16 also. The LIBS variable in
> this Make file was changed due to the forgoing change in configure.in.
>
> > Still, this is only an ugly solution. I'll try to somehow make it
> > switch voices at runtime in the future, although Flite is absolutely
> > not designed for such things. As for now, I guess I'll only add a
> > compile-time option to the ./configure script for the 0.4 release
> > which should be available by the end of this month.
>
> Yes the configure options is a good start.
>
> - --
> HolmesGrown Solutions
> The best solutions for the best price!
> http://ld.net/?holmesgrown
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQFAoqisWSjv55S0LfERAnhnAKCLZxR08FbfgBkfpGKUZDQ3w+62TQCgymuI
> Mvh5R5izQItBShne9ZkzPaI=
> =9Z0T
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: speakup and cepstral?
` speakup and cepstral? Steve Holmes
` (2 preceding siblings ...)
` Flite and different voices (was: Re: speakup and cepstral?) Hynek Hanke
@ ` Garrett Klein
` Chuck Hallenbeck
3 siblings, 1 reply; 27+ messages in thread
From: Garrett Klein @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
How do I get the 16-bit voice compiled into Flite? Would I use
something like: ./configure --with-vox=lang/cmu_us_kal16/cmu_us_kal.c?
Thx.
Garrett
On Thu, May 06, 2004 at 11:12:29AM -0700, Steve Holmes wrote:
> This isn't quite related to Cepstral but I would like to get Speech
> Dispatcher to use a different voice inside of flite. I compiled flite
> with a default of the cmu-us-en-kal16 voice instead of the 8-bit
> version. Frankly, it sounds much better. When I test flite from the
> command line, it does indeed speak with this voice. However when I do
> spd-say from the command line, it uses the original default voice
> <yuck>. How can I change speech dispatcher to use the other voice? I
> didn't see anything obvious in the speechd.conf and related conf
> files.
>
> --
> HolmesGrown Solutions
> The best solutions for the best price!
> http://ld.net/?holmesgrown
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: speakup and cepstral?
` speakup and cepstral? Garrett Klein
@ ` Chuck Hallenbeck
0 siblings, 0 replies; 27+ messages in thread
From: Chuck Hallenbeck @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Garrett,
When you configure flite for the 16 bit voice, use these two
options:
./configure --enable-shared --with-vox=cmu_us_kal16
then do "make" and "make install".
But that will not be enough to persuade speech-dispatcher to use
the better voice. I too am anxious to get that last step done.
Dectalk is pleasant to listen to, but it is too damn smart to use
for a screen reader, taking annoying liberties with things.
Chuck
On Fri, 7 May 2004, Garrett Klein wrote:
> How do I get the 16-bit voice compiled into Flite? Would I use
> something like: ./configure --with-vox=lang/cmu_us_kal16/cmu_us_kal.c?
> Thx.
>
> Garrett
>
> On Thu, May 06, 2004 at 11:12:29AM -0700, Steve Holmes wrote:
> > This isn't quite related to Cepstral but I would like to get Speech
> > Dispatcher to use a different voice inside of flite. I compiled flite
> > with a default of the cmu-us-en-kal16 voice instead of the 8-bit
> > version. Frankly, it sounds much better. When I test flite from the
> > command line, it does indeed speak with this voice. However when I do
> > spd-say from the command line, it uses the original default voice
> > <yuck>. How can I change speech dispatcher to use the other voice? I
> > didn't see anything obvious in the speechd.conf and related conf
> > files.
> >
> > --
> > HolmesGrown Solutions
> > The best solutions for the best price!
> > http://ld.net/?holmesgrown
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
- --
The Moon is Waning Gibbous (82% of Full)
My home page is now at http://www.mhcable.com/~chuckh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iQCVAwUBQJzFpTVdG8M9x9tGAQLm4gQAphn6xSsOB5n4sFS1x2VHP1ma1Yw2xPdL
QsBKfTaG8e4am2eSSHv4N54AIMbcXT4N4Y2UBRa5Ij5M2GQYOmH/LPyqv9Y/9J4s
xD+Vk8t4uHHkwCqO1hDTKuCPjnQK1cWvQIbkGlVgwwXj28r8TFhwQnhqNJRqlMr/
/6SWTMImpB4=
=i1ed
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 27+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
speakup and cepstral? (fwd) Cheryl Homiak
` Cheryl Homiak
` Hynek Hanke
` speakup and cepstral? Steve Holmes
` Cheryl Homiak
` Cheryl Homiak
` Cheryl Homiak
` Steve Holmes
` Cheryl Homiak
` speakup and Flite 16 Bit Voices Richard Wells
` Steve Holmes
` Richard Wells
` speakup and cepstral? Steve Holmes
` nick G
` Steve Holmes
` Flite and different voices (was: Re: speakup and cepstral?) Hynek Hanke
` Flite and different voices Steve Holmes
` Cheryl Homiak
` Steve Holmes
` Jacob Schmude
` Hynek Hanke
` Steve Holmes
` Hynek Hanke
` Steve Holmes
` nick G
` speakup and cepstral? Garrett Klein
` Chuck Hallenbeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).