๐Ÿ‹
Menu
Audio

Normalization

Normalization (Audio Level Adjustment)

The process of adjusting the overall volume of an audio recording so that its loudest point reaches a target level, ensuring consistent loudness across different tracks or recordings.

ๆŠ€่ก“็š„่ฉณ็ดฐ

Peak normalization scales the entire waveform so the highest sample reaches 0 dBFS (or a specified target), maintaining dynamic range but not perceived loudness. Loudness normalization (EBU R128, ITU-R BS.1770) adjusts based on LUFS (Loudness Units Full Scale) measurements, which better reflect human perception by weighting frequencies. Spotify targets -14 LUFS, YouTube -13 LUFS, and Apple Music -16 LUFS. In the Web Audio API, GainNode adjusts volume dynamically, while offline processing via OfflineAudioContext enables full-file analysis before normalization.

ไพ‹

```javascript
// Normalization: Web Audio API example
const audioCtx = new AudioContext();
const response = await fetch('audio.mp3');
const buffer = await audioCtx.decodeAudioData(await response.arrayBuffer());
const source = audioCtx.createBufferSource();
source.buffer = buffer;
source.connect(audioCtx.destination);
source.start();
```

้–ข้€ฃใƒ„ใƒผใƒซ

้–ข้€ฃ็”จ่ชž