ESDSAMPLE(1)

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

✨ ESDSAMPLE(1) ✨

okay bestie, welcome to the Enlightened Sound Daemon corner of the man pages πŸ’– this one's called esdsample and yeah, she plays a sample. that's it. that's the whole vibe. but let's get into it fr fr πŸŽ€


🌸 NAME 🌸

esdsample β€” play a sample 🎡


πŸ¦‹ SYNOPSIS πŸ¦‹

esdsample [-s hostname:port] [-b] [-d] [-e] [-h] [-m] [-r freq]
samplename

like yes she's a lil stacked with flags but it's giving customizable, not complicated, iykyk πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

The esdsample utility plays a sample using the Enlighted Sound Daemon (esd). that's the whole job bestie, and she does it flawlessly ✨ no cap.


✨ OPTIONS ✨

here's the full rundown, every single one, we do NOT skip πŸ’…

  • -s hostname:port β€” reach out and contact the esd server on hostname at port. long-distance relationship with your audio server, slay πŸ“‘
  • -b β€” specify that the output should be in 8-bit format. by default the output is in 16-bit format. lowkey downgrade but sometimes that's the vibe πŸ“
  • -d β€” play the sample from file as raw data. the default behavior is to read the data from a sound file (.wav, .au, and so on). if this option is chosen, samplename is the name of a file. no decoder, no filter, just raw ✨
  • -e β€” play the sample from the esd cache. if this option is chosen, samplename is the name of the sample in the cache. already loaded, already iconic πŸ‘‘
  • -h β€” display help text, and exit. the classic escape hatch, we love her πŸ™ˆ
  • -m β€” specify that the output should be in mono format. by default the output is in stereo format. one channel, main character energy πŸ’œ
  • -r freq β€” specify that the output rate should be set to freq. by default the output rate is set to 44.1 kHz. crank it or chill it, your call 🎧

πŸŽ€ OPERANDS πŸŽ€

  • samplename β€” the name of the sample to be played. if the -e option is used, samplename is the esd cache name. otherwise, samplename is a filename. so basically it means two different things depending on your flags, stay woke bestie πŸ‘€

🌈 EXAMPLES 🌈

Example 1: Playing a sample from a file

example% esdsample generic.wav

just a lil file, played straight up, periodt πŸ’–

Example 2: Playing a sample from the esd cache

example% esdsample -e esdctl:generic.wav

(where esdctl:generic.wav is the cache name) β€” see how the same-looking name means "cache entry" now? that's the -e doing her thing 🧚


πŸ’€ EXIT STATUS πŸ’€

the following exit values are returned:

  • 0 β€” application exited successfully πŸŽ‰ slay
  • >0 β€” application exited with failure 😭 we don't talk about it

πŸ‘‘ SEE ALSO πŸ‘‘

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

the whole friend group honestly, go read them all 🫢


and that's the page bestie πŸ’… this one's from EsounD 0.2.41, dated February 2006, filed under ESDSAMPLE(1) in the Enlightened Sound Daemon manual. go play something cute 🎢✨

πŸ“¦ where this page comes from