Recently, faced with cutting the audio image in the tracks. Of course for images taken with CDDA discs there is a program "shnsplit" (which is part of shntool), but the trouble is it does not work with audio is better than 16bit 44.1 kHz. And I just had to cut rips with LPs as a 24-bit 96 kHz, proved that it can be done with remarkable audio editing audacity. If this editor feed file marks which contains the same information about the tracks in the form:
Start_trak_sec End_trakc_sec Trakc name
* * *
* * *
Start_trak_sec End_trakc_sec Trakc name
and then select the menu item "Export to multiple files" then the image cut yourself and remain on the tracks.
But where to get the file marks? So I decided to write a script that would convert a CUE in that same file notes.
That's actually it is:
For his work is needed by package Sox (package is needed to get the total playing time for a last-tagging, can in principle be done without it just will not be the end of the last track. But the last mark you can always edit your hands including in graphical mode (just sliding the slider) in audacity)
works like this:
./cue2labels.sh File_name.cue
result is a file labels.txt that appears in the current directory.