Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 5499  / 2 Years ago, sun, february 20, 2022, 10:25:25

I have a .cue file which points to a .flac



How can I mount the image as if it were an audio CD? Is it necessary to decode the .flac file into .wav and edit the cue sheet to point to a .wav file instead (it currently points to the flac)?



I want to use abcde to split, tag, and encode the audio.



Answers I've found on here already discuss .cue/.bin combo, not audio images..


More From » mount

 Answers
5

You don't. You either burn the CUE/FLAC combination in a burner that can decode the FLAC data or you play it in something that understands what CUEs are (lots of players AFAIK).



A CUE/FLAC is very much like an audio CD. An audio CD is just linear PCM data with a CDA-formatted header that states where all the track boundaries are. In your case the audio data has been losslessly compressed into the FLAC and the CUE is the track information.



Converting to WAV only serves to undo the compression. You might need to do this to burn it to disk.






Splitting into separate tracks



If you want to split the main FLAC into separate tracks, you can use the tools from the shntool package as suggested in this blog:



cuebreakpoints filename.cue | shntool split -o flac filename.flac


You can also specify another output format instead of FLAC (option -o flac in the example).



(You'll need to install the commands first: sudo apt-get install cuetools shntool)



Tagging FLAC CD images for use with players like foobar



FLAC also allows for embedding cuesheets via metaflac and compatible taggers. Players like foobar2000 and it's Linux equivalents (DeaDBeeF and Guayadeque) can parse and play files with such metadata. Importing a properly tagged cuesheet (along with other metadata like pictures), will also import tags like individual tracknames, tracknumbers, artist and album tags.



Excerpt from metaflac manpage:



--import-cuesheet-from=file
Import a cuesheet from a file. Use '-' for stdin. Only one
FLAC file may be specified. A seekpoint will be added for
each index point in the cuesheet to the SEEKTABLE unless
--no-cued-seekpoints is specified.


But this kind of file format is rather unknown and unsupported outside the "distributed CD backup community". Mostly due to the fact that you cannot rip CDs to images on Linux like EAC does on Windows. (With EAC doing something very odd in this case, as I later learned.)


[#35790] Monday, February 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
emuralm

Total Points: 290
Total Questions: 111
Total Answers: 117

Location: China
Member since Thu, Sep 1, 2022
2 Years ago
;