ossplay(1)
π ossplay β the OSS playback bestie π
okay so real talk, this is the ossplay page from the OSS User Commands manual, and it's basically the "press play, diva" of the Open Sound System. grab a snack, we're going through everything π
β¨ NAME β¨
ossplay β the Open Sound System playback program, aka the icon that makes your speakers go brrr π
π SYNOPSIS π
ossplay [-RWhlvq] [-S secs ] [ -c channels ] [ -d devname ]
[ -f fmtname | ? ] [ -g gain ] [ -o playtarget | ? ]
[ -s rate ] filename | - ...
π DESCRIPTION π
okay so ossplay plays raw PCM, Microsoft RIFF (.wav), Sun ULaw (.au), Mac AIFF (.aif) and honestly a whole bunch of other audio file types too, not just those. no cap π«Ά
and the default vibe? she's smart, bestie. by default the application will try to figure out the audio file's format all by itself and then play the audio based on the stored information about sample format, number of channels and sampling rate. she's giving main character energy and reading the file's mind, periodt β¨
π OPTIONS π
-vβ verbose output, like she's telling you everything that's happening. multiple invocations stack up and increase the level of verbosity, so the more-vs you throw at her, the more she spills π¬-qβ quiet mode, no information printed. she's not texting back, she's just playing. π€«-lβ loop playback indefinitely. it's giving "this song is on repeat and it will be forever." π-d<devname>β select <devname> as the device (eg-d/dev/dsp2). pick your fave audio device, she'll show up there. π§-s<rate>β select the playback rate for raw PCM audio (eg-s48000). yes, raw PCM only, she said what she said. β±οΈ-c<channelsβ select the number of channels: 1=mono, 2=stereo, and also4,6,8, etc. surround girlies rise π-f<fmtname>β select the input format (eg-fU8or-fS16_BE). tell her exactly what you're feeding her. π½οΈ-f?β prints the list of supported format names. so if you don't know yourU8from yourS16_BE, just ask, she'll tell you π-o<playtarget>β selects the play target name if the device supports multiple play targets (such asfront,rear,side). like choosing which speaker corner gets the aux ποΈ-o?β prints the list of available play targets. window shopping, but for audio outputs ποΈ-g<gain>β amplify all played samples by the percentage given as the argument. 100 (default) means normal signal level, 200 means double level. so-g200is her screaming. dramatic but valid π’-Wβ treat all input as raw PCM data. no detective work, just raw vibes. π§-Rβ disable redirection to virtual mixer engines and sample rate/format conversions.
bestie listen. this one should not be used unless absolutely necessary. like, genuinely. she's not being cute about it, she means it. π¨
-S<secs>β start playing at <secs> seconds from start of file. and the argument can contain a fractional part (e.g.-S1.2). skip to the good part, literally βοΈ-hβ display usage information. the "help me help you" option. π
π¦ INTERRUPT π¦
sending a SIGQUIT (Ctrl-\ in most terminals) will make ossplay stop playing the currently played file and skip to the next file.
so yeah, it's the "next track" button, but make it feral. π₯
π§ NOTES π§
the ossplay executable is the same as the ossrecord executable. behaviour is decided by the name used to invoke the program. yes bestie, one binary, two personalities, iykyk πβ¨
πΈ SEE ALSO πΈ
go read those too, they're all in the same friend group π«Ά
π FILES π
/usr/bin/ossplay
β AUTHOR β
4Front Technologies π
okay and that's the whole page, no skips, no summaries, we ate and left no crumbs π½οΈπ
this was ossplay(1) from the OSS User Commands manual, dated 11 February 2015, brought to you by the lovely people at 4Front Technologies. mwah, go play something iconic πππ¦
π¦ where this page comes from
- ubuntu noble: oss4-base 4.2-build2020-1ubuntu3
- ubuntu noble: oss4-base 4.2-build2020-1ubuntu3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms