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

Everything the analytic makeup depends on: it is worked out again only when one of these changes. More...

#include <Compressor.h>

Public Member Functions

bool operator== (const MakeupModelKey &) const =default
 

Public Attributes

T thresh = T(0)
 Threshold (dB).
 
T ratio = T(1)
 Ratio.
 
T knee = T(0)
 Knee width (dB).
 
T amount = T(1)
 Share of the gain change that is applied.
 
T range = T(0)
 Largest gain change (dB).
 
T fastWeight = T(1)
 Blend of the fast and memory stages.
 
T window = T(0)
 Length of the RMS window (ms).
 
double attack = 0.0
 Observed attack coefficient.
 
double release = 0.0
 Release coefficient.
 
double charge = 0.0
 Charge coefficient of the memory stage.
 
double slowRelease = 0.0
 Release coefficient of the memory stage.
 
double midCharge = 0.0
 Charge coefficient of the medium memory (three-stage cell).
 
double midRelease = 0.0
 Release coefficient of the medium memory.
 
bool threeStage = false
 The memory stage is the three-stage cell.
 
double hold = 0.0
 Release coefficient of the decoupled hold stage.
 
Character charType = Character::Clean
 Character.
 
Mode modeType = Mode::Downward
 Direction.
 
DetectorType detType = DetectorType::Peak
 Effective detector.
 
bool decoupled = false
 Decoupled ballistics.
 
bool loop = false
 The detector reads the output (feedback).
 
bool autoThreshold = false
 The threshold counts from the key's peak.
 
int soft = 0
 How the target meets the range (a RangeShape).
 
T liftBelow = T(0)
 
T liftRatio = T(1)
 
T liftRange = T(0)
 The upward half of Mode::Both.
 
bool valid = false
 False until the first solve.
 

Detailed Description

template<FloatType T>
struct dspark::Compressor< T >::MakeupModelKey

Everything the analytic makeup depends on: it is worked out again only when one of these changes.

Definition at line 5494 of file Compressor.h.

Member Function Documentation

◆ operator==()

template<FloatType T>
bool dspark::Compressor< T >::MakeupModelKey::operator== ( const MakeupModelKey &  ) const
default

Member Data Documentation

◆ amount

template<FloatType T>
T dspark::Compressor< T >::MakeupModelKey::amount = T(1)

Share of the gain change that is applied.

Definition at line 5499 of file Compressor.h.

◆ attack

template<FloatType T>
double dspark::Compressor< T >::MakeupModelKey::attack = 0.0

Observed attack coefficient.

Definition at line 5503 of file Compressor.h.

◆ autoThreshold

template<FloatType T>
bool dspark::Compressor< T >::MakeupModelKey::autoThreshold = false

The threshold counts from the key's peak.

Definition at line 5516 of file Compressor.h.

◆ charge

template<FloatType T>
double dspark::Compressor< T >::MakeupModelKey::charge = 0.0

Charge coefficient of the memory stage.

Definition at line 5505 of file Compressor.h.

◆ charType

template<FloatType T>
Character dspark::Compressor< T >::MakeupModelKey::charType = Character::Clean

Character.

Definition at line 5511 of file Compressor.h.

◆ decoupled

template<FloatType T>
bool dspark::Compressor< T >::MakeupModelKey::decoupled = false

Decoupled ballistics.

Definition at line 5514 of file Compressor.h.

◆ detType

template<FloatType T>
DetectorType dspark::Compressor< T >::MakeupModelKey::detType = DetectorType::Peak

Effective detector.

Definition at line 5513 of file Compressor.h.

◆ fastWeight

template<FloatType T>
T dspark::Compressor< T >::MakeupModelKey::fastWeight = T(1)

Blend of the fast and memory stages.

Definition at line 5501 of file Compressor.h.

◆ hold

template<FloatType T>
double dspark::Compressor< T >::MakeupModelKey::hold = 0.0

Release coefficient of the decoupled hold stage.

Definition at line 5510 of file Compressor.h.

◆ knee

template<FloatType T>
T dspark::Compressor< T >::MakeupModelKey::knee = T(0)

Knee width (dB).

Definition at line 5498 of file Compressor.h.

◆ liftBelow

template<FloatType T>
T dspark::Compressor< T >::MakeupModelKey::liftBelow = T(0)

Definition at line 5518 of file Compressor.h.

◆ liftRange

template<FloatType T>
T dspark::Compressor< T >::MakeupModelKey::liftRange = T(0)

The upward half of Mode::Both.

Definition at line 5518 of file Compressor.h.

◆ liftRatio

template<FloatType T>
T dspark::Compressor< T >::MakeupModelKey::liftRatio = T(1)

Definition at line 5518 of file Compressor.h.

◆ loop

template<FloatType T>
bool dspark::Compressor< T >::MakeupModelKey::loop = false

The detector reads the output (feedback).

Definition at line 5515 of file Compressor.h.

◆ midCharge

template<FloatType T>
double dspark::Compressor< T >::MakeupModelKey::midCharge = 0.0

Charge coefficient of the medium memory (three-stage cell).

Definition at line 5507 of file Compressor.h.

◆ midRelease

template<FloatType T>
double dspark::Compressor< T >::MakeupModelKey::midRelease = 0.0

Release coefficient of the medium memory.

Definition at line 5508 of file Compressor.h.

◆ modeType

template<FloatType T>
Mode dspark::Compressor< T >::MakeupModelKey::modeType = Mode::Downward

Direction.

Definition at line 5512 of file Compressor.h.

◆ range

template<FloatType T>
T dspark::Compressor< T >::MakeupModelKey::range = T(0)

Largest gain change (dB).

Definition at line 5500 of file Compressor.h.

◆ ratio

template<FloatType T>
T dspark::Compressor< T >::MakeupModelKey::ratio = T(1)

Ratio.

Definition at line 5497 of file Compressor.h.

◆ release

template<FloatType T>
double dspark::Compressor< T >::MakeupModelKey::release = 0.0

Release coefficient.

Definition at line 5504 of file Compressor.h.

◆ slowRelease

template<FloatType T>
double dspark::Compressor< T >::MakeupModelKey::slowRelease = 0.0

Release coefficient of the memory stage.

Definition at line 5506 of file Compressor.h.

◆ soft

template<FloatType T>
int dspark::Compressor< T >::MakeupModelKey::soft = 0

How the target meets the range (a RangeShape).

Definition at line 5517 of file Compressor.h.

◆ threeStage

template<FloatType T>
bool dspark::Compressor< T >::MakeupModelKey::threeStage = false

The memory stage is the three-stage cell.

Definition at line 5509 of file Compressor.h.

◆ thresh

template<FloatType T>
T dspark::Compressor< T >::MakeupModelKey::thresh = T(0)

Threshold (dB).

Definition at line 5496 of file Compressor.h.

◆ valid

template<FloatType T>
bool dspark::Compressor< T >::MakeupModelKey::valid = false

False until the first solve.

Definition at line 5519 of file Compressor.h.

◆ window

template<FloatType T>
T dspark::Compressor< T >::MakeupModelKey::window = T(0)

Length of the RMS window (ms).

Definition at line 5502 of file Compressor.h.


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