[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Silence Is Golden:



>From the Emacspeak blog:
http://emacspeak.blogspot.com/2010/12/silence-is-golden.html
Silence Is Golden



Speech is silvern --- but silence is golden! In the spirit of the above, I
just added command emacspeak-silence to Emacspeak. You can bind this command
to your favorite key for silencing all audio output on the complete audio
desktop --- including any active media streams.

What This Does

Command emacspeak-silence stops speech by calling dtk-stop. It then runs
commands placed on emacspeak-silence-hook. Each media player defined by
Emacspeak updates hook emacspeak-silence-hook with an appropriate action that
pauses or resumes that player.

I've also updated the keymaps in tvr/console-keymaps to set up the windows key
on the console to produce [silence], and bound command emacspeak-silence to
[silence] in emacspeak-keymap.el.

The net effect is that if you use those console maps, you can just hit the
windows key whenever you want to silence all audio output; pressing it again
will resume any media streams you had active.

Share And Enjoy --- and here's wishing our Press/Analyst contact a very Happy
13th Birthday --- mark it with a palindromic moment at 010212212010 i.e., Tue
Dec 21 01:02:15 PST 2010

*

 [Edit] [Self] [HTML]


T. V. Raman at 2010-12-21T09:54:00.001-08:00

--

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help".



If you have questions about this archive or had problems using it, please send mail to:

priestdo@cs.vassar.edu No Soliciting!

Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog | Search the archive