Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: FLAC Audio Files Drop 1 or 2 Seconds at End of Track (Read 1183 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

FLAC Audio Files Drop 1 or 2 Seconds at End of Track

Audio Recorder: Exact Audio Copy v1.1 (June 2015)
Streaming Player: WDTV Media Player
Computer Player: Foobar2000 v1.3.10
Computer OS: Windows 7

PROBLEM
I have converted a set of audio book CD's to FLAC files and Cuesheets onto my hard drive. When I load the Cuesheet into Foobar2000, all tracks on the CD play all the way to the end of each track. However, when I stream that same Cuesheet/FLAC over my WiFi to the WDTV device in the other room of the house, the last one or two seconds of the tracks get dropped.

QUESTION
Is there any way to add one or two seconds to each track using the cuesheet without messing up the rest of the track, and without having to re-record the CD's ?

It could be a problem with the WDTV device. In which case I'm not sure if there is a solution. Any ideas?

I have tried using INDEX 00 hh:mm:ff, or POSTGAP 00 hh:mm:ff, but it does not recover those lost seconds (and words) of audio.

EXAMPLE
Original Cuesheet:

TITLE "Audio Book CD 1"
FILE "Audio Book CD 1.flac" WAVE
TRACK 01 AUDIO
TITLE "Track 01"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "Track 02"
INDEX 01 03:01:61
TRACK 03 AUDIO
TITLE "Track 03"
INDEX 01 06:00:72

Cuesheet Modification Using Pregap:

TITLE "Audio Book CD 1"
FILE "Audio Book CD 1.flac" WAVE
TRACK 01 AUDIO
TITLE "Track 01"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "Track 02"
INDEX 00 03:01:61
INDEX 01 03:03:61
TRACK 03 AUDIO
TITLE "Track 03"
INDEX 00 06:00:72
INDEX 01 06:02:72

Cuesheet Modification Using POSTGAP:

TITLE "Audio Book CD 1"
FILE "Audio Book CD 1.flac" WAVE
TRACK 01 AUDIO
TITLE "Track 01"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "Track 02"
INDEX 01 03:01:61
POSTGAP 00 03:03:61
TRACK 03 AUDIO
TITLE "Track 03"
INDEX 01 06:00:72
POSTGAP 00 06:02:72

Re: FLAC Audio Files Drop 1 or 2 Seconds at End of Track

Reply #1
After experimenting with pregap'ing a bit, it turns out that what I really need is OVERLAPPING. By this, I mean that the last 3 seconds of track 02, for example, should be repeated at the beginning of track 03.

QUESTION:  Is Overlapping of tracks possible using the Cuesheet for a FLAC Audio file?

Using INDEX 00 (Pregap) and Foobar2000 for tracks after track 01, it seems pregap does not achieve the desired result. On tracks 02+, the only thing it does is change the END time of the current track, and change the START time of the next track. There is no overlapping.

EXAMPLE: Let's say I am trying to overlap the last 3 seconds of track 02 with the first 3 seconds of track 03.

Original Cuesheet
Code: [Select]
TITLE "CD1"
FILE "CD1.flac" WAVE
  TRACK 01 AUDIO
    TITLE "Track 01"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Track 02"
    INDEX 01 03:01:61           << Normal START time of track 02
  TRACK 03 AUDIO
    TITLE "Track 03"
    INDEX 01 06:00:72           << Normal START time of track 03
Modified Cuesheet
Code: [Select]
TITLE "CD1"
FILE "CD1.flac" WAVE
  TRACK 01 AUDIO
    TITLE "Track 01"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Track 02"
    INDEX 00 02:58:61   << This "pregap" syntax only changes the START time of track 02
    INDEX 01 03:01:61
  TRACK 03 AUDIO
    TITLE "Track 03"
    INDEX 00 05:57:72   << This "pregap" syntax only changes the START time of track 03
    INDEX 01 06:00:72

Re: FLAC Audio Files Drop 1 or 2 Seconds at End of Track

Reply #2
If you split image+cue to separate flac files and use them for playback, problem remains?

Re: FLAC Audio Files Drop 1 or 2 Seconds at End of Track

Reply #3
Quote
QUESTION:  Is Overlapping of tracks possible using the Cuesheet for a FLAC Audio file?

CUE sheet describes layout of Audio CD disks. Tracks on c CD cannot overlap (obviously), so the answer to your question is no.
P.S. how are these questions related to foobar2000?

Re: FLAC Audio Files Drop 1 or 2 Seconds at End of Track

Reply #4
P.S. how are these questions related to foobar2000?
I originally posted in another category, but the Forum Administrator moved my post to FB2K for some reason.

If you split image+cue to separate flac files and use them for playback, problem remains?
Converting to separate FLAC files may be the best workaround. I will try it.

I tried to use PREGAP to rewind the start of a track just a bit to play what was cut off from the previous track, but this statement is not recognized by FB2K or WDTV. It seems to be simply ignored.
Code: [Select]
TITLE "CD1"
FILE "CD1.flac" WAVE
  TRACK 01 AUDIO
    TITLE "Track 01"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Track 02"
    INDEX 01 03:01:61           << Normal START time of track 02
  TRACK 03 AUDIO
    TITLE "Track 03"
    PREGAP 05:57:72                    << Rewind 3 seconds to create Overlap (does not work)
    INDEX 01 06:00:72           << Normal START time of track 03

What I need is Cuesheet syntax for End-of-Track (EOT), but this is not be provided by the Cuesheet specification.
Code: [Select]
TITLE "CD1"
FILE "CD1.flac" WAVE
  TRACK 01 AUDIO
    TITLE "Track 01"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Track 02"
    INDEX 01 03:01:61           << Normal START time of track 02
    EOT       06:03:72                  << Allow End-of-Track to Overlap with start of next track
  TRACK 03 AUDIO
    TITLE "Track 03"
    INDEX 01 06:00:72           << Normal START time of track 03