[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] weird problem with SC recorded .aiff files



> > its 32bit files by default, not all apps can handle them but quicktime

Someone may find this useful:

I wrote a little drag & drop applescript to convert to AIFF
16bit--copy this into Script Editor and save as Application, then drop
files onto it. It uses Quicktime Player (you don't have to have the
Pro version). It will convert any QT-compatible format (including
32-bit AIFFs) to 16-bit AIFF. The converted copies will be on the
Desktop.

on open droppedfiles
	tell application "QuickTime Player"
		activate
		repeat with f in droppedfiles
			set theOpenMovie to (open f)
			set this_name to the name of theOpenMovie
			tell theOpenMovie
				if can export as AIFF then
					set parentPath to ((path to desktop folder) as string)
					set outputFile to (parentPath & this_name & ".aif")
					export to outputFile as AIFF
				else
					display dialog "Can't export file as AIFF"
				end if
			end tell
			close theOpenMovie
		end repeat
		quit
	end tell
end open