[Flac-dev] any simple command-line unix flac players?

Derek at CD Baby dereklist at cdbaby.com
Mon Oct 20 00:11:16 PDT 2003


> 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








More information about the Flac-dev mailing list