ossplay [-RWhlvq] [-S secs ] [ -c channels ] [ -d devname ]
[ -f fmtname | ? ] [ -g gain ] [ -o playtarget | ? ]
[ -s rate ] filename | - ...
DESCRIPTIONossplay 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 inforation about sample format, number of channels and sampling rate.
- Verbose output. Multiple invocations increase the level of verbosity.
- Quiet (no information printed).
- Loop playback indefinately.
- 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.
INTERRUPTSending a SIGQUIT (Ctrl-\ in most terminals) will make ossplay stop playing the currently played file and skip to the next file.
NOTESThe ossplay executable is the same as the ossrecord executable. Behaviour is decided by the name used to invoke the program.