ESDSAMPLE(1)
β¨ 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 π
-shostname: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 π-rfreq β 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
-eoption 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
- epel 9: esound-tools 1:0.2.41-27.el9 Β· LGPLv2+
- fedora 43: esound-tools 1:0.2.41-38.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: esound-tools 1:0.2.41-39.fc44 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms