TRACKSPLIT(1)

๐Ÿ“ฆ
version 3.1.1 ยท 4 versions
, in ubuntu questing

๐Ÿ’– TRACKSPLIT(1) โ€” the audio track splitter, bestie edition ๐Ÿ’–

okay so welcome to tracksplit, part of the audiotools fam, and honestly? she's giving "quietly iconic little utility that does one thing and does it slay." let's get into it โœจ


๐ŸŒธ NAME ๐ŸŒธ

tracksplit โ€” split audio track ๐Ÿ’…

๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

tracksplit [OPTIONS] <track 1>

๐ŸŽ€ DESCRIPTION ๐ŸŽ€

so basically, tracksplit splits an audio track into several smaller tracks. that's it, that's the whole vibe. one big file goes in, a whole lil family of tracks comes out. main character behavior fr fr ๐Ÿ’–


โœจ OPTIONS โœจ

here's your starter pack of flags, bestie. every single one, no skips ๐Ÿซถ

  • -h, --help โ€” shows you a list of options and then dips. no notes, perfect exit strategy ๐Ÿ’…
  • -I, --interactive โ€” lets you edit metadata in interactive mode before splitting the file. like getting ready before the photos, yk? ๐Ÿ“ธ
  • --cue=FILENAME โ€” the cuesheet to use for splitting the track. this is your map, your blueprint, your little roadmap ๐Ÿ—บ๏ธ
  • -V, --verbose=VERBOSITY โ€” the level of output to display. you pick between 'normal', 'quiet' and 'debug'. choose your own adventure but it's about how much it yaps ๐Ÿ’ฌ

๐ŸŒˆ ENCODING OPTIONS ๐ŸŒˆ

this is where the โœจtransformationโœจ happens

  • -t, --type=TYPE โ€” the audio format to convert the split tracks to. want the full list of available audio formats? just try: -t help. she'll tell you ๐ŸŽต
  • -q, --quality=QUALITY โ€” the desired quality of the split tracks. for a list of available quality modes for a given format, try: -q help. yes bestie, quality mode list is a thing ๐Ÿ‘‘
  • -d, --dir=DIRECTORY โ€” the target directory for the split tracks. if none is given, the current working directory is used. and if the target directory doesn't exist? it gets 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, and all other text is left exactly as-is. if you omit this option, a default format string is used. (scroll down for the whole field list, it's a whole mood ๐ŸŒธ)
  • -j, --joint=PROCESSES โ€” the maximum number of tracks to convert at one time. if you've got multiple CPUs or CPU cores, letting tracksplit(1) use all of them simultaneously can greatly increase encoding speed. parallel processing, we love to see it ๐Ÿ”ฅ

๐Ÿ’ฟ CD LOOKUP OPTIONS ๐Ÿ’ฟ

for when your tracks came off a physical disc and the metadata has to be found

  • --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. we're going offline, babe ๐Ÿ™ˆ
  • --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. no FreeDB, no problem ๐Ÿ’€
  • -D, --default โ€” when multiple metadata choices are available, select the first one automatically. ngl this is the "just pick one" button. heads up tho: this option has no effect when used with -I ๐Ÿšซ

๐ŸŽง METADATA OPTIONS ๐ŸŽง

dress your tracks up cute ๐Ÿ’–

  • --album-number=NUMBER โ€” the album number of the tracks' CD, if they are in one in a series of albums ๐Ÿ“€
  • --album-total=NUMBER โ€” the total number of albums in the tracks' CD 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 ๐Ÿ”‡

๐ŸŒŸ EXAMPLES ๐ŸŒŸ

split CDImage.wav into several MP3 files using the cuesheet CDImage.cue:

tracksplit -t mp3 --cue=CDImage.cue CDImage.wav

obtain CDImage.cue using the cdrdao(1) utilities:

cdrdao read-toc --device /dev/cdrom CDImage.toc

toc2cue CDImage.toc CDImage.cue

see? two commands and you're literally set ๐Ÿซถ


๐Ÿงš FORMAT STRING FIELDS ๐Ÿงš

okay bestie this is the glossary of every template field you can drop into --format. all of them, right here, no gatekeeping โœจ

  • %(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 ๐Ÿ‘€

the whole friend group, go say hi:

audiotools-config(1), audiotools.cfg(5), cdda2track(1), 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), tracktag(1), trackverify(1)


๐Ÿ’œ AUTHOR ๐Ÿ’œ

Brian Langenfeld โ€” thank you for your service, king ๐Ÿ‘‘


and that's the whole page, bestie!! go forth and split some tracks, you absolute legend ๐Ÿ’–โœจ

this was the tracksplit(1) manual from the Audio File Splitter section, dated 2025-03-10, and yes she ate ๐Ÿ’… periodt.

๐Ÿ“ฆ where this page comes from