Derek at CD Baby
2004-Sep-10 16:45 UTC
[Flac-dev] any simple command-line unix flac players?
For my MP3 files on my FreeBSD box, I can type mpg123 to play them. For WAV files, I can use wavplay, but it can't take stdin. Does FLAC have a simple command-line player for Linux/BSD anywhere?
Jesse W. Hathaway
2004-Sep-10 16:45 UTC
[Flac-dev] any simple command-line unix flac players?
> For my MP3 files on my FreeBSD box, I can type mpg123 to play them. > For WAV files, I can use wavplay, but it can't take stdin. > > Does FLAC have a simple command-line player for Linux/BSD anywhere?the latest version of mplayer supports flac playback, and it works great as a command line only player. -Jesse -- 'Of course life has no point. If it had, man would not be free, he'd become a slave to that point and his life would be governed by completely new criteria; the criteria of slavery.' -- Russian director Andrey Tarkovsky
Derek at CD Baby
2004-Sep-10 16:45 UTC
[Flac-dev] any simple command-line unix flac players?
> For my MP3 files on my FreeBSD box, I can type mpg123 to play them. > For WAV files, I can use wavplay, but it can't take stdin. > Does FLAC have a simple command-line player for Linux/BSD anywhere?I ended up answering my own question by writing one, using only sox. Named it "flacplay" and put it in /usr/local/bin/. Cheap workaround. #!/bin/sh for i in `ls *.flac` do flac -sdc $i | sox -t wav - -t ossdsp /dev/dsp done
Matt Zimmerman
2004-Sep-10 16:45 UTC
[Flac-dev] any simple command-line unix flac players?
On Sun, Oct 19, 2003 at 03:06:11PM -0700, Derek at CD Baby wrote:> For my MP3 files on my FreeBSD box, I can type mpg123 to play them. > For WAV files, I can use wavplay, but it can't take stdin. > > Does FLAC have a simple command-line player for Linux/BSD anywhere?Recent versions of alsaplayer can play FLACs (use -i text for a text-mode UI). play(1) from sox accepts stdin, I believe. -- - mdz