CDDA2TRACK(1)

πŸ“¦
version 3.1.1 Β· 4 versions
, in ubuntu questing

✨ CDDA2TRACK β€” it's giving "compact disc extractor" ✨

okay so bestie, you know that ancient shiny rainbow circle thing called a CD? yeah. this is the tool that rips the music off it. the manual name is cdda2track, from the Compact Disc Extractor family, and honestly? she ate.


🌸 NAME 🌸

cdda2track β€” extract audio files πŸ’Ώβž‘οΈπŸŽ§


πŸ¦‹ SYNOPSIS πŸ¦‹

cdda2track [OPTIONS] [track 1] [track 2] ...

πŸ’– DESCRIPTION πŸ’–

so like, cdda2track pulls audio files off a compact disc and encodes them into tracks. literally that's the whole vibe.

If you hand it track numbers, it extracts only those tracks β€” picky queen behaviour, we love her. If you don't, she extracts the entire disc. no notes, all of it, main character energy. ✨


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” shows you a list of options and then exits. a little menu moment 🫢
  • -I, --interactive β€” lets you edit metadata and encoding options in interactive mode before extracting the disc. very hands-on, very "let me fix my lighting first" πŸ’…
  • -c, --cdrom=CDROM β€” the CD-ROM device to extract audio from
  • -s, --speed=SPEED β€” the speed to extract audio data at (yes, she has a speed setting, iconic)
  • -V, --verbose=VERBOSITY β€” the level of output to display. choose between 'normal', 'quiet' and 'debug'. pick your volume bestie πŸ“

πŸ”₯ EXTRACTION OPTIONS πŸ”₯

  • -t, --type=TYPE β€” the audio format of the extracted audio tracks. for a list of available audio formats, try: -t help.
  • -q, --quality=QUALITY β€” the desired quality of the extracted tracks. for a list of available quality modes for a given format, try: -q help
  • -d, --dir=DIRECTORY β€” the target directory for the extracted tracks. if none is given, the current working directory is used. if the target directory does not exist, it will be created automatically. she's proactive like that πŸ’œ
  • --format=STRING β€” the format string to use for new filenames. template fields get replaced with metadata values when new tracks are created. all other text is left as-is. if this option is omitted, a default format string is used.

🌈 CD LOOKUP OPTIONS 🌈

  • --musicbrainz-server=HOSTNAME β€” the MusicBrainz server name to query for metadata
  • --musicbrainz-port=PORT β€” the MusicBrainz port to query for metadata
  • --no-musicbrainz β€” don't query MusicBrainz for metadata
  • --freedb-server=HOSTNAME β€” the FreeDB server name to query for metadata
  • --freedb-port=PORT β€” the FreeDB port to query for metadata
  • --no-freedb β€” don't query FreeDB for metadata
  • -D, --default β€” when multiple metadata choices are available, select the first one automatically. > heads up: this option has no effect when used with -I

⭐ METADATA OPTIONS ⭐

  • --album-number=NUMBER β€” the album number of this CD, if it is one in a series of albums
  • --album-total=NUMBER β€” the total number of albums in this CD's set, if it is one in a series of albums
  • --replay-gain β€” add ReplayGain metadata to newly created tracks
  • --no-replay-gain β€” do not add ReplayGain metadata to newly created tracks

πŸ’€ ACCURATERIP πŸ’€

extracted tracks are automatically verified against AccurateRip's online database. no cap.

the confidence level is the number of other people who have the same rip β€” so a larger value means your own rip is consistent with those of others. slay, you matched the girlies. πŸ‘‘

but listen: not finding your rip in the AccurateRip database does not necessarily mean the rip is bad. the CD may be new, rare, or a different pressing than the one in the database. don't spiral, bestie 😭

🧚 EXAMPLE 🧚

extract all of the tracks from /dev/cdrom as FLAC files at the default quality:

cdda2track -t flac -c /dev/cdrom

πŸ¦„ FORMAT STRING FIELDS πŸ¦„

the template fields, and what each one gets swapped for:

  • %(track_number)2.2d β€” the track's number on the CD
  • %(track_total)d β€” the total number of tracks on the CD
  • %(album_number)d β€” the CD's album number
  • %(album_total)d β€” the total number of CDs in the set
  • %(album_track_number)s β€” combination of album and track number
  • %(track_name)s β€” the track's name
  • %(album_name)s β€” the album's name
  • %(artist_name)s β€” the track's artist name
  • %(performer_name)s β€” the track's performer name
  • %(composer_name)s β€” the track's composer name
  • %(conductor_name)s β€” the track's conductor name
  • %(media)s β€” the track's source media
  • %(ISRC)s β€” the track's ISRC
  • %(catalog)s β€” the track's catalog number
  • %(copyright)s β€” the track's copyright information
  • %(publisher)s β€” the track's publisher
  • %(year)s β€” the track's publication year
  • %(date)s β€” the track's original recording date
  • %(suffix)s β€” the track's suffix
  • %(basename)s β€” the track's original name, without suffix

πŸ‘‘ SEE ALSO πŸ‘‘

audiotools-config(1), audiotools.cfg(5), cddainfo(1), cddaplay(1), coverdump(1), covertag(1), coverview(1), dvda2track(1), dvdainfo(1), track2cdda(1), track2track(1), trackcat(1), trackcmp(1), trackinfo(1), tracklength(1), tracklint(1), trackplay(1), trackrename(1), tracksplit(1), tracktag(1), trackverify(1)


🌸 AUTHOR 🌸

Brian Langenberger


and that's a wrap, bestie πŸ’– written by Brian Langenberger, from the Compact Disc Extractor era, dated 2025-03-10. go rip some CDs, you absolute legend πŸ«ΆπŸ’Ώβœ¨

πŸ“¦ where this page comes from