ESDCAT(1)

πŸ“¦ version 0.2.41, in epel 9, fedora 43, fedora 44

πŸ’– ESDCAT β€” play a sound file from stdin πŸ’–

okay bestie, gather round, because this little cutie is literally the vibe πŸ’…


✨ NAME ✨

esdcat β€” play a sound file from stdin πŸŽ€


🌸 SYNOPSIS 🌸

esdcat [-s hostname:port] ["-n" name] [-b] [-h] [-m] [-r freq] < file

like, you feed it a file through stdin and it just goes. main character behaviour, no cap πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the esdcat application pipes data from stdin straight to the sound device, using the Enlightened Sound Daemon (esd). that's it. that's the whole thing. it's giving middleman but make it iconic πŸ’œ


πŸ’… OPTIONS πŸ’…

here's the tea, the following options are supported:

  • -s hostname:port β€” Contact the esd server on hostname at port. so like, tell it who to talk to 🫢
  • -b β€” Specify that the output should be in 8-bit format. By default, the output is in 16-bit format. lowkey tiny audio energy ✨
  • -h β€” Display help text, and exit. your lil escape hatch, slay πŸŽ€
  • -m β€” Specify that the output should be in mono format. By default, the output is in stereo format. one ear only, we love a minimalist moment 🌸
  • -r freq β€” Specify that the output rate should be set to freq. By default, the output rate is set to 44.1 kHz. so iconic, so specific πŸ”₯
ngl bestie, the synopsis also shows ["-n" name] up top β€” quoting it exactly as written, because I do not make the rules, I just relay them πŸ’€

🌈 EXAMPLES 🌈

Example 1: Playing a sound file "beep" from stdin

example% esdcat < beep

and that's it. beep goes in, beep comes out. ate. πŸ’–


⭐ EXIT STATUS ⭐

The following exit values are returned:

  • 0 β€” Application exited successfully πŸŽ‰ (we love a win)
  • >0 β€” Application exited with failure 😭 (it's giving tragic, but at least it's honest)

πŸ‘‘ SEE ALSO πŸ‘‘

esd(1), esddsp(1), esdfilt(1), esdloop(1), esdplay(1), esdsample(1), esd-config(1), esdctl(1), esdmon(1), esdrec(1)

the whole friend group fr fr 🫢 go say hi to all of them.


and that's the page, bestie πŸ’œ this one's from Feb 2006, shipped under EsounD 0.2.41 β€” vintage but still serving looks, iykyk βœ¨πŸŽ€

πŸ“¦ where this page comes from