# normalize-audio-loudness-loader

> WebPack loader to normalize audio loudness according to ebuR128

Latest version **1.1.2** (published 2021-06-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install normalize-audio-loudness-loader
pnpm add normalize-audio-loudness-loader
yarn add normalize-audio-loudness-loader
bun add normalize-audio-loudness-loader
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2021-06-10 |
| First published | 2021-04-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tamas Sallai |
| Maintainers | sashee |
| Keywords | webpack, loader, audio normalization, ebuR128 |

## Links

- npm: https://www.npmjs.com/package/normalize-audio-loudness-loader
- Repository: https://github.com/sashee/normalize-audio-loudness-loader
- Homepage: https://github.com/sashee/normalize-audio-loudness-loader#readme
- Issues: https://github.com/sashee/normalize-audio-loudness-loader/issues
- npm.io page: https://npm.io/package/normalize-audio-loudness-loader

## Dependencies (3)

- [loader-utils](https://npm.io/package/loader-utils.md) ^2.0.0
- [find-cache-dir](https://npm.io/package/find-cache-dir.md) ^3.3.1
- [ffmpeg-normalize](https://npm.io/package/ffmpeg-normalize.md) ^1.8.0

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.1.2 (latest) — 2021-06-10
- 1.1.1 — 2021-04-12
- 1.1.0 — 2021-04-12
- 1.0.0 — 2021-04-12

## README

# WebPack loader to normalize audio loudness according to ebuR128

It requires ffmpeg to be installed

## Install

```
npm i normalize-audio-loudness-loader
```

## Use

In the WebPack config, add the loader for the audio files you want normalized:

```
{
  test: /\.mp3$/,
  use: [
    {
      loader: require.resolve('file-loader'),
    },
    {
      loader: "normalize-audio-loudness-loader",
      options: {
        targetLoudness: -14,
      }
    },
  ],
},
```

Note that the loader gets an audio file and outputs the wav directly without emitting files. **It is intended to be used with other loaders** that write the audio and emit it. (such as the file-loader)

## Configuration

You can set 3 values:

* ```targetLoudness```: The target loudness (default: -23)
* ```lra```: Loudness range (default: 7)
* ```tp```: True peak (default: -2)

---
_Source: https://npm.io/package/normalize-audio-loudness-loader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
