How can I make a FLAC+cue from multiple FLAC files?

Solution 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.

Solution 2:

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.)