Categories: Misc / DotNet / Java / Coder / Linux / PHP Ask - La ask - La Answer

CDs, iTunes, & AAChoo

I'm trying to use AAChoo to get the best quality AAC rips. AAChoo can somehow access the QuickTime AAC encoder without having to purchase QT Pro. It is very slow, so I decided I would use iTunes to rip a mess of AIFF files at once, then let AAChoo convert them when I'm away from the computer.

Unfortunately, it appears that AAChoo can't see the tags for the AIFF files, so here's what I've been doing:

I set up a new user so that I could muck with the library.
iTunes configured to rip AIFF, to include track number as part of song file name, and to NOT organize the library.
AAChoo configured to delete original after encoding, maintain original directory structure, and store the AAC files in a new location.
Install the following two of Doug's Applescripts (http://www.malcolmadams.com/itunes/): Albumize Selection, Remove n Characters From Front.
Insert CD #1, check song name tags from CDDB, and rip using iTunes.
Insert CD #2, check song name tags, rip. [Repeat about 6 times]
Quit iTunes and launch AAChoo.
Drag the folders containing the AIFF files from the Finder to AAChoo.
Wait. The AAC encoding at Best quality only goes at about 2x or 3x.
Quit AAChoo and launch iTunes.
One by one, select the AAC folder named after each album to the Playlist column in iTunes, which creates a new playlist including only the songs from that album. Since the tag data is missing, only the Song Name is shown, matching the file name exactly; e.g., '02 Right Ground'.
Select all songs in the playlist, verifying that they are in "play order", and run the applescript Albumize Selection to get the correct track numbering ('5 of 12').
The files are still selected, so run Remove n Characters, set to 3, to trim the track numbers from the filenames.
Manually enter the album name, artist name, year, and genre.

Has anyone else tried this? Any shortcuts that I'm missing here?
[2027 byte] By [thenightfly42] at [2007-11-9 12:18:53]
# 1 Re: CDs, iTunes, & AAChoo
Here's what I do:
Rip CD to AIFF using iTunes. This gets all the tags set nicely.
Convert to AAC using iTunes. This runs at 8-9 realtime on my Powerbook and will keep the tags. Make sure you use the same bitrate you intend to use with aachoo.
Close iTunes and use aachoo to encode the AIFFS again without updating the iTunes database.
Then just copy the new AAC files over the iTunes encoded ones.
Open up iTunes and everything is still tagged nicely.
paulj at 2007-11-15 16:47:50 >
# 2 Re: CDs, iTunes, & AAChoo
paulj, that's very interesting and helpful, thanks. Three questions:

How do you select the AIFFs and keep them separate from the AACs when you run the AAChoo step?

Do you allow AAChoo to delete the AIFFs?

When you copy the files over the old ones, that is done in the Finder?
thenightfly42 at 2007-11-15 16:48:51 >
# 3 Re: CDs, iTunes, & AAChoo
Originally posted by thenightfly42
paulj, that's very interesting and helpful, thanks. Three questions:

How do you select the AIFFs and keep them separate from the AACs when you run the AAChoo step?

Do you allow AAChoo to delete the AIFFs?

When you copy the files over the old ones, that is done in the Finder?

1. Set up a smartlist using the KIND field. Set to match 'AIFF Audio Files'.

2. I set AAChoo to not delete the AIFFS, but that's just to save me having to re-rip again if I ever re-encode. I store them all on a LaCie firewire external.

3. Yes. In the finder. You'd best delete the old ones before copying the AAChoo files to prevent Finder suffixing them with a number and ending up with two AAC's. :)
paulj at 2007-11-15 16:49:49 >
# 4 Re: CDs, iTunes, & AAChoo
I've just read a thread over at Hydrogenaudio indicating that our extra effort is no longer needed.

Here's what he said:

I would just like to point out to anybody interested, is that iTunes 4 does use the same encoder as QuickTime 6.3, it's just that in the 4.0 release it was accidently hardcoded to the fastest setting. 4.01 has corrected this and it is now hard coded to highest quaiity (as seen by the extreme decrease in encoding speed on my powerbook (13.9x down to 7.2x)).

I am 99.99999% sure on this, but maybe someone with better ears than me could verify it.

See the post by loophole at http://www.hydrogenaudio.org/index.php?t=10457&f=2&act=ST
paulj at 2007-11-15 16:50:53 >
# 5 Re: CDs, iTunes, & AAChoo
That's interesting. iTunes 4 has been encoding my files at 7x speed the whole time. But then I have QT Pro, and have been messing about with the settings on my own, which makes me wonder if perhaps iTunes is using the defualt settings of QT.
eustacescrubb at 2007-11-15 16:51:52 >
[an error occurred while processing this directive]
[an error occurred while processing this directive]