TINYPLAY(1)
π tinyplay(1) β TinyALSA π
π NAME π
tinyplay β sends audio to an audio device. that's the entire assignment, bestie.
πΈ SYNOPSIS πΈ
tinyplay file [ options ]
β¨ Description β¨
tinyplay can send audio to an audio device from a wav file or standard input (as raw samples). Options can be used to specify various hardware parameters to open the PCM with. periodt.
π OPTIONS π
-D,--cardcard β card number of the PCM. the default is0. zero, iconic.-d,--devicedevice β device number of the PCM. the default is0. also zero, we love consistency.-c,--channelschannels β number of channels the PCM will have. this option is only valid for raw file types. the default is2for raw file types. two channels, noted.-r,--raterate β number of frames per second of the PCM. this option is only valid for raw file types. the default is48000for raw file types. yes, 48000.-i,--file-typefile-type β the file type used for playback. available types arerawandwav. specifyingrawmeans thatchannels,rateandbitsmay have to be specified as well. by default, the file type is determined by the file name. specifying the file type with this option will take precedent over the one determined by the file name. so this one wins, iykyk.-b,--bitsbits β number of bits per sample the PCM will have. this option is only valid for raw file types. the default is16for raw file types. sixteen, sweet.-p,--period-sizeperiod_size β number of frames in a period. the default is1024. big period energy.-n,--period-countperiods β number of periods the PCM will have. the default is4. four, adorable.
π¨ SIGNALS π¨
when playing audio, SIGINT will stop the playback and close the file. yes, that signal, bestie.
π EXAMPLES π
tinyplay output.wavβ plays a file calledoutput.wav. slay.tinyplay output.wav -D 1β plays a file calledoutput.wavon card1. card one, periodt.tinyplay output.raw -i raw --channels 2 --rate 44100 --bits 32β plays a raw audio file calledoutput.raw; using2channels,44100frames per second and32bits per sample. raw file realness.
π BUGS π
bestie, please report bugs to https://github.com/tinyalsa/tinyalsa/issues. the devs wanna know.
π SEE ALSO π
π AUTHORS π
Simon Wilson
For a complete list of authors, visit the project page at https://github.com/tinyalsa/tinyalsa. go show them love.
okay bye bestie β tinyplay(1), source: TinyALSA, page dated October 2, 2016 π
π¦ where this page comes from
- alpine 3.24: tinyalsa-doc 2.0.0-r4 Β· BSD-3-Clause
- epel 10: tinyalsa 2.0.0-2.el10_3 Β· BSD-3-Clause
- nixpkgs unstable: tinyalsa 2.0.0-unstable-2026-10-23
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms