LMMS
Loading...
Searching...
No Matches
lmms::TimeSig Class Reference

#include <TimePos.h>

Public Member Functions

 TimeSig (int num, int denom)
 TimeSig (const MeterModel &model)
int numerator () const
int denominator () const

Private Attributes

int m_num
int m_denom

Detailed Description

Represents a time signature, in which the numerator is the number of beats in a bar, while the denominator is the type of note representing a beat.

Example: 6/8 means 6 beats in a bar with each beat having a duration of one 8th-note.

Constructor & Destructor Documentation

◆ TimeSig() [1/2]

lmms::TimeSig::TimeSig ( int num,
int denom )

◆ TimeSig() [2/2]

lmms::TimeSig::TimeSig ( const MeterModel & model)

Member Function Documentation

◆ denominator()

int lmms::TimeSig::denominator ( ) const
inline

◆ numerator()

int lmms::TimeSig::numerator ( ) const
inline

Member Data Documentation

◆ m_denom

int lmms::TimeSig::m_denom
private

◆ m_num

int lmms::TimeSig::m_num
private

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