[NB: this post is going to be most useful to Linux users and people who know how to convert/use a bash script]
While I am aware that there is already a great way of convert Audacity labels to cue sheets (label2cue - https://forum.audacityteam.org/t/cue-import-export/645/1), I wanted something that would provide a little more information on the finished cue sheet, particularly artist and track titles. I mainly burn DJ mixes to CD, and need all the information easily available to CD-Text.
So, I wrote this bash script >
labelcue.txt (2.79 KB)
<, which will scan a folder for wav files with a labels.txt file, and convert the labels.txt file to a cue sheet. It gives interactive control over the album title and album artist, and will automatically save the cue sheet’s ‘FILE’ parameter as the name of the wav file, with ‘WAVE’ as the type. I use the same calculations as the label2cue Java program (thanks to ‘AndrewTheArt’ for authoring that), so the index times on the resulting cue sheets should be identical.
To get the bash script to run, you will need the following programs on Linux: zenity, tr, cut, bc, sed - all except zenity are likely to be part of a standard installation. However, you will also this ‘bc’ file >
bc.txt (1.74 KB)
<, uploaded to your home directory. If you upload it to another directory, you will need to change all instance of “bc ~/bc” in the bash script, replacing the tilde (~) with the full path to your home directory. Someone who knows bc better than I do might be able to make this work without the additional bc file…
If anyone can improve on or alter this script, please do so and post it up here for the benefit of others and myself. I am no bash expert, and, while I have found this works fine for me and does not do anything unpleasant, I am sure there will be the odd mistake in there. Anyway, I hope someone finds it useful.
I wrote a blog post about burning gapless mix CDs, which someone also might find useful: http://www.djkaboodle.co.uk/blog/2011/may/29/burning-mixes-cd-how. Again, any corrections or improvements are appreciated.