In the last episode (Oct 19), BSD baby said:
> What's the most direct way to cat an audio file into the sound card?
> 
> The FreeBSD manual talks about wavplay or mpg123 or xmms, but what
> if I just want to send an audio file to the sound card without an
> application inbetween?
> 
> (Reason why - I want to make a quick shell script to play my flac
> audio files.  I can use sox to convert to wav or raw on the fly,
> but still can't get it to the sound card.)

sox file.flac -t ossdsp /dev/dsp

or use the /usr/local/bin/play command installed by the sox port, which
does the same thing.

-- 
        Dan Nelson
        [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to