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

#include <OfflineStereoBalance.h>

Public Attributes

double levelingAmount = 0
 0..1 of the measured log-gain correction.
 
bool guard = false
 Verify the actual windowed side/mid energy ceiling.
 
std::optional< double > targetSideShare
 
double guardMarginDb = 3
 0..12 dB above the target side/mid power ratio.
 
double maximumBoostDb = 12
 0..24 dB leveler boost cap.
 
double maximumCutDb = 24
 0..60 dB leveler attenuation cap.
 
double maximumGuardCutDb = 60
 0..120 dB additional guard attenuation cap.
 
std::span< const OfflineRegion > exclusions {}
 Exact source-relative protected PCM.
 

Detailed Description

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

Definition at line 51 of file OfflineStereoBalance.h.

Member Data Documentation

◆ exclusions

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

Exact source-relative protected PCM.

Definition at line 61 of file OfflineStereoBalance.h.

◆ guard

template<FloatType T>
bool dspark::OfflineStereoBalance< T >::Options::guard = false

Verify the actual windowed side/mid energy ceiling.

Definition at line 54 of file OfflineStereoBalance.h.

◆ guardMarginDb

template<FloatType T>
double dspark::OfflineStereoBalance< T >::Options::guardMarginDb = 3

0..12 dB above the target side/mid power ratio.

Definition at line 57 of file OfflineStereoBalance.h.

◆ levelingAmount

template<FloatType T>
double dspark::OfflineStereoBalance< T >::Options::levelingAmount = 0

0..1 of the measured log-gain correction.

Definition at line 53 of file OfflineStereoBalance.h.

◆ maximumBoostDb

template<FloatType T>
double dspark::OfflineStereoBalance< T >::Options::maximumBoostDb = 12

0..24 dB leveler boost cap.

Definition at line 58 of file OfflineStereoBalance.h.

◆ maximumCutDb

template<FloatType T>
double dspark::OfflineStereoBalance< T >::Options::maximumCutDb = 24

0..60 dB leveler attenuation cap.

Definition at line 59 of file OfflineStereoBalance.h.

◆ maximumGuardCutDb

template<FloatType T>
double dspark::OfflineStereoBalance< T >::Options::maximumGuardCutDb = 60

0..120 dB additional guard attenuation cap.

Definition at line 60 of file OfflineStereoBalance.h.

◆ targetSideShare

template<FloatType T>
std::optional<double> dspark::OfflineStereoBalance< T >::Options::targetSideShare

Energy fraction .001..0.49; absent: measured, clamped.

Definition at line 55 of file OfflineStereoBalance.h.


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