Linux Commands Examples

A great documentation place for Linux commands

sndfile-play

play a sound file

Synopsis

sndfile-play file


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
then
sndfile-play ~/Music/binaural10Hz.ogg
elif $(echo "$(date +%H) > 20" | bc) == "1"
then
then
sndfile-play ~/Music/binaural10Hz.ogg
else
return 0
fi
done
# vim:filetype=sh

description

sndfile-play plays the specified sound file using :

ALSA on Linux
/dev/dsp on systems supporting OSS (including Linux)
/dev/audio on Sun Solaris
CoreAudio on Apple MacOSX
waveOut on Microsoft Win32

sndfile-play uses libsndfile (http://www.mega-nerd.com/libsndfile/) to read the file.


author

This manual page was originally written by Joshua Haberman <joshua[:at:]debian[:dot:]org>, for the Debian GNU/Linux system (but may be used by others). Further additions have been made by Erik de Castro Lopo <erikd@mega-nerd.com>.

How can this site be more helpful to YOU ?


give  feedback