---
name: "tracksplit"
section: "1"
platform: "linux"
package: "audiotools"
version: "3.1.1-1.1+b12"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/tracksplit"
---

# tracksplit(1)

split audio track

## NAME

tracksplit - split audio track

## SYNOPSIS

tracksplit \[OPTIONS\] \<track 1\>

## DESCRIPTION

tracksplit splits an audio track into several smaller tracks.

## OPTIONS

- **-h**, **--help**

  show a list of options and exit

- **-I**, **--interactive**

  edit metadata in interactive mode prior to splitting file

- **--cue**=*FILENAME*

  the cuesheet to use for splitting track

- **-V**, **--verbose**=*VERBOSITY*

  The level of output to display. Choose between 'normal', 'quiet' and 'debug'.

## ENCODING OPTIONS

- **-t**, **--type**=*TYPE*

  The audio format to convert the split tracks to. For a list of available audio formats, try: -t help.

- **-q**, **--quality**=*QUALITY*

  The desired quality of the split tracks. For a list of available quality modes for a given format, try: -q help

- **-d**, **--dir**=*DIRECTORY*

  The target directory for the split tracks. If none is given, the current working directory is used. If the target directory does not exist, it will be created automatically.

- **--format**=*STRING*

  The format string to use for new filenames. Template fields are 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.

- **-j**, **--joint**=*PROCESSES*

  The maximum number of tracks to convert at one time. If one has multiple CPUs or CPU cores, allowing [tracksplit(1)](/tracksplit/1.md) to use all of them simultaneously can greatly increase encoding speed.

## 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. This option has no effect when used with -I

## METADATA OPTIONS

- **--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)](/cdrdao/1.md) utilities:

-

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

-

  toc2cue CDImage.toc CDImage.cue

## FORMAT STRING FIELDS

| | |
| --- | --- |
| Template Fields |
| Key | Value |
| `%(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-config/1.md), [**audiotools.cfg**(5)](/audiotools.cfg/5.md), [**cdda2track**(1)](/cdda2track/1.md), [**cddainfo**(1)](/cddainfo/1.md), [**cddaplay**(1)](/cddaplay/1.md), [**coverdump**(1)](/coverdump/1.md), [**covertag**(1)](/covertag/1.md), [**coverview**(1)](/coverview/1.md), [**dvda2track**(1)](/dvda2track/1.md), [**dvdainfo**(1)](/dvdainfo/1.md), [**track2cdda**(1)](/track2cdda/1.md), [**track2track**(1)](/track2track/1.md), [**trackcat**(1)](/trackcat/1.md), [**trackcmp**(1)](/trackcmp/1.md), [**trackinfo**(1)](/trackinfo/1.md), [**tracklength**(1)](/tracklength/1.md), [**tracklint**(1)](/tracklint/1.md), [**trackplay**(1)](/trackplay/1.md), [**trackrename**(1)](/trackrename/1.md), [**tracktag**(1)](/tracktag/1.md), [**trackverify**(1)](/trackverify/1.md)

## AUTHOR

Brian Langenberger
