all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: emacs-devel@gnu.org
Subject: Re: Sound in Emacs
Date: Mon, 03 Oct 2011 23:04:34 +0200	[thread overview]
Message-ID: <m3wrclss65.fsf@chopper.vpn.verona.se> (raw)
In-Reply-To: <m3ty7poo2a.fsf@stories.gnus.org> (Lars Magne Ingebrigtsen's message of "Mon, 03 Oct 2011 21:46:53 +0200")

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Emacs has rudimentary support for playing sound -- .wav and .au files,
> if I read the code correctly.
>
> Has anybody considered adding support for modern sound formats via a
> library like SDL?  
>
> http://icculus.org/SDL_sound/
>
> It seems like it has support for all the common formats -- .flac and
> .ogg and .mp3 and .etc.
>
> There's probably no extremely compelling reasons to add built-in support
> for a real sound player in Emacs, but it might be kinda neat.  If you're
> in a dired buffer, you can hit RET to see images, but sound files aren't
> as available.  Wouldn't it be nice if you hit RET on an .mp3 file, and
> Emacs pops up a waveform buffer and starts playing the file?  And you
> can skip around in the song/podcast...
>
> Has anybody done any work in that direction?  And if not, would Emacs
> (after 24.1, or course) be open to adding such functionality if somebody
> (ahem) were to find the time to implement it?

I'm interested in using Emacs for controlling various media. The Emacs
Xwidget branch was for instance originally conceived to implement
sliders in Emacs to control sound servers over OSC.

There are pretty big Emacs user groups that use Emacs a lot for this,
using the CSound and the Supercollider tools for instance. Snd is an
audio editor that is influenced by Emacs.

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 still feel a compelling need to implement audio directly in Emacs
that's cool also. Then I'd vote for implementing the Emacs buffer model
on audio files and use some nice simple portable audio api such as
Portaudio. It should be more than enough for Emacs and is, ahem, portable.








-- 
Joakim Verona



  parent reply	other threads:[~2011-10-03 21:04 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 [this message]
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
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=m3wrclss65.fsf@chopper.vpn.verona.se \
    --to=joakim@verona.se \
    --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.