osstest(1)
osstest(1) β OSS User Commands π§β¨
okay bestie, this is the osstest page from the OSS manual, and it's literally just what it says on the tin: the Open Sound System audio self test applet. let's get into it π
β¨ NAME β¨
osstest β Open Sound System audio self test applet.
π¦ DESCRIPTION π¦
So osstest is a lil test applet, super simple, and its whole job is to check that the sound hardware installed in your system is actually functioning. that's it, that's the gig π«Ά
It runs a playback test for each installed audio device. If there are any "machine detectable" problems, it'll report them, no secrets here. And then β the fun part β you will first hear an audio sample played on the left speaker, then the right speaker, and finally in stereo on both speakers. iconic behaviour honestly πΆ
heads up: it is the user's responsibility to actually listen and check whether the test sound is audible. osstest cannot hear for you, bestie, it's not that kind of applet π
If no sound output can be heard, the possible reason is one of the following:
- An error was reported by osstest. In this case there will usually not be any sound output. The error needs to be fixed before running osstest again. fr fr, fix it first.
- There is no headphones or speakers connected. Or the connection is not made correctly. check ur cables bestie, we've all been there π
- The mixer volume level is set to a too low value. By default it should be OK. The mixer level can be adjusted using the
mixer,ossmixandossxmixutilities distributed with OSS. so many mixer options, slay π - Some notebooks have nonstandard volume control and/or speaker selection hardware that is not supported by OSS. It's very likely that OSS doesn't support such vendor specific additions. rip to those notebooks π
If no errors were reported and the test sound was audible, it means that OSS and your sound hardware is functioning correctly β¨. If you still encounter problems with some sound applications, the reason is almost certainly in the application. Check it's configuration or try to use another equivalent application. not everything is OSS's fault okurrr
If you are having problems with JDS, KDE and/or Gnome system sounds, you need to make sure that OSS gets started before the GUI environment. Refer to your operating system's startup procedures. order of operations matters, periodt π
π SAMPLE RATE DRIFT π
The osstest utility measures a sample rate drift value after playing back the test sound. Ideally it should be 0% but in practice there will be an error of a few percent. 0% means that the 48000 Hz test file was played exactly at 48000 Hz sampling rate. chef's kiss π
The sample rate measurement is based on the system timer, which has limited precision. It's likely that less than 1% difference between the nominal and the measured sampling rates are actually caused by an error in the measurement. For this reason the drift reported by osstest should not be used as any kind of quality measurement. do not do it, bestie, it's not that deep π ββοΈ
However, if the drift is very large it means that there is something wrong in the system. The oscillator chip used with the sound chip is broken, or the system clock is running at a wrong speed. that's a real one, go check it π₯
π§ USING OSSTEST MANUALLY π§
The osstest utility is located in the /usr/bin directory. It can be run manually to test functionality of OSS and your sound hardware. When invoked without any command line parameters, osstest performs the default test on all devices. However it will skip some of the devices based on the following rules:
- It is possible to test just one of the available audio devices by giving its number on command line (for example
osstest 1). Use the device index numbers reported by"ossinfo -a". one device, one vibe β¨ - Use the
-lcommand line option to loop the test infinitely. infinite loop, main character energy π - Virtual mixer devices will not be tested. Use the
-Vcommand line option to force test of virtual devices. - The actual (physical) audio devices will be tested directly (bypassing virtual mixer). If you want to test playback through vmix then use the
-Voption. - Multiple device files related with the same physical device will not be tested. Only the first one gets tested while the remaining ones will be skipped. At this moment there is no way to force osstest to test this kind of devices. sorry bestie, no workaround π
- Only stereo devices will be tested. Future versions of osstest will be able to test mono and multi channel devices too. Also osstest requires that the device supports the 16 bit signed format and 48kHz sampling rate. very specific taste, respect π
- Send a
SIGQUIT(Ctrl-\on most terminals) to make osstest skip a device. handy lil escape hatch π¦
π FILES π
/usr/bin/osstest
π SEE ALSO π
savemixer(1)
π AUTHOR π
4Front Technologies
and that's the whole page bestie, no cap π this was osstest(1) from the OSS User Commands, last updated 11 February 2015, and it's still serving exactly the same energy as the day it was written. go listen to ur speakers, love u, bye π«Άβ¨πΈ
π¦ 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