hcdplay(1)
β¨ hcdplay(1) β¨
okay bestie, so this is hcdplay, a lil tool from the hxtools family that lets you control autonomous CDDA playback using Linux CDROM ioctls πΏβ¨ buckle up, it's giving retro-tech realness
πΈ NAME πΈ
hcdplay β control autonomous CDDA playback using Linux CDROM ioctls π
π¦ SYNTAX π¦
hcdplay [-CEPRSTs] [-D device] [-p first-track [last-track]]
π DESCRIPTION π
okay so here's the tea β CD-DA discs in CD-ROM drives can be played back in one of two ways, and they're lowkey really different:
- Digital Audio Extraction (DAE) β where software asks for the disc sector by sector, like a needy bestie texting you one word at a time π
- autonomous playback β where the drive's firmware does the sector reading all by itself, main character energy, no software supervision needed π
with autonomous playback, the software only has to send a few control codes to start or end playback. that's it. that's the whole job. and ngl, if your drive has extra buttons besides eject β like the Sony CDU5221, iconic β you can even control Autonomous Playback with those buttons too π
now, in this autonomous play mode, the drive can/will output sound through a bunch of different methods. the common ones are:
- a 3.5mm headphone jack π§
- a 4-pin Analog Audio connector that's supposed to be hooked up to a soundcard
and here's the sad part π these are often justβ¦ not there anymore. especially on external drives, slimline drives, and even internal 5.25" SATA drives. and as such, these drives often don't even implement the Autonomous Playback functions anymore β the particular ATA commands just get ignored. π
β¨ OPTIONS β¨
-C,--closeβ request that the drive be closed π«Ά-D,--devicedevice β the path to the CD-ROM device node. defaults to/dev/sr0β¨-E,--ejectβ request that the drive be ejected π-P,--pauseβ pause playback. this can only be issued if the CD-ROM drive is in the Playing state β οΈ-R,--resumeβ resume playback. this can only be issued if the CD-ROM drive is in the Paused state β οΈ-S,--stopβ stop playback π-T,--tocβ print part of the disc's table of contents (TOC) π-p,--play[first-track [last-track]] β start playback of first-track and play until last-track. if no first track is specified, it starts from1. if no last track is specified, it plays until the end of the disc πΆ-s,--startβ start playback βΆοΈ
π SEE ALSO π
hxtools(7) π«Ά
and that's the whole vibe, bestie β go forth and control your CD drive like the icon you are ππ
this was hxtools, dated 2013-03-16 πΈ slay, bye π β¨
π¦ where this page comes from
- debian trixie: hxtools 20231224-2+b2 Β· MIT
- nixos 26.05: hxtools 20251011
- nixpkgs unstable: hxtools 20251011
- opensuse-leap 16.0: hxtools-man 20231224-bp160.1.12 Β· GPL-2.0-or-later AND WTFPL
- ubuntu noble: hxtools 20231224-2ubuntu1 Β· MIT
- ubuntu questing: hxtools 20231224-2ubuntu1
- ubuntu resolute: hxtools 20251011-1 Β· MIT
- ubuntu stonking: hxtools 20251011-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms