* Speakup and locales
@ Hermann
` William Hubbs
0 siblings, 1 reply; 7+ messages in thread
From: Hermann @ UTC (permalink / raw)
To: speakup
Hi,
after a while I reactivated Speakup on my GRML system - version 2008-11.
The reason was that I've discovered Espeakup, which makes it possible to
use Speakup with Espeak without a server such as Speech-dispatcher.
Doing this I had some trouble in setting up Speakup/Espeakup/espeak to
speak my language - German - correctly.
It ends up in adjusting /sys/module/speakup/parameters/characters, so
that all letters, numbers and punctuation characters are spoken in a
usual German way.
In addition I had to rebuild Espeakup from GIT in order to use the
latest option --default-voice to start Espeakup/Espeak with the right
synth.
So I came upon the question whether it is possible to let Speakup detect
the locale in use, and provide the correct characters table, and pass the
appropriate synth options to Speakup?
While searching the web, I found on a Gentoo repo a version of Speakup
(3.03 I think), which makes it possible to install Speakup without
touching the kernel modules. This suggests a kind of software solution
that can make Speakup more flexible. If this is true, it should be
possible to let Speakup detect the locale and start with the correct
parameters.
Or am i completely wrong?
Hermann
--
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Speakup and locales
Speakup and locales Hermann
@ ` William Hubbs
` Hermann
0 siblings, 1 reply; 7+ messages in thread
From: William Hubbs @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Hermann,
On Thu, May 28, 2009 at 04:44:18PM +0200, Hermann wrote:
> Hi,
> after a while I reactivated Speakup on my GRML system - version 2008-11.
> The reason was that I've discovered Espeakup, which makes it possible to
> use Speakup with Espeak without a server such as Speech-dispatcher.
> Doing this I had some trouble in setting up Speakup/Espeakup/espeak to
> speak my language - German - correctly.
> It ends up in adjusting /sys/module/speakup/parameters/characters, so
> that all letters, numbers and punctuation characters are spoken in a
> usual German way.
Actually, there is an easier way to do this. As root, do the following:
echo 1 > /sys/module/speakup/parameters/direct
This will allow espeak to handle character pronunciation instead of
speakup. This feature is still in its early stages, so let us know if
you have issues with it.
Thanks,
William
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
iEUEARECAAYFAkoeuoYACgkQblQW9DDEZTiNlwCY0Y0vYwEIApbHKLRmIVeQqJT5
ygCgm36PJVNH7DpdZ+48SjpvcPEbcjo=
=BR3D
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Speakup and locales
` William Hubbs
@ ` Hermann
` William Hubbs
0 siblings, 1 reply; 7+ messages in thread
From: Hermann @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hi,
On 28.05.2009 18:23, William Hubbs wrote:
[...]
>> Doing this I had some trouble in setting up Speakup/Espeakup/espeak to
>> speak my language - German - correctly.
>> It ends up in adjusting /sys/module/speakup/parameters/characters, so
>> that all letters, numbers and punctuation characters are spoken in a
>> usual German way.
>
> Actually, there is an easier way to do this. As root, do the following:
>
> echo 1> /sys/module/speakup/parameters/direct
>
> This will allow espeak to handle character pronunciation instead of
> speakup. This feature is still in its early stages, so let us know if
> you have issues with it.
>
I saw this on an earlier message by you on this list and tried it
without success:
I get the message: "No such file or directory".
What does this command do? I guess it creates a file?
Hermann
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Speakup and locales
` Hermann
@ ` William Hubbs
` Hermann
` Hermann
0 siblings, 2 replies; 7+ messages in thread
From: William Hubbs @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Hermann,
On Thu, May 28, 2009 at 09:27:45PM +0200, Hermann wrote:
>> Actually, there is an easier way to do this. As root, do the following:
>>
>> echo 1> /sys/module/speakup/parameters/direct
>>
>> This will allow espeak to handle character pronunciation instead of
>> speakup. This feature is still in its early stages, so let us know if
>> you have issues with it.
>>
> I saw this on an earlier message by you on this list and tried it without
> success:
> I get the message: "No such file or directory".
> What does this command do? I guess it creates a file?
No, there should be a file there by that name, and it sets a value in
that file.
Try this as root:
cat /sys/module/speakup/parameters/direct
The output should be 0 or 1.
Also, get the output of this command:
cat /sys/module/speakup/parameters/version
and let us know what that output is.
Thanks,
William
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
iEYEARECAAYFAkoe7W4ACgkQblQW9DDEZTiu2gCeOYaHy4RLxs7NDWYIzy2X6cS5
QSAAoJPPmkO5rlWwpcuw81i9ER07mL7v
=bvCG
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Speakup and locales
` William Hubbs
@ ` Hermann
` Hermann
1 sibling, 0 replies; 7+ messages in thread
From: Hermann @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
am Do 28. Mai 2009 um 22:04:07 schrieb William Hubbs <w.d.hubbs@gmail.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Hermann,
>
> On Thu, May 28, 2009 at 09:27:45PM +0200, Hermann wrote:
> >> Actually, there is an easier way to do this. As root, do the following:
> >>
> >> echo 1> /sys/module/speakup/parameters/direct
> >>
> >> This will allow espeak to handle character pronunciation instead of
> >> speakup. This feature is still in its early stages, so let us know if
> >> you have issues with it.
> >>
> > I saw this on an earlier message by you on this list and tried it without
> > success:
> > I get the message: "No such file or directory".
> > What does this command do? I guess it creates a file?
>
> No, there should be a file there by that name, and it sets a value in
> that file.
>
> Try this as root:
>
> cat /sys/module/speakup/parameters/direct
>
> The output should be 0 or 1.
>
Neither nor: "No such file or directory".
It seems as if I have no permission accessing this directory; but I'm root.
I created the file in my root's directory and tried to move it, same
result.
Note: I tried this with a GRML 2009-05-RC1 CD, and it works besides the
fact that the umlauts and most of the punct chars are not spoken at all.
However the Espeakup version is still 0.4 on this distro.
> Also, get the output of this command:
>
> cat /sys/module/speakup/parameters/version
>
> and let us know what that output is.
>
Speakup version 3.0.3
soft synthesizer driver version 2.4
Hermann
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Speakup and locales
` William Hubbs
` Hermann
@ ` Hermann
` Kerry Hoath
1 sibling, 1 reply; 7+ messages in thread
From: Hermann @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
On 28.05.2009 at 22:00:47 William Hubbs <w.d.hubbs@gmail.com> wrote:
> Hi Hermann,
>
> On Thu, May 28, 2009 at 09:27:45PM +0200, Hermann wrote:
>>> Actually, there is an easier way to do this. As root, do the following:
>>>
>>> echo 1> /sys/module/speakup/parameters/direct
>>>
I cannot add files to the /sys folder in general.
So I checked the mount options in /etc/fstab; here's what I found:
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
Are these options set correctly?
I can replace existing files, but not create new ones. I guess it must
have to do with that "noexec" option.
Hermann
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Speakup and locales
` Hermann
@ ` Kerry Hoath
0 siblings, 0 replies; 7+ messages in thread
From: Kerry Hoath @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
the /sys file system is exported by the kernel as is /proc
kernel interfaces cause files to be created in this file system to which you
can read and write.
You are not meant to create files in this directory yourself; only read and
write values to them.
If a file does not exist then the version of speakup is too old to have the
direct function.
files that exist in /sys/speakup allow you to change speakup's behaviour if
you write values into certain files.
If the file does not exist then the feature is not present in the kernel you
currently run.
Regards, Kerry.
----- Original Message -----
From: "Hermann" <meinelisten@onlinehome.de>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Friday, May 29, 2009 5:42 PM
Subject: Re: Speakup and locales
On 28.05.2009 at 22:00:47 William Hubbs <w.d.hubbs@gmail.com> wrote:
> Hi Hermann,
>
> On Thu, May 28, 2009 at 09:27:45PM +0200, Hermann wrote:
>>> Actually, there is an easier way to do this. As root, do the following:
>>>
>>> echo 1> /sys/module/speakup/parameters/direct
>>>
I cannot add files to the /sys folder in general.
So I checked the mount options in /etc/fstab; here's what I found:
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
Are these options set correctly?
I can replace existing files, but not create new ones. I guess it must
have to do with that "noexec" option.
Hermann
_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
Speakup and locales Hermann
` William Hubbs
` Hermann
` William Hubbs
` Hermann
` Hermann
` Kerry Hoath
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).