Intelligent Mastering Maximizer
Increase perceived loudness while shaping the balance between clarity, impact and dynamic density. A two-pass, program-dependent offline mastering processor with adaptive lookahead limiting, optional LUFS targeting and oversampled peak protection.
What this does
Intelligent Mastering Maximizer analyses an entire recording and uses its peak, loudness and local dynamic characteristics to drive a stereo-linked lookahead limiter. It can approach a selected integrated LUFS target, or operate at a manually chosen drive level. Program-dependent release and transient-sensitive behaviour help balance loudness, punch and smoothness.
Key Features:
- Pure Praat, offline processing: no Python, plugins or external audio engines required for normal operation.
- Two-pass architecture: full-file analysis followed by controlled rendering and output verification.
- Automatic LUFS targeting or manual drive: bounded loudness search with gain-reduction limits set by the mode.
- Six mastering modes + Custom: from transparent to deliberately extreme dynamic shaping.
- Stereo-linked lookahead limiting: shared gain control preserves instantaneous left/right gain relationships.
- Program-dependent release: follows local crest factor, gain-reduction history and recent transients.
- Oversampled peak analysis: 4×, 8× or 16× with final estimated true-peak verification and correction.
- Diagnostic report and Praat Picture: loudness, peak, gain-reduction and visual feedback.
Quick start
- Select exactly one Sound object in Praat (mono or stereo).
- Run
Intelligent_Mastering_Maximizer.praat. - Select a mode; Balanced is the default starting point.
- Leave Automatic loudness targeting enabled and select a target, such as -14 LUFS Streaming; alternatively disable it and adjust Manual drive dB.
- Set True peak ceiling dBTP (default -1 dBTP) and choose Oversampling (default 4x Standard).
- Enable Show dynamics settings for detailed control, or select Custom to open the settings dialog.
- Use Generate analysis report, Visualize and Play to review the resulting Sound.
Core concept
The processor does not add loudness by simple peak normalisation. It determines a time-varying gain envelope and applies it to the audio. A mode-specific gain-reduction budget helps the automatic targeting stage avoid excessive limiting; the Experimental mode deliberately permits a much more radical result.
Six mastering modes + Custom
Transparent
Gentle dynamics with substantial transient preservation, longer lookahead and a conservative gain-reduction budget. For acoustic and dynamically sensitive sources.
Balanced
General-purpose mastering with moderate release adaptation and limiting. A practical starting point for mixed material.
Punch
Short lookahead, faster recovery and stronger transient protection. For attacks, rhythms and percussive clarity.
Dense
Slower release and broader knee to manage sustained, layered and continuous textures while reducing abrupt gain motion.
Aggressive
Higher permitted gain reduction and firmer limiting for louder results, with correspondingly greater risk of audible dynamic coloration.
Experimental
Inverts the normal release response, with long recovery after impulses and faster response on sustained sounds. Designed for audible breathing, density changes and gritty dynamics.
Custom
Starts with Balanced settings and opens a separate dialog to adjust lookahead, release, transient preservation, knee and gain-reduction budget.
Controls
Main dialog
| Control | Function |
|---|---|
| Mode | Transparent, Balanced, Punch, Dense, Aggressive, Experimental or Custom. |
| Automatic loudness targeting | Enables the offline search for a drive level approaching the selected LUFS target. |
| Target | -18 Dynamic, -16 Gentle, -14 Streaming, -12 Loud, -10 Aggressive, or Custom target. |
| Custom target LUFS | Numeric integrated-loudness target when Custom target is selected. |
| Manual drive dB | Input drive used when automatic targeting is disabled. |
| True peak ceiling dBTP | Maximum estimated reconstructed peak of the output; default -1 dBTP. |
| Oversampling | 4x Standard, 8x High or 16x Very high. Higher settings require more computation. |
| Output trim dB | Additional attenuation after mastering; positive values are not permitted. |
| Show dynamics settings | Opens the additional dynamics dialog. |
| Generate analysis report | Prints input/output measurements, targeting details and warnings to Praat Info. |
| Visualize | Draws a diagnostic overview in Praat Picture. |
| Play | Auditions the mastered Sound after processing. |
Dynamics settings
| Control | Musical effect |
|---|---|
| Lookahead ms | Controls how far before an upcoming peak gain reduction can begin. |
| Minimum release ms | Fastest permitted recovery of gain reduction. |
| Maximum release ms | Slowest permitted recovery, useful for stabilising sustained material. |
| Adaptive release strength | Controls the degree of source-dependent release adaptation. Negative values can invert its normal behaviour. |
| Transient preservation | Influences limiting response around attacks; does not reconstruct transients after limiting. |
| Knee dB | Adjusts how gradually gain reduction begins around the output ceiling. |
| Gain reduction budget dB | Constrains automatic loudness targeting to avoid demanding excessive gain reduction. |
Loudness targeting
With automatic targeting enabled, the maximizer searches for a drive level that approaches the requested integrated LUFS while respecting mode-dependent gain-reduction constraints. The search uses a faster loudness estimate during candidate evaluation and measures the final render separately.
Choose Manual drive when you want to decide the amount of limiting by ear rather than asking the processor to meet a numerical loudness target. Integrated LUFS reflects measured programme loudness; it is not interchangeable with peak level or RMS.
Adaptive dynamics
The limiter calculates a reduction envelope from its oversampled peak sidechain, with lookahead and smoothing around forthcoming peaks. Release time is adjusted according to local crest factor, recent gain-reduction activity and detected transients. The same final gain envelope is applied to both channels of stereo input.
Transient preservation changes the way limiting reacts to attacks. More preservation typically restricts the loudness that can be achieved without compromising those attacks. In contrast, Experimental deliberately changes the recovery pattern to create audible envelope motion.
True-peak protection
Peak analysis uses 4×, 8× or 16× oversampled reconstruction to estimate between-sample maxima. After rendering, the output is scanned again. Where necessary, the processor attempts additional local ceiling correction and can apply a final safety attenuation.
Visualisation
With Visualize enabled, Praat Picture draws measurements from the actual input, gain control and resulting output.
Input and output
Compare waveform levels and shape before and after mastering.
Gain reduction
Inspect when the limiter engages and how strongly it attenuates peaks.
Adaptive release
Review the changing release behaviour over the recording.
Loudness and diagnostics
Inspect loudness trajectories, the selected target and numerical measurements.
Detailed numerical values and warnings are printed to Praat Info when the analysis report is enabled.
Outputs
The processor creates a new Sound named after the selected source:
Source_mastered
The original Sound is preserved. Output retains the original duration, sample rate and mono/stereo configuration. Temporary processing objects are removed.
Analysis report: where applicable, the report includes input/output integrated LUFS, LRA, sample peak, estimated true peak, crest factor, drive, gain-reduction statistics, effective release, peak-correction activity, processing time and warning messages.
Requirements
| Component | Requirement |
|---|---|
| Praat | Praat 6.x / 7.x; script header reports testing with 6.4.06, 6.4.63 and 7.0. |
| Input | Exactly one selected mono or stereo Sound, at least 10 ms long. |
| Processing | Offline only; native Praat, with no Python or external processing dependency. |
| Output | New Sound object with optional Praat Info report, Picture visualisation and playback. |
Limitations & performance
- Target limitations: some loudness targets are unattainable within the selected gain-reduction budget; the achieved LUFS may differ.
- True-peak estimation: oversampled measurements are estimates and should be verified externally when strict delivery compliance is required.
- Source-dependent sound: an aggressive preset can add audible distortion or pumping; no mode is universally optimal.
- Transient control: preservation influences the gain envelope but cannot restore information removed by limiting.
- Computational demands: longer files and 8×/16× reconstruction may take more time and memory.
- Mono/stereo only: multichannel input is not supported.
- Silence and short signals: silent inputs are handled by bypass; sounds shorter than 10 ms are rejected, and some loudness measures may be unavailable for short or very quiet signals.
Musical applications
Transparent acoustic mastering
Start with Transparent on chamber music, solo instruments or quiet orchestral material where natural dynamics and attack shape matter.
General-purpose loudness balancing
Use Balanced with an integrated LUFS target to prepare comparable versions of different pieces or mixes.
Rhythmic impact
Try Punch on drums, pop or transient-rich electroacoustic music. Compare attack quality and average loudness against Balanced at matched playback level.
Continuous electroacoustic textures
Choose Dense for drones, layered synthesis or other sustained material that benefits from slower gain recovery.
Creative dynamics as composition
Use Experimental to treat attenuation and recovery as an audible compositional gesture, rather than a transparent mastering stage.
Compositional idea
Render one sound in Transparent, Dense and Experimental. Loudness-match the three versions for listening, then compare how the attack, sustain and recovery shape the perceived articulation of the same source.