TINYCAP(1)

πŸ“¦
version 2.0.0 Β· 2 versions
, in alpine 3.24, epel 10

πŸŽ€ 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 ✨

  • -D card β€” card number of the PCM. default is 0. πŸƒ
  • -d device β€” device number of the PCM. default is 0. πŸ“±
  • -c channels β€” number of channels the PCM will have. default is 2. 🎧
  • -r rate β€” number of frames per second of the PCM. default is 48000. ⏱️
  • -b bits β€” number of bits per sample the PCM will have. default is 32. πŸ”’
  • -p period_size β€” number of frames in a period. default is 1024. πŸ“
  • -n periods β€” number of periods the PCM will have. default is 4. πŸ”
  • -t seconds β€” 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 called output.wav until an interrupt signal is caught.
  • tinycap output.wav -D 1 -t 2 β€” records a file called output.wav from card 1 for 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