hydrogen 1.2.6
Timeline::TempoMarker Struct Reference

TempoMarker specifies a change in speed during the Song. More...

#include <Timeline.h>

Public Member Functions

QString getPrettyString (int nDecimals=2) const
 
QString toQString (const QString &sPrefix="", bool bShort=true) const
 

Data Fields

float fBpm
 
int nColumn
 

Detailed Description

TempoMarker specifies a change in speed during the Song.

Definition at line 79 of file Timeline.h.

Member Function Documentation

◆ getPrettyString()

QString getPrettyString ( int nDecimals = 2) const
Parameters
nDecimalsNumber of digits after point.
Returns
A text representation of fBpm limited to nDecimals decimals after point and trailing zeros removed.

Definition at line 279 of file Timeline.cpp.

◆ toQString()

QString toQString ( const QString & sPrefix = "",
bool bShort = true ) const

Definition at line 291 of file Timeline.cpp.

Field Documentation

◆ fBpm

float fBpm

Definition at line 82 of file Timeline.h.

◆ nColumn

int nColumn

Definition at line 81 of file Timeline.h.