This is to announce a new emacspeak module called Piglets that brings together Emacs and Firefox to create a powerful framework for authoring Web interaction wizards.
You might well ask Why Piglets?
,
and might conjecture that PIGLETS might stand for
Powerful Internet Gadgets for a Light-Weight Talking
System.
You might conjecture that the Emacspeak mascot likes pig-ears; or
you might even think of attributing it to the fact that my
friend and colleague Charles Chen and creator
of Fire Vox was born in the year of the pig.
But you'd be mostly wrong in all of the above.
Piglets on the Emacspeak desktop are the result of having two large (and powerful) software pigs connect over a socket. A few months ago, I blogged here about MozREPL and how it allows me to Put The Fox In A Box. Piglets mark the completion of the Emacs/Firefox integration that started with Firebox. Once you install Fire Vox, the free self-voicing extension for Firefox, piglets become a versatile means to leverage the self-voicing Fire-Vox/Firefox DOM from the comfort of the emacspeak environment.
Caveat: ALL of this is early experimental software --- and you'll need to tweak things for your environment to get things working.
servers/python
files in your Emacspeak installation.HTTP
wrapper for the TTS
servers works. You can most easily do this by running:
# Start the HTTPspeech server # from emacspeak/servers/python python HTTPSpeaker.py outloud 2222 & # you can replace outloud with dtk-exp # but the bindings to other TTS servers is not defined for now # Run wget to test the speech server: wget --post-data='' localhost:2222If all is well, you should here the TTS engine say
Hello World
Do not proceed if the above does not work.
~/.mozilla/firefox/default/prefs.js
user_pref("firevox.LastWorkingTTS", 4);
The Piglets framework is implemented in module
emacspeak-piglets.el
. There is a Fire-Vox binding in
module emacspeak-firevox.el
and a binding to the JawBreaker
game in emacspeak-jawbreaker.el
.
When you get the various pieces configured and working, here is how things work:
C-w
and type the phrase you'd like to go into the address bar ---
either a URL or a search term. As an example, try typing
XKCDComic.
This will automatically do a Google Lucky Search (thanks
to FireFox magic)
and open the XKCD site.?
in the FireFox
interaction buffer to hear the available keystrokes for this
AxsJAXed application; in general, ?
brings up
keyboard help for AxsJAXed applications.These are some todos that I plan to get to eventually --- if you have coding cycles to contribute, feel free to work on these.
If you have questions about this archive or had problems using it, please send mail to:
priestdo@xxxxxxxxxxx No Soliciting!Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998