From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: Sound in Emacs
Date: Wed, 05 Oct 2011 01:44:21 +0200 [thread overview]
Message-ID: <87pqiciap6.fsf@wanadoo.es> (raw)
In-Reply-To: 4E8AAF3E.7050600@swipnet.se
"Jan D." <jan.h.d@swipnet.se> writes:
> joakim@verona.se skrev 2011-10-03 23:04:
>
>> And we also of course have EMMS. The thing, though, is that it is pretty
>> seamless to just use an external binary to play the sound, unlike having
>> to start an external binary to watch an image. So my vote would be on
>> improving EMMS.
>>
>
> If you just are out to get a more fancy beep, starting a new external
> binary for every beep may not be so seamless.
As Emacs' `(beep)' does not work on Kubuntu 10.10, my .emacs contains
(setq ring-bell-function
(lambda ()
(call-process "beep" nil 0 nil "-f" "400" "-l" "100")))
Although the `beep' executable is as lightweight as it can possibly be,
the results are far from perfect. For instance
(beep)
(sit-for 0.1)
(beep)
usually makes two audible beeps, but often only one beep is
perceived. On the machines where Emacs' (beep) works, there is no such
problem.
next prev parent reply other threads:[~2011-10-04 23:44 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-03 19:46 Sound in Emacs Lars Magne Ingebrigtsen
2011-10-03 19:50 ` Julien Danjou
2011-10-03 21:04 ` joakim
2011-10-04 7:01 ` Jan D.
2011-10-04 22:53 ` Tim Cross
2011-10-05 0:23 ` Lars Ingebrigtsen
2011-10-05 0:41 ` chad
2011-10-05 1:26 ` Stephen J. Turnbull
2011-10-08 14:22 ` Thien-Thi Nguyen
2011-10-04 23:44 ` Óscar Fuentes [this message]
2011-10-06 7:02 ` andersvi
2011-10-06 7:31 ` joakim
2011-10-06 9:17 ` andersvi
2011-10-06 10:22 ` joakim
2011-10-06 13:29 ` Drew Adams
2011-10-06 15:37 ` Nix
2011-10-06 15:44 ` Drew Adams
2011-10-06 16:54 ` Stefan Monnier
2011-10-06 18:27 ` Nix
2011-10-06 16:42 ` andersvi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pqiciap6.fsf@wanadoo.es \
--to=ofv@wanadoo.es \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.