Ardour  9.0-pre0-582-g084a23a80d
AudioGrapherDSP::Limiter Class Reference

#include <limiter.h>

Classes

class  Histmin
 
class  Upsampler
 

Public Member Functions

 Limiter ()
 
 ~Limiter ()
 
void init (float fsamp, int nchan)
 
void fini ()
 
void set_inpgain (float)
 
void set_threshold (float)
 
void set_release (float)
 
void set_truepeak (bool)
 
int get_latency () const
 
void get_stats (float *peak, float *gmax, float *gmin)
 
void process (int nsamp, float const *inp, float *out)
 

Private Attributes

float _fsamp
 
int _nchan
 
bool _truepeak
 
float ** _dly_buf
 
float * _zlf
 
int _delay
 
int _dly_mask
 
int _dly_ridx
 
int _div1
 
int _div2
 
int _c1
 
int _c2
 
float _g0
 
float _g1
 
float _dg
 
float _gt
 
float _m1
 
float _m2
 
float _w1
 
float _w2
 
float _w3
 
float _wlf
 
float _z1
 
float _z2
 
float _z3
 
bool _rstat
 
float _peak
 
float _gmax
 
float _gmin
 
Upsampler _upsampler
 
Histmin _hist1
 
Histmin _hist2
 

Detailed Description

Definition at line 26 of file private/limiter/limiter.h.

Constructor & Destructor Documentation

◆ Limiter()

AudioGrapherDSP::Limiter::Limiter ( )

◆ ~Limiter()

AudioGrapherDSP::Limiter::~Limiter ( )

Member Function Documentation

◆ fini()

void AudioGrapherDSP::Limiter::fini ( )

◆ get_latency()

int AudioGrapherDSP::Limiter::get_latency ( ) const
inline

Definition at line 41 of file private/limiter/limiter.h.

◆ get_stats()

void AudioGrapherDSP::Limiter::get_stats ( float *  peak,
float *  gmax,
float *  gmin 
)
inline

Definition at line 47 of file private/limiter/limiter.h.

◆ init()

void AudioGrapherDSP::Limiter::init ( float  fsamp,
int  nchan 
)

◆ process()

void AudioGrapherDSP::Limiter::process ( int  nsamp,
float const *  inp,
float *  out 
)

◆ set_inpgain()

void AudioGrapherDSP::Limiter::set_inpgain ( float  )

◆ set_release()

void AudioGrapherDSP::Limiter::set_release ( float  )

◆ set_threshold()

void AudioGrapherDSP::Limiter::set_threshold ( float  )

◆ set_truepeak()

void AudioGrapherDSP::Limiter::set_truepeak ( bool  )

Member Data Documentation

◆ _c1

int AudioGrapherDSP::Limiter::_c1
private

Definition at line 111 of file private/limiter/limiter.h.

◆ _c2

int AudioGrapherDSP::Limiter::_c2
private

Definition at line 111 of file private/limiter/limiter.h.

◆ _delay

int AudioGrapherDSP::Limiter::_delay
private

Definition at line 107 of file private/limiter/limiter.h.

◆ _dg

float AudioGrapherDSP::Limiter::_dg
private

Definition at line 112 of file private/limiter/limiter.h.

◆ _div1

int AudioGrapherDSP::Limiter::_div1
private

Definition at line 110 of file private/limiter/limiter.h.

◆ _div2

int AudioGrapherDSP::Limiter::_div2
private

Definition at line 110 of file private/limiter/limiter.h.

◆ _dly_buf

float** AudioGrapherDSP::Limiter::_dly_buf
private

Definition at line 104 of file private/limiter/limiter.h.

◆ _dly_mask

int AudioGrapherDSP::Limiter::_dly_mask
private

Definition at line 108 of file private/limiter/limiter.h.

◆ _dly_ridx

int AudioGrapherDSP::Limiter::_dly_ridx
private

Definition at line 109 of file private/limiter/limiter.h.

◆ _fsamp

float AudioGrapherDSP::Limiter::_fsamp
private

Definition at line 100 of file private/limiter/limiter.h.

◆ _g0

float AudioGrapherDSP::Limiter::_g0
private

Definition at line 112 of file private/limiter/limiter.h.

◆ _g1

float AudioGrapherDSP::Limiter::_g1
private

Definition at line 112 of file private/limiter/limiter.h.

◆ _gmax

float AudioGrapherDSP::Limiter::_gmax
private

Definition at line 119 of file private/limiter/limiter.h.

◆ _gmin

float AudioGrapherDSP::Limiter::_gmin
private

Definition at line 120 of file private/limiter/limiter.h.

◆ _gt

float AudioGrapherDSP::Limiter::_gt
private

Definition at line 113 of file private/limiter/limiter.h.

◆ _hist1

Histmin AudioGrapherDSP::Limiter::_hist1
private

Definition at line 123 of file private/limiter/limiter.h.

◆ _hist2

Histmin AudioGrapherDSP::Limiter::_hist2
private

Definition at line 124 of file private/limiter/limiter.h.

◆ _m1

float AudioGrapherDSP::Limiter::_m1
private

Definition at line 113 of file private/limiter/limiter.h.

◆ _m2

float AudioGrapherDSP::Limiter::_m2
private

Definition at line 113 of file private/limiter/limiter.h.

◆ _nchan

int AudioGrapherDSP::Limiter::_nchan
private

Definition at line 101 of file private/limiter/limiter.h.

◆ _peak

float AudioGrapherDSP::Limiter::_peak
private

Definition at line 118 of file private/limiter/limiter.h.

◆ _rstat

bool AudioGrapherDSP::Limiter::_rstat
private

Definition at line 117 of file private/limiter/limiter.h.

◆ _truepeak

bool AudioGrapherDSP::Limiter::_truepeak
private

Definition at line 102 of file private/limiter/limiter.h.

◆ _upsampler

Upsampler AudioGrapherDSP::Limiter::_upsampler
private

Definition at line 122 of file private/limiter/limiter.h.

◆ _w1

float AudioGrapherDSP::Limiter::_w1
private

Definition at line 114 of file private/limiter/limiter.h.

◆ _w2

float AudioGrapherDSP::Limiter::_w2
private

Definition at line 114 of file private/limiter/limiter.h.

◆ _w3

float AudioGrapherDSP::Limiter::_w3
private

Definition at line 114 of file private/limiter/limiter.h.

◆ _wlf

float AudioGrapherDSP::Limiter::_wlf
private

Definition at line 114 of file private/limiter/limiter.h.

◆ _z1

float AudioGrapherDSP::Limiter::_z1
private

Definition at line 115 of file private/limiter/limiter.h.

◆ _z2

float AudioGrapherDSP::Limiter::_z2
private

Definition at line 115 of file private/limiter/limiter.h.

◆ _z3

float AudioGrapherDSP::Limiter::_z3
private

Definition at line 115 of file private/limiter/limiter.h.

◆ _zlf

float* AudioGrapherDSP::Limiter::_zlf
private

Definition at line 105 of file private/limiter/limiter.h.


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