GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ossplay(1) User Commands ossplay(1)

ossplay - Open Sound System playback program.

ossplay [-RWhlvq] [-S secs ] [ -c channels ] [ -d devname ]
      [ -f fmtname | ? ] [ -g gain ] [ -o playtarget | ? ]
      [ -s rate ] filename | - ...

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 inforation about sample format, number of channels and sampling rate.

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

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

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

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

/usr/local/bin/ossplay

4Front Technologies
07 June 2022

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.