Darryl Okahata <darrylo(a)sr.hp.com> writes:
wmperry(a)aventail.com (William M. Perry) wrote:
> > > I haven't seen an mp3 decode in elisp yet.
> >
> > And I don't think that you will.
>
> Is that a challenge? :)
If you can write a pure-elisp mp3-player that can play 128-bit MP3s
in real-time using the existing elisp functionality (i.e, no specialized
C primitives, subprocesses, or dynamically-linked libraries), we'll all
bow down in tribute, and touch our heads to the floor, chanting, "All
hail William M. Perry, programming god."
;-) ;-) ;-) ;-) ;-) ;-) ;-) ;-) ;-) ;-) ;-) ;-) ;-)
Well, that should be pretty simple. You didn't say the audio being
produced needed to be CORRECT. :)
(defun mp3-decode (file)
(interactive "fMP3: ")
(play-sound-file file))
> X-Now-Listening-To: Joan Jett & The Blackheart - I Hate
Myself For Loving You
Cool!
Yeah, was having an '80s flashback this afternoon. :) Hard to beat 'do you
wanna touch me' and 'i hate myself for loving you'. :)
-Bill P.