Scroll to navigation

ossplay(1) OSS User Commands ossplay(1)

NAME

ossplay - Open Sound System playback program.

SYNOPSIS

ossplay [-RWhlvq] [-S secs ] [ -c channels ] [ -d devname ]

[ -f fmtname | ? ] [ -g gain ] [ -o playtarget | ? ]
[ -s rate ] filename | - ...

DESCRIPTION

ossplay plays raw PCM, Microsoft RIFF (.wav), Sun ULaw (.au), Mac AIFF (.aif) and other types of audio files. By default the application will try to determine the audio file's format and play audio based on the stored information about sample format, number of channels and sampling rate.

OPTIONS

Verbose output. Multiple invocations increase the level of verbosity.
Quiet (no information printed).
Loop playback indefinitely.
Select <devname> as the device (eg -d/dev/dsp2).
Select the playback rate for raw PCM audio (eg -s48000).
Select the number of channels 1=mono 2=stereo, 4, 6, 8, etc.
Select the input format (eg -fU8 or -fS16_BE).
Prints the list of supported format names.
Selects the play target name if the device supports multiple play targets (such as front, rear, side).
Prints the list of available play targets.
Amplify all played samples by percentage given as argument. 100 (default) means normal signal level, 200 means double level.
Treat all input as raw PCM data.
Disable redirection to virtual mixer engines and sample rate/format conversions. Should not be used unless absolutely necessary.
Start playing at <secs> seconds from start of file. The argument can contain a fractional part (e.g. -S1.2)
Display usage information.

INTERRUPT

Sending a SIGQUIT (Ctrl-\ in most terminals) will make ossplay stop playing the currently played file and skip to the next file.

NOTES

The ossplay executable is the same as the ossrecord executable. Behaviour is decided by the name used to invoke the program.

SEE ALSO

ossrecord(1), ossmix(1), ossxmix(1)

FILES

/usr/bin/ossplay

AUTHOR

4Front Technologies

11 February 2015