Split file with cue excluding pregap

Discuss Max, an open source CD audio extractor and audio converter.
Post Reply
gregt
Posts: 3
Joined: Sun Feb 05, 2012 7:34 pm

Split file with cue excluding pregap

Post by gregt »

Hello,

I recently re-ripped all of my CDs to Apple Lossless with Cue for archival. Using Max, I would like to convert these to individual track files in AAC or MP3 to import into iTunes, but not include the pre-gap (INDEX 00) at the beginning of each track (this is sometimes 10 seconds of silence or more). Can an option be added to Max to ignore or omit the pre-gap and split starting at INDEX 01 of each track? If this isn't possible, does anyone know of another Mac OS X-Intel program to do this?

Thanks in advance.
mattn
Posts: 154
Joined: Tue Sep 02, 2008 4:21 am

Re: Split file with cue excluding pregap

Post by mattn »

XLD can do what you describe.
gregt
Posts: 3
Joined: Sun Feb 05, 2012 7:34 pm

Re: Split file with cue excluding pregap

Post by gregt »

Thanks mattn. I use XLD as well, but its MP3 encoder options are somewhat limited.

After looking further into this, it appears that when Max rips a CD, it includes the pre-gap at the end of the previous track, which is actually what I want. When transcoding from a cue sheet, however, Max includes the pre-gap at the beginning of the current track. If this was consistent (pre-gap at end of previous track) it would be perfect.

sbooth - any chance of getting this fixed/changed, or at least an option to control it?

Thanks
User avatar
sbooth
Site Admin
Posts: 2458
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: Split file with cue excluding pregap

Post by sbooth »

I think you could do this now by manually changing the INDEX entries in the cue sheets, but yes, in the long run this should be an option for image+cue splitting.
gregt
Posts: 3
Joined: Sun Feb 05, 2012 7:34 pm

Re: Split file with cue excluding pregap

Post by gregt »

I don't really want to mess with the cue sheets just to work around this - I have way too many files to deal with.

Any idea when this option might make it into Max? It hasn't been updated for well over 2 years.

Thanks.
User avatar
sbooth
Site Admin
Posts: 2458
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: Split file with cue excluding pregap

Post by sbooth »

Excellent question about the Max revision. My current priorities are (in order): Tag (90% complete), Decibel (30%) complete, then Max. I've stopped giving date estimates because I can't hold to them given my other commitments!
mattn
Posts: 154
Joined: Tue Sep 02, 2008 4:21 am

Re: Split file with cue excluding pregap

Post by mattn »

What would be cool would be if Max's code were compatible with Xcode 4.2 / 4.3 and available for forking and contributions on GitHub...
User avatar
sbooth
Site Admin
Posts: 2458
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: Split file with cue excluding pregap

Post by sbooth »

https://github.com/sbooth/Max

The svn import seems to be flaky (some refs or tags may have been lost), but I didn't want to lose the code history. That is why I hadn't done this sooner.
mattn
Posts: 154
Joined: Tue Sep 02, 2008 4:21 am

Re: Split file with cue excluding pregap

Post by mattn »

Cool, thanks. Now let's see if I can build it...!
mattn
Posts: 154
Joined: Tue Sep 02, 2008 4:21 am

Re: Split file with cue excluding pregap

Post by mattn »

Well, I couldn't (build it). The code relies upon numerous external frameworks that are not provided, and there are no instructions for obtaining them.
Post Reply