[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
auplay and nas
- From: "Cimarron Ryan" <cryan mail wesleyan edu>
- To: <redhat-list redhat com>
- Subject: auplay and nas
- Date: Fri, 30 Apr 1999 14:01:58 -0400
Here's a fun project: I want to use mpg123 and auplay to listen to my mp3's
when I'm at an x terminal. I know everything's set up properly, cuz, I can
$auplay myfile.wav
without difficulty. The problem, of course, is that auplay can't handle
mp3's. So I'd like to use mpg123 to convert the file to wav format,
downsample to 22kHz (so the music doesn't skip) and pipe the resulting
stream to auplay. Here's what happens:
[cryan cryan cryan]$ mpg123 -2 --wav - confusion.mp3 | auplay
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59q (1999/Jan/26). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title : Confusion Artist: New Order
Album : Blade (Soundtrack) Year: 1998
Comment: Track 12 Genre: Techno
Playing MPEG stream from confusion.mp3 ...
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
Couldn't play file "-"
Broken pipe
[cryan cryan cryan]$
It looks like auplay can't handle reading from stdout... Just for the heck
of it, I also tried
[cryan cryan cryan]$auplay <(cat mine.wav)
Couldn't play file "/dev/fd/3"
[cryan cryan cryan]$
Any ideas on how to get a program that doesn't like to read from stdout or a
named pipe to do so?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]