DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
Loading...
Searching...
No Matches
TruePeakDetector.h File Reference

Shared ITU-R BS.1770 true-peak (inter-sample peak) detector. More...

#include "DspMath.h"
#include "SimdOps.h"
#include <algorithm>
#include <array>
#include <cassert>
#include <cmath>
Include dependency graph for TruePeakDetector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dspark::TruePeakDetector< T, MaxChannels >
 Per-channel 4x-oversampled inter-sample peak estimator. More...
 

Namespaces

namespace  dspark
 Main namespace for the DSPark framework.
 

Detailed Description

Shared ITU-R BS.1770 true-peak (inter-sample peak) detector.

Estimates the analog reconstruction peak of a digital signal with the official ITU-R BS.1770-5 Annex 2 4x over-sampling interpolator: the reference 48-tap, 4-phase polyphase FIR (12 taps per phase). The EBU Tech 3341 true-peak tolerances (+0.2/-0.4 dB, cases 15-23) are defined around exactly this filter, and DSPark passes them with it.

One shared implementation backs every true-peak consumer in the framework (Compressor, Limiter, LoudnessMeter), so the filter design exists in exactly one place.

Dependencies: DspMath.h, SimdOps.h.

Definition in file TruePeakDetector.h.