Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::dsp::FixedPpqTempoMap< PPQ >::TimeSignatureEvent Struct Reference

Time signature event definition. More...

#include <src/dsp/tempo_map.h>

Public Member Functions

constexpr auto quarters_per_bar () const
constexpr auto ticks_per_bar () const
constexpr auto ticks_per_beat () const
constexpr auto is_different_time_signature (const TimeSignatureEvent &other) const

Data Fields

units::tick_t tick
 Position in ticks.
int numerator {}
 Beats per bar.
int denominator {}
 Beat unit (2,4,8,16).

Detailed Description

template<units::tick_t::NTTP PPQ>
struct zrythm::dsp::FixedPpqTempoMap< PPQ >::TimeSignatureEvent

Time signature event definition.

Definition at line 64 of file tempo_map.h.

Member Function Documentation

◆ is_different_time_signature()

template<units::tick_t::NTTP PPQ>
auto zrythm::dsp::FixedPpqTempoMap< PPQ >::TimeSignatureEvent::is_different_time_signature ( const TimeSignatureEvent & other) const
inlineconstexpr

Definition at line 86 of file tempo_map.h.

◆ quarters_per_bar()

template<units::tick_t::NTTP PPQ>
auto zrythm::dsp::FixedPpqTempoMap< PPQ >::TimeSignatureEvent::quarters_per_bar ( ) const
inlineconstexpr

Definition at line 70 of file tempo_map.h.

◆ ticks_per_bar()

template<units::tick_t::NTTP PPQ>
auto zrythm::dsp::FixedPpqTempoMap< PPQ >::TimeSignatureEvent::ticks_per_bar ( ) const
inlineconstexpr

Definition at line 75 of file tempo_map.h.

◆ ticks_per_beat()

template<units::tick_t::NTTP PPQ>
auto zrythm::dsp::FixedPpqTempoMap< PPQ >::TimeSignatureEvent::ticks_per_beat ( ) const
inlineconstexpr

Definition at line 80 of file tempo_map.h.

Field Documentation

◆ denominator

template<units::tick_t::NTTP PPQ>
int zrythm::dsp::FixedPpqTempoMap< PPQ >::TimeSignatureEvent::denominator {}

Beat unit (2,4,8,16).

Definition at line 68 of file tempo_map.h.

◆ numerator

template<units::tick_t::NTTP PPQ>
int zrythm::dsp::FixedPpqTempoMap< PPQ >::TimeSignatureEvent::numerator {}

Beats per bar.

Definition at line 67 of file tempo_map.h.

◆ tick

template<units::tick_t::NTTP PPQ>
units::tick_t zrythm::dsp::FixedPpqTempoMap< PPQ >::TimeSignatureEvent::tick

Position in ticks.

Definition at line 66 of file tempo_map.h.


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