TINYPLAY(1)

πŸ“¦ version 2.0.0, in alpine 3.24, epel 10, nixpkgs unstable

πŸ’– 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, --card card β€” card number of the PCM. the default is 0. zero, iconic.
  • -d, --device device β€” device number of the PCM. the default is 0. also zero, we love consistency.
  • -c, --channels channels β€” number of channels the PCM will have. this option is only valid for raw file types. the default is 2 for raw file types. two channels, noted.
  • -r, --rate rate β€” number of frames per second of the PCM. this option is only valid for raw file types. the default is 48000 for raw file types. yes, 48000.
  • -i, --file-type file-type β€” the file type used for playback. available types are raw and wav. specifying raw means that channels, rate and bits may 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, --bits bits β€” number of bits per sample the PCM will have. this option is only valid for raw file types. the default is 16 for raw file types. sixteen, sweet.
  • -p, --period-size period_size β€” number of frames in a period. the default is 1024. big period energy.
  • -n, --period-count periods β€” number of periods the PCM will have. the default is 4. 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 called output.wav. slay.
  • tinyplay output.wav -D 1 β€” plays a file called output.wav on card 1. card one, periodt.
  • tinyplay output.raw -i raw --channels 2 --rate 44100 --bits 32 β€” plays a raw audio file called output.raw; using 2 channels, 44100 frames per second and 32 bits 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