Ardour
9.0-pre0-386-g96ef4d20f2
|
#include <loudness_reader.h>
Public Member Functions | |
LoudnessReader (float sample_rate, unsigned int channels, samplecnt_t bufsize) | |
~LoudnessReader () | |
void | reset () |
float | calc_peak (float target_lufs=-23, float target_dbtp=-1) const |
bool | get_loudness (float *integrated, float *short_term=NULL, float *momentary=NULL) const |
virtual void | process (ProcessContext< float > const &c) |
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) |
Protected Attributes | |
Vamp::Plugin * | _ebur_plugin |
std::vector< Vamp::Plugin * > | _dbtp_plugins |
float | _sample_rate |
unsigned int | _channels |
samplecnt_t | _bufsize |
samplecnt_t | _pos |
float * | _bufs [2] |
Protected Attributes inherited from AudioGrapher::ListedSource< float > | |
SinkList | outputs |
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 () |
Definition at line 34 of file loudness_reader.h.
AudioGrapher::LoudnessReader::LoudnessReader | ( | float | sample_rate, |
unsigned int | channels, | ||
samplecnt_t | bufsize | ||
) |
AudioGrapher::LoudnessReader::~LoudnessReader | ( | ) |
float AudioGrapher::LoudnessReader::calc_peak | ( | float | target_lufs = -23 , |
float | target_dbtp = -1 |
||
) | const |
bool AudioGrapher::LoudnessReader::get_loudness | ( | float * | integrated, |
float * | short_term = NULL , |
||
float * | momentary = NULL |
||
) | const |
|
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 >.
Reimplemented in AudioGrapher::Analyser.
void AudioGrapher::LoudnessReader::reset | ( | ) |
|
protected |
Definition at line 57 of file loudness_reader.h.
|
protected |
Definition at line 55 of file loudness_reader.h.
|
protected |
Definition at line 54 of file loudness_reader.h.
|
protected |
Definition at line 51 of file loudness_reader.h.
|
protected |
Definition at line 50 of file loudness_reader.h.
|
protected |
Definition at line 56 of file loudness_reader.h.
|
protected |
Definition at line 53 of file loudness_reader.h.