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