Emacspeak on Android
by Tim Makarios
Hi,
I've been trying to get Emacspeak working on my mobile phone, which is
running LineageOS 17.1 (based on Android 10). So far, I've tried a couple
of things, but neither has quite worked.
First, I tried installing Emacspeak on debian-buster from proot-distro in
Termux. Unfortunately, it's silent, and running espeak on its own results
in a long list of errors, starting with
> ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
so I guess Termux's proot-distro isn't giving Debian access to the audio.
For another attempt, I tried building Emacspeak directly in Termux. This
required building TclX, too, which seemed to work, but when I tried running
`./servers/espeak` it gave these errors
> couldn't load file
> "/data/data/com.termux/files/usr/lib/tclx8.4/libtclx8.4.so": dlopen
> failed: cannot locate symbol "rresvport" referenced by
> "/data/data/com.termux/files/usr/lib/tclx8.4/libtclx8.4.so"...
> while executing
> "load /data/data/com.termux/files/usr/lib/tclx8.4/libtclx8.4.so Tclx"
> ("package ifneeded Tclx 8.4" script)
> invoked from within
> "package require Tclx"
> (file "./servers/espeak" line 37)
so I guess TclX relies on rresvport, whatever that is, and Termux doesn't
provide it.
Does anyone have any clues about how I might be able to get Emacspeak
running on my phone?
Thanks,
Tim
<><
12 months
Latest espeak-ng from master is silent with emacspeak, but works with speech-dispatcher
by Zahari Yurukov
Hi,
I'm using the latest emacs from master, as well as the latest emacspeak from master. Fedora 33 with the latest updates.
I compiled the latest espeak-ng from master with sonic support enabled. It works fine with Orca via speech-dispatcher, but emacspeak is silent without giving any errors.
Until that the espeak-ng package from Fedora's repositories worked fine with emacspeak. I've priviously have used espeak-ng compiled by myself with the exact same configuration without any problem with emacspeak.
Emacspeak's Auditory Icons do work. I've tried the following from a separate console and I can hear espeak-ng:
speak-ng -s 1000 --stdout hello |play -
I recompiled the eemacspeak's espeak module with :
make -B espeak
Can you reproduce this? Do you have any clue where the problem could be.
--
Best wishes,
Zahari
1 year, 5 months
Scheduled Server maintenance 22:30 UTC Monday Aug. 2 - 00:00 UTC Tuesday Aug. 3
by Greg Priest-Dorman
Hi Folks,
At 22:30 UTC Monday Aug. 2, 2021 we will be doing an update and reboot of
the emacspeak.org server. It is routine maintenance. I expect no issues.
The system has been up for over 6 months, it's time for an updated kernel
image and reboot. Both www.emacspeak.org and mail.emacspeak.org will be
affected at this time as they are currently two different names for the
same machine.
Any messages yet to be delivered by the server or any messages coming into
the server will simply queue up and get dealt with after the reboot. No
incoming or outgoing messages will be lost by a mail server reboot.
The only way this might cause you to loose a message is if you compose your
list message using the hyperkitty mail archive interface at
mail.emacspeak.org and are doing that when we reboot. I don't know if
anyone uses that feature. But if you are in the habit of using it, avoid
it then. Try to be done by 22:00 UTC Monday and you'll be fine.
I will send out a note when everything is up again.
Greg
-
Greg Priest-Dorman
1 year, 8 months
Re: Introducing myself and a request
by Tim Cross
Cisco Tissera <audiogamer2004(a)gmail.com> writes:
> Hello Tim and all,
>
> Thanks for the answer.
> I'll begin answering your questions one by one:
>
> Have you used Emacs before? Emacs is a bit different to most editors and can
> be a little daunting at first. Understanding what level of familiarity you
> have with the editor can help with deciding what level of detail/information
> you need.
>
> I haven't used Emacs before, no.
> I have heard that it is quite different from other editors around here, but that's one reason why I am so curious to try it out.
> I like how Emacs can be extended to include or exclude certain things.
OK. You will want to go through the Emacs tutorial at some point. As
emacs is an old editor, some of the terms used can be a little confusing
at first. This is partly due to the age of the editor and partly due to
certain terminology being hijacked and changed. For example, what other
systems call a window, emacs calls a frame and what emacs calls a window
is more similar to what other systems call a pane or tab or even buffer.
So a frame can have multiple windows and these windows will contain
buffers. You will also hear about key bindings (similar to shortcuts)
and many other unusual terms (like yank for copy). Thing is, persevere
and you will get there. You will find the key bindings (shortcuts) to be
a little strange, but avoid the temptation to change them initially.
There is actually a lot of logic and consistency in them once you get to
know them. One thing great is that you can do everything just using the
keyboard - much faster than using a mouse.
> Are you running under a GUI (i.e. X or Wayland) or just running inside a
> Linux console. If a GUI, which window manager or desktop environment?
>
> I am using a GUI, gnome 40.
>
OK. Emacs can run either in GUI mode (with its own frames (windows) or
it can run inside a terminal emulator. I prefer to use it as a GUI.
> Are you using any other assistive technology, like Orca, speakup, etc?
>
> Yes, I am using Orca built from the master branch from Github.
>
OK, you will probably want to run Emacs in GUI mode. If you run int in
gnome terminal, you may run into conflicts between Emacspeak and Orca.
If you run it in GUI mode, you can have both Emacspeak and Orca running
at the same time.
> I have both pipewire and sox installed, although I just installed it after reading your email.
> I am using espeak-ng in conjunction with speech-dispatcher right now, and I just tried making the espeak engine, but I cannot find the directory, for
> unknown reasons.
> Furthermore, I added this line to the .emacs file i created myself in my home directory
> (load-file "/home/francisco/.cache/yay/emacspeak/src/emacspeak-54.0/lisp/emacspeak-setup.el")
> Did I do something stupid?
> Thanks for any answer.
> best regards.
> Francisco.
>
Emacspeak is one of those few programs which are far better run directly
from the git repository. I would uninstall any Emacspeak package you
have installed with yay or pacman. Instead, do the following
Check out the Emacspeak git repository into a directory in your home
directory e.g.
git clone https://github.com/tvraman/emacspeak .
Then change into the native-espeak directory with
cd emacspeak/servers/native-espeak
and run make to build the espeak shared library used by Emacspeak. You
will need the tcl and espeak development files. I'm not sure what the
convention is under Arch, but under Debian/Ubuntu, these are usually
called something like libespeak-dev and tcl8.6-dev or similar. If the
make runs without errors, you then need to verify the server works by
changing into the servers directory and running the command ./espeak.
You should here the espak server speak the version and then be left at a
tcl promp e.g. a %. You can then enter
q {Hello World} <enter>
d <enter>
and you should here the server speak "hello world". If this all works,
then you need to change into the root of the emacspeak repository and
run the following commands
make clean
make config
make
This will configure and build the emacspeak sources.
Then delete the .emacs file you created and create a directory within
your home directory called .emacs.d e.g.
mkdir ~/.emacs.d
then use a text editor of choice and create a file within that directory
called init.el I use vi for little tasks like this. The vi editor is a
handy editor to be familiar with because you will always find it
installed on a Linux system. However, it has an unusual modal editing
mode which can be confusing at first. Any text editor will work. Some
people like nano e.g.
vi ~/.emacs.d/init.el
In that file, add the following lines
(add-to-list 'load-path (expand-file-name "~/emacspeak/lisp"))
(setenv "DTK_PROGRAM" "espeak")
(setenv "EMACSPEAK_DIR" (expand-file-name "~/emacspeak")
(load-file (expand-file-name "~/emacspeak/lisp/emacspeak-setup.el"))
Save the file and then you should hear Emacspeak speaking when you start
emacs. There is a lot more you can configure and you will want to add
lots more to your init.el file, but to start with, this should be
sufficient.
> On Fri, Jul 23, 2021 at 12:32 AM Tim Cross via Emacspeak <emacspeak(a)emacspeak.org> wrote:
>
> Hi,
>
> Welcome to the list. I'll start with a couple of questions which might help
> provide more accurate information when you have more questions.
>
> 1 Have you used Emacs before? Emacs is a bit different to most editors and can
> be a little daunting at first. Understanding what level of familiarity you
> have with the editor can help with deciding what level of detail/information
> you need.
> 2 Are you running under a GUI (i.e. X or Wayland) or just running inside a
> Linux console. If a GUI, which window manager or desktop environment?
> 3 Are you using any other assistive technology, like Orca, speakup, etc?
>
> I"ll start by saying I have no experience with pipeWire, so what follows has a
> lot of guesswork and assumptions in it.
>
> The only part of Emacspeak which needs to know anything about the underlying
> audio infrastructure is the text-to-speech synthesizer and playing of auditory
> icons via some 'generic' play program, like sox or pulseAudio paplay or Alsa aplay
> programs. For the TTS synthesizer, if you can get espeak/espeak-ng to work, your
> 80% there. If you have some program on your system which can play *.wav files,
> then your 90% there - the rest will just be a little configuration tweaking.
>
> Of course, how well it works with pipeWire is another question. A lot will
> depend on the latency of the system. Early pulseAudio versions had some problems
> in this area, but I've been using it with Emacspeak now for years without any
> problems at all. As pipeWire is still fairly immature, you are likely to run
> into similar issues initially.
>
> Emacspeak relies on external programs for speech and playing of auditory icons.
> It doesn't really need to know about the underlying sound infrastructure.
> Provided you can get these external programs working, you have a good chance you
> will be able to get Emacspeak working. However, you may need to do some
> additional configuration - especially for auditory icons, in the sense of
> tweaking the variables in Emacspeak which control what programs and arguments
> are used to play the icons.
>
> Here is what I would do -
>
> 1 Verify you can use espeak from the command line. This is critical. If you cannot get espeak to work from a CLI, you are sunk.
> 2 If espeak works from the command line, you next need to verify you can build
> the espeak TCL interface library in servers/native-espeak by switching into
> that directory and running make. This assumes you have all the necessary
> dependencies installed. The default setup of the Makefile is configured to
> work well under Debian/Ubuntu and may need a little tweaking for Arch. The
> main problem people run into here is not having the necessary build
> dependencies installed or in the paths searched when compiling - this
> includes the espeak dev libraries and the Tcl dev libraries.
> 3 If you are able to successfully build the espeak server, you then need to
> verify it is working by changing into the servers directory and running
> ./espeak. You should here the server speak, saying that it is running and
> be left at a Tcl prompt where you can enter some commands to queue some text
> to speak and then speak it. You can queue some text for speaking by doing q {Hello world} [enter] and then d [enter] and you should
> here the speech
> "Hello world".
>
> If you get to this point, you have a mostly working Eaacspeak setup. The
> next thing you will need to do is set various variables to play auditory icons.
> Personally, I just use the sox program to do this. However, both alsa and pulse
> audio have CLI programs to play basic *.wav files. I expect pipeWire probably
> has something equivalent - you will just need to configure Emacspeak to use it.
> Note that Emacspeak works fine without auditory icons - they are an optional
> enhancement which provide some valuable feedback, but are not essential.
>
> Good luck!
>
> Regards,
>
> Tim
>
> –
> Tim Cross
>
> For gor sake stop laughing, this is serious!
>
> From: Cisco Tissera via Emacspeak
> Subject: [Emacspeak] Introducing myself and a request
> To: emacspeak(a)emacspeak.org
> Date: Fri, 23 Jul 2021 06:29:03 +1000
>
> Hello everyone,
>
> My name is Francisco, and I am a highschool student who started getting into Linux a few months ago.
> I started with Arch, switched to Ubuntu, Fedora, and then returned to Arch Linux.
> I would like to get up and running with emacspeak so I can see what it can and can't do, and see if it suits my needs, however, I cannot, and
> here is why: I am using pipewire on arch linux as of now.
> When I wrote on the blinux mailing list, linux for blind, I got told that sadly emacspeak does not work with pipewire yet.
> <I do not have any intention of removing pipewire and installing pulseaudio, because that would disrupt my workflow for far too long.
> As of now I am using arch linux with gnome 40 and orca master.
> Now, after all that has been said, I'd like to ask if anything could be done about emacspeak to make it work with pipewire.
> I have no coding knowledge so I won't be able to help in the development, if any will be done, but I will surely test out the git package in the
> aUR or whatever if you so ask of me.
> Best regards.
> Francisco.
> _______________________________________________
> Emacspeak mailing list -- emacspeak(a)emacspeak.org
> To unsubscribe send an email to emacspeak-leave(a)emacspeak.org
1 year, 8 months
Saving settings after customizing them
by Tom Moore
Hi all,
What is the best way to save my Emacspeak settings after I have customized
the punctuation level, speaking rate etc so that they will load as I left
them when I exited?
Thanks,
Tom
1 year, 8 months
question regarding specific types of software for emacs
by Niklas Rittinghaus
Hi all,
i am new to emacs and would like to know some Things:
- Are there other games wich blind People can use available for emacs other than the games it Comes with?
- I am a musician and would like to know if there is Music Software available for emacs wich we can use. Maybe even something you can recommend?
Thank you in Advance for your help. I think I ask here since most of you know emacs well. It can be even programs wich I can get in the, let’s say, appstores of emacs. I simply want to know if, and if yes, what emacs offers even aside from the Software it already Comes with.
Best regards
Niklas
Gesendet von Mail für Windows 10
1 year, 8 months
Re: Introducing myself and a request
by Tim Cross
Cisco Tissera <audiogamer2004(a)gmail.com> writes:
> I came to the point where I cloned emacspeak from github as you recommended, and I ran
> make
> to make the espeak engine in the directory you gave me.
> Now the problem arises when I get to the tcl prompt.
> When I type
> q {Hello World}
> and
> d
> nothing happens, as in espeak doesn't work.
> When I run ./espeak in the servers directory though espeak works just fine, because it announces the version, 1.50, i believe, i am going on
> memory.
> Problems start when I get to the tcl prompt, which is a %.
> Best regards.
>
I may not have been clear enough. When you run espeak inside the server
directory, it will leave you with a tcl prompt - it is here you need to
enter the q {Hello world} <enter> d <enter> to here it speak Hello
World. You then hit Control-d to exit. The espeak command in the server
directory is actually a Tcl script with bindings for the espeak server.
Emacspeak will run this server and send commands to it to generate the
speech.
If you have setup the init.el file, I would just try starting emacs and
see if it works.
Note that when you reply to messages on the Emacspeak list, it will send
the response to the sender. You need to either do reply all or reply to
list (depending on your mail client) to have your message sent to the
list as well.
1 year, 8 months
Introducing myself and a request
by Cisco Tissera
Hello everyone,
My name is Francisco, and I am a highschool student who started getting
into Linux a few months ago.
I started with Arch, switched to Ubuntu, Fedora, and then returned to Arch
Linux.
I would like to get up and running with emacspeak so I can see what it can
and can't do, and see if it suits my needs, however, I cannot, and here is
why: I am using pipewire on arch linux as of now.
When I wrote on the blinux mailing list, linux for blind, I got told that
sadly emacspeak does not work with pipewire yet.
<I do not have any intention of removing pipewire and installing
pulseaudio, because that would disrupt my workflow for far too long.
As of now I am using arch linux with gnome 40 and orca master.
Now, after all that has been said, I'd like to ask if anything could be
done about emacspeak to make it work with pipewire.
I have no coding knowledge so I won't be able to help in the development,
if any will be done, but I will surely test out the git package in the aUR
or whatever if you so ask of me.
Best regards.
Francisco.
1 year, 8 months
Native comp errors
by Tim Cross
Hi Raman,
I know you have been working on fixing errors and warnings generated
when using the new native compilation support in Emacs 28. For your
reference, here are 4 errors I see. Of interest is the make-acss error -
I cannot find a definition for make-acss when I do a grep on the lisp
dir. The other errors look like they are probably just due to missing
require dependencies in a couple of files.
Warning (comp): /home/tim/git/emacspeak/trunk/lisp/emacspeak-preamble.el: Error: Symbol's function definition is void make-acss Disable showing Disable logging
Warning (comp): /home/tim/git/emacspeak/trunk/lisp/emacspeak-pronounce.el: Error: Symbol's value as variable is void dtk-program Disable showing Disable logging
Warning (comp): /home/tim/git/emacspeak/trunk/lisp/emacspeak-speak.el: Error: Symbol's value as variable is void dtk-program Disable showing Disable logging
Warning (comp): /home/tim/git/emacspeak/trunk/lisp/emacspeak-loaddefs.el: Error: Symbol's value as variable is void emacspeak-xslt-directory Disable showing Disable logging
--
Tim Cross
1 year, 9 months