# Bulk Normalize AIFF Files

**URL:** <https://forum.audacityteam.org/t/bulk-normalize-aiff-files/65059>\
**Category:** macOS\
**Created:** [June 6, 2022, 8:03pm UTC](https://forum.audacityteam.org/t/bulk-normalize-aiff-files/65059 "2022-06-06T20:03:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![LexVAPin](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/l/71e660/32.png) [@LexVAPin](https://forum.audacityteam.org/u/LexVAPin)\
**Post date:** [June 7, 2022, 2:17pm UTC](https://forum.audacityteam.org/t/bulk-normalize-aiff-files/65059/4 "2022-06-07T14:17:53Z")

</div>

> [@](#):
>
> > [@](#):
> >
> > 01 Select All  
> > 02 Normalize, Apply Gain = 1, Peak Level -5, RemoveDCOffset=1, StereoIndependent=0  
> > 03 -End-
> > 
> > I have no idea if those settings are appropriate, but it seems to work OK.
> 
> “-5 dB” may be a bit low (depending on your needs), but other than that it looks good to me. I generally normalize to -1 dB for music that I intend for listening.
> 
> > [@](#):
> >
> > So I tried Apply Macro / Palette, selected my macro, selected files in a folder. Audacity seems to run, but the volume / amplitude appears to not change (in the image, briefly before it disappears) and the files are apparently not saved as the last modified date does not change. If the files are changed, I have no idea where the saved files are.
> > 
> > Any suggestions on what I should do differently?
> 
> As you’ve worked out, applying to “files” is the way to go, but you will need to add one of the “Export” commands at the end of the script. For example, if you want to export as WAV, use the “Export as WAV” (“ExportWav:”) command. The WAV file will then be exported to a “macro output” folder according to your Preference settings (see: [Directories Preferences - Audacity Manual](https://manual.audacityteam.org/man/directories_preferences.html))

Thanks for the comments. I initially tried 0 dB in these AIFF lossless files. That seemed to work fine. But when converting to MP3 and reimporting them into Audacity to view them, some files displayed quite a bit of overload / clipping (those red vertical lines in the waveform) that were not in the AIFF. I thought I read somewhere that getting clipping in MP3 when the original did not have clipping is not uncommon. I have tried -2 dB and am now just trying -5 dB.

I was guessing -5 dB might be a good compromise as I am not going to be able to normalize all of my songs, so this will place these in the middle. Plus, hearing the difference of 3 dB or so is fairly obvious when played side-by-side, but not so in a noisy car. Still experimenting thought.

I appreciate the comment that I need a save command. I will be importing these into Apple Music. I think it cannot handle WAV. There is not a specific save for AIFF, but if I select ‘Export Audio’ it seems to do so back into AIFF. So I will try that command.

During the rapid running of this Macro, I never saw the display change, so it looked to me that Normalize did not occur.

“I assume you already know that regular (peak) normalization doesn’t match “loudness”.”

Yes, and no. I realize there are things like compression that makes a file sound louder by raising the overall sound level without necessarily affecting the peaks. But I don’t want to lose the dynamic range. There is also Amplify and Loudness Normalization. I am still studying and trying to understand the advantages / disadvantages of each. Loudness Normalization seems to introduce a compression to the music which I would like to avoid. Might work great for speech, but not desirable for music (radio stations take note!).

> [@Normalize effect and Loudness normalizer effect: Difference?](https://forum.audacityteam.org/t/normalize-effect-and-loudness-normalizer-effect-difference/57900/1):
>
> What is the difference between the Normalize effect and the Loudness normalizer effect? In layman’s terms. I would explain it as: the Normalize effect is about peaks, and the Loudness normalizer effect is about averages. Am I close? Thx in advance! PS. If I have a track, with me talking, how can I measure that audio track’s RMS and peak?

“The WAV file will then be exported to a “macro output” folder according to your Preference settings (see: [https://manual.audacityteam.org/man/dir](https://manual.audacityteam.org/man/dir) … ences.html)”

I don’t see that option in the Mac version.

 ![Screen Shot 2022-06-07 at 10.09.54 AM.jpg](https://forum.audacityteam.org/uploads/default/original/3X/3/e/3e5e26fa87a7cef822d23cca57867e917f9232cf.jpeg)

---

_[View the full topic](https://forum.audacityteam.org/t/bulk-normalize-aiff-files/65059)._
