I have a few dozen AIF files that I need to convert to WAV. I have converted a few by opening them in Audacity and exporting them to WAV, but this is very slow. I would like to convert them all in batch. Is there a way to do this on OS X?
Asked
Active
Viewed 1.4k times
2 Answers
13
If you want to go for a shell solution, you can do it with ffmpeg.
Option 1: download
ffmpegand extract the executableffmpegfile. Copy it to a directory that is in your executable path, e.g./usr/bin.sudo cp ~/Downloads/ffmpeg /usr/bin/ffmpeg sudo chmod +x /usr/bin/ffmpegOption 2: Use Homebrew and
brew install ffmpeg.
Now, in the folder with the AIF files, run this:
for f in *.aiff; do ffmpeg -i "$f" "${f%.aiff}.wav"; done
slhck
- 235,242
0
You should be able to convert between the two formats using iTunes instead of manually writing something yourself:
1.Open iTunes Preferences.
Windows: Choose Edit > Preferences.
Mac: Choose iTunes > Preferences.
2.Click the General button, then click the Importing Settings⦠button in the lower section of the window.
3.From the Import Using pop-up menu, choose the encoding format that you want to convert the song to, then click OK to save the settings.
4.Select one or more songs in your library, then from the File > Create New Version menu, choose one of the following (the menu item changes to show what's selected in your Importing preferences):
Create MP3 version
Create AAC version
Create AIFF version
Create WAV version
Create Apple Lossless version
root
- 3,920