TINYCAP(1)
π TINYCAP(1) β the tinyalsa page, bestie edition π
okay so real talk: this is tinycap, and it lives in the TinyALSA corner of the universe (manual section 1, iykyk). she's the record button of the tinyalsa fam. let's get into it π
β¨ NAME β¨
tinycap β captures audio from an audio device. that's it, that's the whole vibe. she records. she slays. π€
πΈ SYNOPSIS πΈ
tinycap [ file ] [ options ]
π¦ Description π¦
so tinycap can record audio from an audio device and dump it into a wav file, or straight to standard output as raw samples. iconic behavior honestly.
and the options? they let you specify various hardware parameters to open the PCM with. lowkey powerful, ngl.
β¨ OPTIONS β¨
-Dcard β card number of the PCM. default is0. π-ddevice β device number of the PCM. default is0. π±-cchannels β number of channels the PCM will have. default is2. π§-rrate β number of frames per second of the PCM. default is48000. β±οΈ-bbits β number of bits per sample the PCM will have. default is32. π’-pperiod_size β number of frames in a period. default is1024. π-nperiods β number of periods the PCM will have. default is4. π-tseconds β number of seconds to record audio. β³
π SIGNALS π
when capturing audio, SIGINT will stop the recording and close the file. so like, Ctrl+C is your bestie here, not your enemy π«Ά
π₯ EXAMPLES π₯
tinycap output.wavβ records a file calledoutput.wavuntil an interrupt signal is caught.tinycap output.wav -D 1 -t 2β records a file calledoutput.wavfrom card1for two seconds or until an interrupt signal is caught.tinycap -- -t 3β records to standard output for three seconds or until an interrupt signal is caught.
π BUGS π
please report bugs to https://github.com/tinyalsa/tinyalsa/issues. don't suffer in silence bestie, tell the maintainers π
π SEE ALSO π
tinyplay(1), tinymix(1), tinypcminfo(1)
π AUTHORS π
Simon Wilson
for a complete list of authors, visit the project page at https://github.com/tinyalsa/tinyalsa.
okay that's the whole page, no skips, no cap π―
and that's a wrap!! huge shoutout to tinycap, part of TinyALSA, dated October 2, 2016 β she's been serving since 2016 and she's still main character energy πππ
π¦ 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms