HydrogenAudio

CD-R and Audio Hardware => CUETools => Topic started by: peter762033 on 2020-12-30 16:20:26

Title: Merging split FLAC files
Post by: peter762033 on 2020-12-30 16:20:26
Hi,

I have a ripped cd which I split with CUEtools a while back but I now want to merge the files back together. I had the gap handling set to "Gaps appended to previous track. HTOA lost."

I have the original .cue from when the cd was ripped, should I use this to merge the files and how do I do this?

Also will the merged file be identical to the original single flac file before it was split considering the gap handling setting?

Thanks,
Pete
Title: Re: Merging split FLAC files
Post by: korth on 2020-12-30 18:26:30
CUETools created a new CUE with the individual files when you split the Image. If you have that one, you would use it as the source file to join the tracks. If you don't have that CUE, please post the contents of the original CUE so I can advise if you need to do anything other than using track 1 as the source file.

The audio of the new Image would be the same as the original Image (except any content that wasn't "digital silence" before track1, if any existed).
Title: Re: Merging split FLAC files
Post by: peter762033 on 2020-12-31 11:51:20
Hi Korth,

Thanks for your reply.

Yes I luckily kept the .cue from when the file was split. Should I add that to the folder with the individual tracks and use that folder as the input?

The HTOA is showing as 00:00:32 so I'm guessing it was digital silence as it is such a short file?

Thanks for your help,
Pete
Title: Re: Merging split FLAC files
Post by: korth on 2020-12-31 12:10:42
That's confusing.
Quote
"Gaps appended to previous track. HTOA lost."
but now you have HTOA instead of a 'PREGAP'?

The 32 frames may or may not be "digital silence". Analog recordings may have inaudible noise (not zeroes) that can end up in the area before track 1. Replacing the "inaudible noise" with "digital silence" will change the hash of the Image. An HTOA file preserves the
audio ("inaudible noise" or "digital silence") where a PREGAP adds only "digital silence" to the beginning of the Image.

I would put the tracks.CUE in the folder with the tracks and select only the CUE as input. Selecting the folder should be fine as well but keep in mind that when you select a folder, CUETools will process everything in the folder and sub-folders.
Title: Re: Merging split FLAC files
Post by: peter762033 on 2020-12-31 12:45:08
Hi Korth,

Sorry my mistake, yes it is a PREGAP like you say.

Ok I understand, for future reference if I were to split a large file should I preserve the HTOA and store it just incase?

Ok that makes sense.

Thanks again,
Pete
Title: Re: Merging split FLAC files
Post by: korth on 2020-12-31 13:00:19
Quote
should I preserve the HTOA and store it just incase?
I don't (unless there is actual content like a hidden song) but that's up to you. I just wanted to point out that the hash may be different even though everything you can hear is unchanged.
Title: Re: Merging split FLAC files
Post by: peter762033 on 2020-12-31 17:52:30
Hi Korth,

Ok great thanks for your help, much appreciated!

Pete