lbl2cue / cue2lbl

Convert between Audacity labels and cue sheets — since 2011

Convert Audacity labels to CUE sheet (notes)

Convert CUE sheet to Audacity labels (notes)

Where can I get help, report bugs, etc?

NOTES

lbl2cue

Examples

The lbl2cue conversion is pretty solid. I have yet to find labels generated by Audacity 1.3 or later that will not convert. Be aware that only the start point is used to create the cue sheet. If you're using region labels, the end point is not used. (Thanks, steve.)

If the label's text field looks like "track name (artist name)", then it will be parsed to populate the TITLE and PERFORMER fields for that track. If no title or artist is found, then the primary TITLE and/or PERFORMER will be used instead.

You can set the TITLE, PERFORMER, and FILE for each track. You can also set both a pre-gap and post-gap to be applied to every track. In the header area, put:

REM TITLE track title
REM PERFORMER artist name
REM FILE file.name
REM PREGAP mm:ss:ff
REM POSTGAP mm:ss:ff

Extended ranges are simply ignored. This means, lines where the first non-blank character is '\' are ignored.

cue2lbl

Examples

The cue2lbl conversion is not so straighforward. It examines only five field (record) types: TRACK, FILE, TITLE, PERFORMER and INDEX. The order that these appear in is important. TRACK must appear before the others, and INDEX must appear after.

The easiest way to see the CUE sheet format this tool knows how to parse, is to convert some labels first and look at the resulting CUE sheet output. However, there seems to be a tool or maybe two out there that generates some non-standard CUE files. Some of the non-standard bits are handled, but it might be that some are not.

There are a couple of quirks to be aware of.

First, if more than one INDEX entry is found for a track, the last one is used and the previous discarded.

Second, for CUE sheets where there is one binary file per track, the FILE entry is checked first to find the track title. The path and extension are dropped and the remaining text is used as the first attempt at a track title. If a TITLE entry is subsequently found, then it is used for the title and the file-derived name is discarded.

I have not checked what happens if TITLE appears before the FILE record. Somebody let us know what happens!

Empty lines and lines beginning with "REM " are ignored (mostly).

Non-standard INDEX records that include hours as the first segment are supported. That is, both MM:SS:FF and HH:MM:SS:FF are supported.

By default, cue2lbl will include "TITLE (PERFORMER) [FILE]" in the label file's text (third) field. To prevent one or all of these from being output, put the following in the header of the cue file:

REM NOFILE
REM NOPERFORMER
REM NOTITLE
 

SUPPORT

The formal announcement of this site was made in the Audacity forums. See this forum topic. Someone there may be able to help you out.

I've been know to make an appearance once in a very blue moon, but I am by no stretch of the imagination a regular fixture there.

I am subscribed, however, so I (usually) do see updates. Otherwise, unless/until usage warrants a dedicated support channel, please use the forum thread.

NOTE: The forum post references the now defunct Audacity Wiki. No worries. There was nothing on the wiki regarding this tool that's not on this site.

 
Click here to go the the parent page.
Copyright © 2011-2023 J. Scott Smith. All rights reserved.
Page hits: 18317