#include <analyser.h>
|
| Analyser (float sample_rate, unsigned int channels, samplecnt_t bufsize, samplecnt_t n_samples, size_t width=800, size_t bins=200) |
|
| ~Analyser () |
|
void | process (ProcessContext< float > const &c) |
|
ARDOUR::ExportAnalysisPtr | result (bool ptr=false) |
|
void | set_duration (samplecnt_t n_samples) |
|
void | set_normalization_gain (float gain) |
|
| 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 |
|
void | add_output (typename Source< float >::SinkPtr output) |
|
void | clear_outputs () |
| Removes all outputs added. More...
|
|
void | remove_output (typename Source< float >::SinkPtr output) |
|
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...
|
|
virtual | ~Sink () |
|
virtual void | process (ProcessContext< float > &context) |
|
◆ Analyser()
AudioGrapher::Analyser::Analyser |
( |
float |
sample_rate, |
|
|
unsigned int |
channels, |
|
|
samplecnt_t |
bufsize, |
|
|
samplecnt_t |
n_samples, |
|
|
size_t |
width = 800 , |
|
|
size_t |
bins = 200 |
|
) |
| |
◆ ~Analyser()
AudioGrapher::Analyser::~Analyser |
( |
| ) |
|
◆ fft_power_at_bin()
float AudioGrapher::Analyser::fft_power_at_bin |
( |
const uint32_t |
b, |
|
|
const float |
norm |
|
) |
| const |
|
private |
◆ process()
void AudioGrapher::Analyser::process |
( |
ProcessContext< float > const & |
context | ) |
|
|
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
Reimplemented from AudioGrapher::LoudnessReader.
◆ result()
◆ set_duration()
void AudioGrapher::Analyser::set_duration |
( |
samplecnt_t |
n_samples | ) |
|
◆ set_normalization_gain()
void AudioGrapher::Analyser::set_normalization_gain |
( |
float |
gain | ) |
|
|
inline |
◆ _fft_data_in
float* AudioGrapher::Analyser::_fft_data_in |
|
private |
◆ _fft_data_out
float* AudioGrapher::Analyser::_fft_data_out |
|
private |
◆ _fft_data_size
uint32_t AudioGrapher::Analyser::_fft_data_size |
|
private |
◆ _fft_freq_per_bin
double AudioGrapher::Analyser::_fft_freq_per_bin |
|
private |
◆ _fft_plan
fftwf_plan AudioGrapher::Analyser::_fft_plan |
|
private |
◆ _fft_power
float* AudioGrapher::Analyser::_fft_power |
|
private |
◆ _fpp
◆ _hann_window
float* AudioGrapher::Analyser::_hann_window |
|
private |
◆ _n_samples
◆ _pos
◆ _result
◆ _rp
◆ _spp
◆ fft_range_db
const float AudioGrapher::Analyser::fft_range_db |
|
static |
The documentation for this class was generated from the following file: