Ardour  8.7-15-gadf511264b
ARDOUR::AnalysisGraph Class Reference

#include <analysis_graph.h>

Public Member Functions

 AnalysisGraph (ARDOUR::Session *)
 
 ~AnalysisGraph ()
 
void analyze_region (ARDOUR::AudioRegion const *, bool raw=false, PBD::Progress *=0)
 
void analyze_region (std::shared_ptr< ARDOUR::AudioRegion >, bool raw=false)
 
void analyze_range (std::shared_ptr< ARDOUR::Route >, std::shared_ptr< ARDOUR::AudioPlaylist >, const std::list< TimelineRange > &)
 
const AnalysisResultsresults () const
 
void cancel ()
 
bool canceled () const
 
void set_total_samples (samplecnt_t p)
 

Public Attributes

PBD::Signal2< void, samplecnt_t, samplecnt_tProgress
 

Private Types

typedef std::shared_ptr< AudioGrapher::AnalyserAnalysisPtr
 
typedef std::shared_ptr< AudioGrapher::Chunker< float > > ChunkerPtr
 
typedef std::shared_ptr< AudioGrapher::Interleaver< Sample > > InterleaverPtr
 

Private Attributes

ARDOUR::Session_session
 
AnalysisResults _results
 
samplecnt_t _max_chunksize
 
ARDOUR::Sample_buf
 
ARDOUR::Sample_mixbuf
 
float * _gainbuf
 
samplecnt_t _samples_read
 
samplecnt_t _samples_end
 
bool _canceled
 
InterleaverPtr interleaver
 
ChunkerPtr chunker
 
AnalysisPtr analyser
 

Detailed Description

Definition at line 46 of file analysis_graph.h.

Member Typedef Documentation

◆ AnalysisPtr

Definition at line 76 of file analysis_graph.h.

◆ ChunkerPtr

typedef std::shared_ptr<AudioGrapher::Chunker<float> > ARDOUR::AnalysisGraph::ChunkerPtr
private

Definition at line 77 of file analysis_graph.h.

◆ InterleaverPtr

Definition at line 78 of file analysis_graph.h.

Constructor & Destructor Documentation

◆ AnalysisGraph()

ARDOUR::AnalysisGraph::AnalysisGraph ( ARDOUR::Session )

◆ ~AnalysisGraph()

ARDOUR::AnalysisGraph::~AnalysisGraph ( )

Member Function Documentation

◆ analyze_range()

void ARDOUR::AnalysisGraph::analyze_range ( std::shared_ptr< ARDOUR::Route ,
std::shared_ptr< ARDOUR::AudioPlaylist ,
const std::list< TimelineRange > &   
)

◆ analyze_region() [1/2]

void ARDOUR::AnalysisGraph::analyze_region ( ARDOUR::AudioRegion const *  ,
bool  raw = false,
PBD::Progress = 0 
)

◆ analyze_region() [2/2]

void ARDOUR::AnalysisGraph::analyze_region ( std::shared_ptr< ARDOUR::AudioRegion ,
bool  raw = false 
)

◆ cancel()

void ARDOUR::AnalysisGraph::cancel ( )
inline

Definition at line 58 of file analysis_graph.h.

◆ canceled()

bool ARDOUR::AnalysisGraph::canceled ( ) const
inline

Definition at line 59 of file analysis_graph.h.

◆ results()

const AnalysisResults& ARDOUR::AnalysisGraph::results ( ) const
inline

Definition at line 56 of file analysis_graph.h.

◆ set_total_samples()

void ARDOUR::AnalysisGraph::set_total_samples ( samplecnt_t  p)
inline

Definition at line 61 of file analysis_graph.h.

Member Data Documentation

◆ _buf

ARDOUR::Sample* ARDOUR::AnalysisGraph::_buf
private

Definition at line 69 of file analysis_graph.h.

◆ _canceled

bool ARDOUR::AnalysisGraph::_canceled
private

Definition at line 74 of file analysis_graph.h.

◆ _gainbuf

float* ARDOUR::AnalysisGraph::_gainbuf
private

Definition at line 71 of file analysis_graph.h.

◆ _max_chunksize

samplecnt_t ARDOUR::AnalysisGraph::_max_chunksize
private

Definition at line 67 of file analysis_graph.h.

◆ _mixbuf

ARDOUR::Sample* ARDOUR::AnalysisGraph::_mixbuf
private

Definition at line 70 of file analysis_graph.h.

◆ _results

AnalysisResults ARDOUR::AnalysisGraph::_results
private

Definition at line 66 of file analysis_graph.h.

◆ _samples_end

samplecnt_t ARDOUR::AnalysisGraph::_samples_end
private

Definition at line 73 of file analysis_graph.h.

◆ _samples_read

samplecnt_t ARDOUR::AnalysisGraph::_samples_read
private

Definition at line 72 of file analysis_graph.h.

◆ _session

ARDOUR::Session* ARDOUR::AnalysisGraph::_session
private

Definition at line 65 of file analysis_graph.h.

◆ analyser

AnalysisPtr ARDOUR::AnalysisGraph::analyser
private

Definition at line 82 of file analysis_graph.h.

◆ chunker

ChunkerPtr ARDOUR::AnalysisGraph::chunker
private

Definition at line 81 of file analysis_graph.h.

◆ interleaver

InterleaverPtr ARDOUR::AnalysisGraph::interleaver
private

Definition at line 80 of file analysis_graph.h.

◆ Progress

PBD::Signal2<void, samplecnt_t, samplecnt_t> ARDOUR::AnalysisGraph::Progress

Definition at line 62 of file analysis_graph.h.


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