Tag Archives: code

Applescript To Convert Files To 96Khz/24bit Files

My audio interface I use in the studio is capable of recording at 96khz. Now does recording in that higher rate make things sound good? Yes, it does. But one of the things that is a pain in the ass is converting things to get ready to record in Logic at 96Khz. I have a Logic template set up that defaults to being at 96khz, but if I drag say a Band in a Box generated background over, or want to use something I did that is in my iTunes, Logic will switch it to a lower rate. Ugh. So, I came up with this Applescript that I hacked together from various sites on the web, such as this one. It’s drag and drop, and will work with multiple files. Enjoy

property destlocation : missing value
property my_Folder : missing value
property s_a_folder : missing value
property command_start : "afconvert -f \"WAVEf\"" & space
property command_text_spec : space & "-d \"I24@96000\"" & space
property command_rate_spec : ""
property theitemname : missing value
property rootloc : missing value
property the_file : missing value
property the_data : missing value

on open these_items
my convert_audio(these_items)
end open
Continue reading Applescript To Convert Files To 96Khz/24bit Files