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
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
Removing pauses when speaking paragraphs?
by Parham Doustdar
Hi,
I'm not sure if this only happens on MacOS, but when I use
emacspeak-speak-paragraph, speech pauses between lines. Is this an intended
behavior? If not, I was thinking of stripping line breaks before passing
the text to the speech server. Not sure if that would violate an assumption
somewhere/
Thanks,
Parham
1 year, 9 months
Patch to enable Vertico support
by Krzysztof Drewniak
Hi all,
I've recently started looking into Emacspeak and screen readers in
general, and so put together a patch that speech-enables Vertico, which
is the completion UI my "fork this Emacs config to get sensible
defaults" provider currently uses.
I wasn't sure if I should submit here or to Vertico's developer, but it
seems that, in general, the speech-related code seems to live in Emacspeak.
The patch is attached.
Yours,
--
Krzysztof
(he/him)
1 year, 9 months
Evaluating something with dtk-speak interactively?
by Parham Doustdar
Hi,
When I try to use eval-last-sexp, Emacspeak speaks the result of the
evaluation. It's great for most cases, except when the expression involves
a call to dtk-speak, because this prevents the speech output.
I was wondering what you use for temporarily pausing this functionality to
test something that's supposed to produce speech output?
Thanks,
Parham
1 year, 9 months
Resolved: Emacspeak sounds on the Mac
by Devin Prater
Hi all, I fixed it! I checked out Emacspeak 52.0, set the sound player to emacspeak-queue-auditory-icon, then checked out 53.0 and made it, and it worked. Then I checked out 54.0, and that worked too. So, I think the fixing line in my .emacs.el is:
'(emacspeak-auditory-icon-function 'emacspeak-queue-auditory-icon t)
This is from the custom-set variables part of the file, so if you put that in somewhere it should work, I think. I’m not an Emacs expert, I just found a way to make this work, so am sharing it with other Mac users of Emacspeak. So, if you’ve upgraded from 52 to 53 and 54, you may not have this issue. But if you’re a new Emacspeak user, you may need this to get sounds working.
Hope it helps!
Devin Prater
r.d.t.prater(a)gmail.com
Https://devinprater.flounder.online
1 year, 9 months
Emacs on the Mac: sounds don't play
by Devin Prater
Hi all. I’m trying to get Emacspeak, version 54.0 or newer, to work on the Mac. I’ve gotten speech to work, but the sounds don’t play. I’m using the newest cask of Emacspeak-mac from RailwayCat. I notice that the Emacspeak part of customize now just uses a system play program, rather than emacspeak-serve-auditory-icons or emacspeak-play-auditory-icons. I set that to /usr/local/bin/play, which works on the terminal to play sounds from ~/emacspeak/sounds/3d/alarm.wav and such, but that doesn’t seem to work within Emacspeak. My .emacs.el file was taken from one I found on this list earlier this year. I needed to start over, as Emacspeak wasn’t even starting all the way on the previous one. Now, Emacspeak in Emacs in the GUI takes maybe 30 seconds to completely start, shown by the startup icon playing for a moment, stopping for a while, then finishing. In the Terminal, it starts up much more quickly, but still not instantly.
Now here’s something; when I run Emacs in the Terminal, with emacs -nw, the “button.wav” sound from the pan-chimes theme works, but no other sound works. Attached is my .emacs.el file, if that holds any clues. Thanks for any help with this!
Devin Prater
r.d.t.prater(a)gmail.com
Https://devinprater.flounder.online
1 year, 9 months
Possible TCL issue in Espeak server
by Alastair Irving
Hi
I was using the Espeak server earlier and noticed that changing the
speech rate locally in a buffer wasn't working. I tracked this down to
the tts_sync_state command giving an error which in turn is caused by an
error in the tts_split_caps command:
%tts_sync%_state all 1 100
Error: wrong # args: should be "set varName ?newValue?"
%tts_split_caps 0
Error: wrong # args: should be "set varName ?newValue?"
%
The error seems to be at line 307 of the espeak TCL file, specifically
with the comment. It works if I add a semicolon before the comment (or
just delete the comment). Please can this be fixed? I don't know why
it hasn't been noticed before, maybe it depends on TCL version.
Best wishes
Alastair
1 year, 9 months