DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::OfflinePeakCompressor< T >::Options Struct Reference

#include <OfflinePeakCompressor.h>

Public Attributes

double reductionDb = 0
 Requested whole-file sample-peak reduction, 0..18 dB.
 
double lookaheadMs = 2
 Requested anticipation, 0.1..10 ms; render may extend to 10 ms.
 
double releaseMs = 80
 Amplitude recovery time constant, 60..100 ms.
 
std::span< const OfflineRegion > exclusions {}
 Exact PCM; feathering is outside regions.
 

Detailed Description

template<FloatType T>
struct dspark::OfflinePeakCompressor< T >::Options

Definition at line 51 of file OfflinePeakCompressor.h.

Member Data Documentation

◆ exclusions

template<FloatType T>
std::span<const OfflineRegion> dspark::OfflinePeakCompressor< T >::Options::exclusions {}

Exact PCM; feathering is outside regions.

Definition at line 56 of file OfflinePeakCompressor.h.

◆ lookaheadMs

template<FloatType T>
double dspark::OfflinePeakCompressor< T >::Options::lookaheadMs = 2

Requested anticipation, 0.1..10 ms; render may extend to 10 ms.

Definition at line 54 of file OfflinePeakCompressor.h.

◆ reductionDb

template<FloatType T>
double dspark::OfflinePeakCompressor< T >::Options::reductionDb = 0

Requested whole-file sample-peak reduction, 0..18 dB.

Definition at line 53 of file OfflinePeakCompressor.h.

◆ releaseMs

template<FloatType T>
double dspark::OfflinePeakCompressor< T >::Options::releaseMs = 80

Amplitude recovery time constant, 60..100 ms.

Definition at line 55 of file OfflinePeakCompressor.h.


The documentation for this struct was generated from the following file: