Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::dsp::TempoEventWrapper Class Reference
Inheritance diagram for zrythm::dsp::TempoEventWrapper:
Collaboration diagram for zrythm::dsp::TempoEventWrapper:

Public Types

enum class  CurveType : std::uint8_t { Constant , Linear }

Public Member Functions

 TempoEventWrapper (const TempoMap::TempoEvent &event, QObject *parent=nullptr)
qint64 tick () const
double bpm () const
CurveType curve () const

Properties

qint64 tick
double bpm
CurveType curve

Detailed Description

Definition at line 16 of file tempo_map_qml_adapter.h.

Member Enumeration Documentation

◆ CurveType

enum class zrythm::dsp::TempoEventWrapper::CurveType : std::uint8_t
strong
Enumerator
Constant 

Constant tempo.

Linear 

Linear tempo ramp.

Definition at line 33 of file tempo_map_qml_adapter.h.

Constructor & Destructor Documentation

◆ TempoEventWrapper()

zrythm::dsp::TempoEventWrapper::TempoEventWrapper ( const TempoMap::TempoEvent & event,
QObject * parent = nullptr )
inlineexplicit

Definition at line 26 of file tempo_map_qml_adapter.h.

Member Function Documentation

◆ bpm()

double zrythm::dsp::TempoEventWrapper::bpm ( ) const
inline

Definition at line 41 of file tempo_map_qml_adapter.h.

◆ curve()

CurveType zrythm::dsp::TempoEventWrapper::curve ( ) const
inline

Definition at line 42 of file tempo_map_qml_adapter.h.

◆ tick()

qint64 zrythm::dsp::TempoEventWrapper::tick ( ) const
inline

Definition at line 40 of file tempo_map_qml_adapter.h.

Property Documentation

◆ bpm

double zrythm::dsp::TempoEventWrapper::bpm
read

Definition at line 20 of file tempo_map_qml_adapter.h.

◆ curve

CurveType zrythm::dsp::TempoEventWrapper::curve
read

Definition at line 21 of file tempo_map_qml_adapter.h.

◆ tick

qint64 zrythm::dsp::TempoEventWrapper::tick
read

Definition at line 19 of file tempo_map_qml_adapter.h.


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