Rockbox General > Rockbox General Discussion
Embedded cuesheets
philibuster:
I know rockbox supports external cuesheets for files, but I am wondering if embedded cuesheets will ever be supported for flac or other file types.
Is there talk of getting the cuesheet reader to read the cuesheet block in the file?
Thanks for all your help.
linuxstb:
Yes, implementing embedded cuesheet support for FLAC is something I would like to add.
However, I don't have any such files (I split all my FLACs into tracks), and am curious how the metadata (track names, artists etc) are handled in such files.
Is there a convention for tagging multiple tracks in vorbis comments? What's the default behaviour of common tools like EAC and foobar?
philibuster:
I think ogg is a whole different animal from flac. Ogg uses chained streams while flac has a cuesheet block. I may be wrong, but I think they're fundamentally different.
http://flac.sourceforge.net/format.html#metadata_block_cuesheet
details how the format works in flac.
I can send a test flac with test tones if you'd like.
The tag "cuesheet" is what foobar2000 reads, but there is a different spec for the cuesheet metadata block.
This is how foobar writes the tags for multiple values per file (these are output using the function "--export-tags-to=" with metaflac):
--- Code: ---cue_track01_ALBUM=track 1 album title
cue_track01_ALBUM ARTIST=track one album artist
cue_track01_artist=Artist track 1
cue_track01_COMMENT=comments for track two
cue_track01_COMPOSER=track one composer
cue_track01_DATE=track one date
cue_track01_DISCNUMBER=track one disc number
cue_track01_GENRE=track one genre
cue_track01_PERFORMER=track one performer
cue_track02_ALBUM=track two album
cue_track02_ALBUM ARTIST=track two album artist
cue_track02_artist=track two artist
cue_track02_COMMENT=comments for track two
cue_track02_COMPOSER=track two composer
cue_track02_DATE=track two date
cue_track02_DISCNUMBER=999
cue_track02_GENRE=track two genre
cue_track02_PERFORMER=track two performer
cue_track02_TOTALDISCS=track two disc
cue_track03_ALBUM=track three album
cue_track03_ALBUM ARTIST=track three album artist
cue_track03_ARTIST=track three artist
cue_track03_COMMENT=track three comments
cue_track03_COMPOSER=track three composer
cue_track03_DATE=track three date
cue_track03_DISCNUMBER=track three disc number
cue_track03_GENRE=track three genre
cue_track03_PERFORMER=track three performer
cue_track03_TOTALDISCS=track three total discs
cuesheet=FILE "CDImage.wav" WAVE
TRACK 01 AUDIO
TITLE "track 1 title"
PERFORMER "Artist track 1"
REM DATE track one date
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "track two title"
PERFORMER "track two artist"
REM DATE track two date
INDEX 01 00:20:00
TRACK 03 AUDIO
TITLE "track three title"
PERFORMER "track three artist"
REM DATE track three date
INDEX 01 00:40:00
totaltracks=3
--- End code ---
This is what the option "--export-cuesheet-to=" using metaflac gives:
--- Code: ---FILE "tones.flac" FLAC
TRACK 01 AUDIO
INDEX 01 0
TRACK 02 AUDIO
INDEX 01 882000
TRACK 03 AUDIO
INDEX 01 1764000
REM FLAC__lead-in 0
REM FLAC__lead-out 3 2880000
--- End code ---
I think it would be best to read the cuesheet tag rather than the cuesheet metadata block, although the metadata block tells the number of samples rather than frames, as the tag tells you.
linuxstb:
Thanks for the info.
"vorbis comments" is the tagging format used in FLAC files, I wasn't talking about Ogg files (vorbis comments are used there as well though).
Why do you think it's better to read the cuesheet tag? The FLAC specification seems to be encouraging the use of the CUESHEET block along with tags like the cue_trackNN* tags foobar is adding.
Also, do you know of any applications apart from foobar with support for FLACs with embedded cues?
Llorean:
My personal vote is to comply with the set standard, which in this case is the cuesheet block.
Navigation
[0] Message Index
[#] Next page
Go to full version