Ardour  8.7-15-gadf511264b
Temporal::TempoMapPoint Class Reference

#include <tempo.h>

Inheritance diagram for Temporal::TempoMapPoint:
[legend]

Public Member Functions

 TempoMapPoint (TempoMap const &map, TempoMetric const &tm, superclock_t sc, Beats const &q, BBT_Time const &bbt)
 
 ~TempoMapPoint ()
 
bool is_explicit_meter () const
 
bool is_explicit_tempo () const
 
bool is_explicit_position () const
 
bool is_explicit () const
 
timepos_t time () const
 
- Public Member Functions inherited from Temporal::Point
 Point (TempoMap const &map, superclock_t sc, Beats const &b, BBT_Time const &bbt)
 
 Point (TempoMap const &map, XMLNode const &)
 
virtual ~Point ()
 
void set (superclock_t sc, Beats const &b, BBT_Time const &bbt)
 
superclock_t sclock () const
 
Beats const & beats () const
 
BBT_Time const & bbt () const
 
samplepos_t sample (int sr) const
 
bool operator== (Point const &other) const
 
bool operator!= (Point const &other) const
 
- Public Member Functions inherited from Temporal::MapOwned
TempoMap const & map () const
 
- Public Member Functions inherited from Temporal::TempoMetric
 TempoMetric (TempoPoint const &t, MeterPoint const &m)
 
virtual ~TempoMetric ()
 
superclock_t reftime () const
 
TempoPoint const & tempo () const
 
MeterPoint const & meter () const
 
TempoPointget_editable_tempo () const
 
MeterPointget_editable_meter () const
 
superclock_t superclock_at (Beats const &qn) const
 
samplepos_t sample_at (Beats const &qn) const
 
Beats quarters_at (BBT_Time const &bbt) const
 
BBT_Argument bbt_at (Beats const &beats) const
 
superclock_t superclocks_per_note_type () const
 
superclock_t end_superclocks_per_note_type () const
 
superclock_t superclocks_per_note_type (int note_type) const
 
superclock_t superclocks_per_quarter_note () const
 
int note_type () const
 
int divisions_per_bar () const
 
int note_value () const
 
BBT_Argument bbt_add (BBT_Time const &bbt, BBT_Offset const &add) const
 
BBT_Argument bbt_subtract (BBT_Time const &bbt, BBT_Offset const &sub) const
 
BBT_Argument round_to_bar (BBT_Time const &bbt) const
 
Beats to_quarters (BBT_Offset const &bbo) const
 
superclock_t superclocks_per_bar () const
 
superclock_t superclocks_per_grid () const
 
superclock_t superclocks_per_note_type_at_superclock (superclock_t sc) const
 
BBT_Argument bbt_at (timepos_t const &) const
 
superclock_t superclock_at (BBT_Time const &) const
 
samplepos_t samples_per_bar (samplecnt_t sr) const
 
Beats quarters_at_sample (samplepos_t sc) const
 
Beats quarters_at_superclock (superclock_t sc) const
 

Additional Inherited Members

- Protected Member Functions inherited from Temporal::Point
void add_state (XMLNode &) const
 
void map_reset_set_sclock_for_sr_change (superclock_t sc)
 
- Protected Member Functions inherited from Temporal::MapOwned
 MapOwned (TempoMap const &map)
 
virtual ~MapOwned ()
 
void set_map (TempoMap const &map)
 
- Protected Attributes inherited from Temporal::Point
superclock_t _sclock
 
Beats _quarters
 
BBT_Time _bbt
 
- Protected Attributes inherited from Temporal::MapOwned
TempoMap const * _map
 
- Protected Attributes inherited from Temporal::TempoMetric
TempoPoint const * _tempo
 
MeterPoint const * _meter
 
superclock_t _reftime
 

Detailed Description

Tempo Map - mapping of timecode to musical time. convert audio-samples, sample-rate to Bar/Beat/Tick, Meter/Tempo

Definition at line 587 of file temporal/temporal/tempo.h.

Constructor & Destructor Documentation

◆ TempoMapPoint()

Temporal::TempoMapPoint::TempoMapPoint ( TempoMap const &  map,
TempoMetric const &  tm,
superclock_t  sc,
Beats const &  q,
BBT_Time const &  bbt 
)
inline

Definition at line 590 of file temporal/temporal/tempo.h.

◆ ~TempoMapPoint()

Temporal::TempoMapPoint::~TempoMapPoint ( )
inline

Definition at line 592 of file temporal/temporal/tempo.h.

Member Function Documentation

◆ is_explicit()

bool Temporal::TempoMapPoint::is_explicit ( ) const
inline

Definition at line 597 of file temporal/temporal/tempo.h.

◆ is_explicit_meter()

bool Temporal::TempoMapPoint::is_explicit_meter ( ) const
inline

Definition at line 594 of file temporal/temporal/tempo.h.

◆ is_explicit_position()

bool Temporal::TempoMapPoint::is_explicit_position ( ) const
inline

Definition at line 596 of file temporal/temporal/tempo.h.

◆ is_explicit_tempo()

bool Temporal::TempoMapPoint::is_explicit_tempo ( ) const
inline

Definition at line 595 of file temporal/temporal/tempo.h.

◆ time()

timepos_t Temporal::TempoMapPoint::time ( ) const
inlinevirtual

Implements Temporal::Point.

Definition at line 599 of file temporal/temporal/tempo.h.


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