Ardour
9.0-pre0-582-g084a23a80d
|
#include <limiter.h>
Public Member Functions | |
Limiter (float sample_rate, unsigned int channels, samplecnt_t) | |
~Limiter () | |
void | set_input_gain (float dB) |
void | set_threshold (float dB) |
void | set_release (float s) |
void | set_duration (samplecnt_t) |
void | set_result (ARDOUR::ExportAnalysisPtr) |
void | process (ProcessContext< float > const &ctx) |
Public Member Functions inherited from AudioGrapher::ListedSource< float > | |
void | add_output (typename Source< float >::SinkPtr output) |
void | clear_outputs () |
Removes all outputs added. More... | |
void | remove_output (typename Source< float >::SinkPtr output) |
Public Member Functions inherited from AudioGrapher::Source< T > | |
virtual | ~Source () |
virtual void | add_output (SinkPtr output)=0 |
Adds an output to this source. All data generated is forwarded to output. More... | |
virtual void | remove_output (SinkPtr output)=0 |
Removes a specific output from this source. More... | |
Public Member Functions inherited from AudioGrapher::Sink< float > | |
virtual | ~Sink () |
virtual void | process (ProcessContext< float > &context) |
Private Member Functions | |
void | stats (samplecnt_t) |
Private Attributes | |
bool | _enabled |
float * | _buf |
samplecnt_t | _size |
samplecnt_t | _latency |
samplecnt_t | _cnt |
samplecnt_t | _spp |
size_t | _pos |
ARDOUR::ExportAnalysisPtr | _result |
AudioGrapherDSP::Limiter | _limiter |
Additional Inherited Members | |
Public Types inherited from AudioGrapher::Source< T > | |
typedef std::shared_ptr< Sink< T > > | SinkPtr |
Protected Types inherited from AudioGrapher::ListedSource< float > | |
typedef std::list< typename Source< float >::SinkPtr > | SinkList |
Protected Member Functions inherited from AudioGrapher::ListedSource< float > | |
void | output (ProcessContext< float > const &c) |
Helper for derived classes. More... | |
void | output (ProcessContext< float > &c) |
bool | output_size_is_one () |
Protected Member Functions inherited from AudioGrapher::Throwing< L > | |
Throwing () | |
bool | throw_level (ThrowLevel level) |
Protected Attributes inherited from AudioGrapher::ListedSource< float > | |
SinkList | outputs |
Definition at line 15 of file audiographer/general/limiter.h.
AudioGrapher::Limiter::Limiter | ( | float | sample_rate, |
unsigned int | channels, | ||
samplecnt_t | |||
) |
AudioGrapher::Limiter::~Limiter | ( | ) |
|
virtual |
Process given data. The data can not be modified, so in-place processing is not allowed. At least this function must be implemented by deriving classes
Implements AudioGrapher::Sink< float >.
void AudioGrapher::Limiter::set_duration | ( | samplecnt_t | ) |
void AudioGrapher::Limiter::set_input_gain | ( | float | dB | ) |
void AudioGrapher::Limiter::set_release | ( | float | s | ) |
void AudioGrapher::Limiter::set_result | ( | ARDOUR::ExportAnalysisPtr | ) |
void AudioGrapher::Limiter::set_threshold | ( | float | dB | ) |
|
private |
|
private |
Definition at line 38 of file audiographer/general/limiter.h.
|
private |
Definition at line 42 of file audiographer/general/limiter.h.
|
private |
Definition at line 37 of file audiographer/general/limiter.h.
|
private |
Definition at line 40 of file audiographer/general/limiter.h.
|
private |
Definition at line 47 of file audiographer/general/limiter.h.
|
private |
Definition at line 44 of file audiographer/general/limiter.h.
|
private |
Definition at line 46 of file audiographer/general/limiter.h.
|
private |
Definition at line 39 of file audiographer/general/limiter.h.
|
private |
Definition at line 43 of file audiographer/general/limiter.h.