Example label file:
REM TITLE My Title REM PERFORMER Group Sing REM FILE File.Name REM PREGAP 00:01:25 0.000000 0.000000 Song One 1361.000000 1361.000000 (Artist Two) 68.200000 68.200000 Song Three (Artist Three)
Note the blank line and the use of REM metas. Also note the label text includes, respectively, a song title with no performer, a performer with no title, and both a title and performer.
Resulting CUE file:
REM CUE file generated from Audacity label file REM See https://grimblefritz.com/audacity TITLE "My Title" PERFORMER "Group Sing" FILE "File.Name" WAVE REM NEW-TRACK TRACK 01 AUDIO TITLE "Song One" PERFORMER "Group Sing" PREGAP 00:01:25 INDEX 01 00:00:00 REM NEW-TRACK TRACK 02 AUDIO TITLE "My Title: Track 02" PERFORMER "Artist Two" PREGAP 00:01:25 INDEX 01 22:41:00 REM NEW-TRACK TRACK 03 AUDIO TITLE "Song Three" PERFORMER "Artist Three" PREGAP 00:01:25 INDEX 01 01:08:15 REM END-TITLE
The REM lines added during the conversion should be ignored by any app processing the generated CUE file.
Compare the TITLE and PERFORMER generated for each track to the info from the label file. Take note of how the REM metas are used to fill in for missing elements in the label text.
Notice how the pre-gap is applied to every track. The same will be true of a post-gap, if specified.
The label text for title and performer must appear in the order "PERFORMER (TITLE)". Either component can be missing, but what you cannot have is "(TITLE) PERFORMER".
If the REM metas for title, performer and file are not supplied, then they will be set to UNKNOWN TITLE, UNKNOWN PERFORMER and UNKNOWN.FILE, respectively.