Kernel 2.6.21.5, slackware 12.0
Hi:
I write here because flac and cdrecord are programs present in slack 12. IDK if in other distros as well.
I have these two files in a directory. The .cue contains the indexes to split the .flac.
Code:
CD6\ Nos.22,23,24,25,26.cue
CD6\ Nos.22,23,24,25,26.flac
It's my intention to create an audio CD from the .flac. From flac manual:
Code:
DECODING OPTIONS
--cue=[#.#][-[#.#]]
Set the beginning and ending cuepoints to decode. The optional first #.# is the track and index
point at which decoding will start; the default is the beginning of the stream. The optional
second #.# is the track and index point at which decoding will end; the default is the end of
the stream. If the cuepoint does not exist, the closest one before it (for the start point) or
after it (for the end point) will be used. If those don't exist, the start of the stream (for
the start point) or end of the stream (for the end point) will be used. The cuepoints are
merely translated into sample numbers then used as --skip and --until.
From the .cue:
Code:
TRACK 01 AUDIO
TITLE "Piano Sonata No.22 in F minor, op.54 - I. In Tempo d'un Menuetto"
INDEX 00 00:00:00
INDEX 01 00:00:33
TRACK 02 AUDIO
TITLE "Piano Sonata No.22 in F minor, op.54 - II. Allegretto - Piu Allegro"
INDEX 00 05:15:55
INDEX 01 05:17:45
In principle, I could do
Code:
flac --decode --cue=01.00-02.00 "CD6\ Nos.22,23,24,25,26.flac"
and to have the first track decoded and ready to be fed to cdrecord. But this is sheer nonsense. How could flac know he must decode from 00:00:00 to 05:15:55 without a reference to the cuefile? I can't find a way out. Any idea?