Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Convert audio files via AppleScript and afconvert Apps
These AppleScript applications [84KB download] provide a drag-and-drop method for using Leopard's command line audio conversion application (afconvert) to convert audio files to aac (.m4a) format. The AAC conversion script allows user selection of output data rates, and the Apple Lossless Codec conversion script uses the built-in Apple method to automatically convert to audio files of that format.

Files that can be converted should include any audio files that can be read by QuickTime, except for those that are protected by DRM.

The scripts are fully editable, so they can be used as templates for any shell script methods for which the user specifies a conversion command line, including input and output file specifications. Perhaps the most unique feature of the scripts is that the output files are organized into a folder hierarchy which duplicates that of the dropped items. That hierarchy is created inside a folder named Converted_audio in the same folder as the dropped items. In theory, it would be possible to drop an entire iTunes Music folder for conversion if desired, though this hasn't been tested.

[robg adds: This hint originally appeared on the author's blog. Use the embedded download link above to get the newest versions. If that link no longer works at some point in the future, try this Mac OS X Hints copy instead. I have not tested these scripts. This older hint explains how to use a Perl script to work with afconvert.]
    •    
  • Currently 1.40 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (5 votes cast)
 
[10,019 views]  

10.5: Convert audio files via AppleScript and afconvert | 0 comments | Create New Account
Click here to return to the '10.5: Convert audio files via AppleScript and afconvert' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.