5

I've tried Googling but can only find guides for the other way around.

I have a few flac files from an album, all properly tagged. I'd like to make them into a single flac file with a cuesheet automatically (ie not pasting into Audacity and making the Cue myself).

Is this possible?

4 Answers 4

8

Use shntool, a multipurpose, multiformat command-line tool for manipulating lossless audio files.

shntool join -o flac *.flac

This generates a file joined.flac which contains the audio content of each of the files in *.flac. Note that you might want to specify the names of the FLAC files, rather than leaving it to *.flac. This lets you be sure that the files are joined in the correct order, and that no unwanted FLAC files get included.

shntool cue *.flac > joined.cue

This generates a CUE file joined.cue, a simple text file listing tracks and timings. The same caution about specifying names of the FLAC files applies. (If you are trying these commands in order, joined.flac will now be one of the files caught up in *.flac.)

2
  • Although note that this will include joined.flac in your cue file, which you probably do not want.
    – mattdm
    Nov 17, 2013 at 18:55
  • Thanks for the tip about shntool. I was looking to do the opposite (split a single file) and this was perfect.
    – suprjami
    Jun 16, 2016 at 10:59
1

Cuetools should let you do this - You can select the whole folder the files are in, and select "Embedded" for mode (embedded refers to album art, not the flac file. Select image+cue for a seperate album art image) and "Encode" For action. Select flac for filetype and libflake for the encoder

enter image description here

This will pop up a window that will have several sets of data for the cue sheet - the first one is based off your data, the others off freedb and other sites.

enter image description here

This should give you a single flac file with a cue file.

2
  • Thanks, I already have CueTools, so I don't know why I didn't try poking around in there first. Is it common to use an embedded cuesheet? Is there not better support for having a separate one?
    – Ivy
    Jun 3, 2012 at 13:10
  • embedded dosen't refer to the cue sheet, it refers to album art
    – Journeyman Geek
    Jun 3, 2012 at 13:39
0

Nope. According to the CueTools Wiki page "embedded" refers to the cue sheet. You have the option to embed it into the flac file, to create two separate flac+cue files, or to create different flacs for each track in the cue. (Though I'm unaware of a software player which actually supports embedded cue sheets, you may know of one.)

1
  • Max convertor supports embedded cue sheets. It can convert FLAC (and other formats) to Apple Lossless and import files to iTunes. Mar 10, 2013 at 18:22
0

Have a look at Foobar2000 it can create single file with embedded cue sheet and can also embed art work and can play the resulting file as well http://www.foobar2000.org/

2
  • 2
    Welcome to Super User! Generally we like answers on the site to be able to stand on their own - Links are great, but if that link ever breaks the answer should have enough information to still be helpful. Please consider editing your answer to include more detail. See the FAQ for more info.
    – slm
    May 3, 2013 at 12:54
  • Please read How do I recommend software for some tips as to how you should go about recommending software. You should provide at least a link, some additional information about the software itself, and how it can be used to solve the problem in the question.
    – DavidPostill
    Apr 25, 2017 at 9:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.