13 #ifndef __AL_TEMPO_H__ 14 #define __AL_TEMPO_H__ 45 class TempoMap :
public std::map<int, TEvent> {
56 void clearRange(
int tick1,
int tick2);
60 qreal tempo(
int tick)
const;
62 qreal tick2time(
int tick,
int* sn = 0)
const;
63 qreal tick2timeLC(
int tick,
int* sn)
const;
64 qreal tick2time(
int tick, qreal time,
int* sn)
const;
65 int time2tick(qreal time,
int* sn = 0)
const;
66 int time2tick(qreal time,
int tick,
int* sn)
const;
69 void setTempo(
int t, qreal);
70 void setPause(
int t, qreal);
71 void delTempo(
int tick);
73 void setRelTempo(qreal val);
qreal relTempo() const
Definition: tempo.h:74
QFlags< TempoType > TempoTypes
Definition: tempo.h:22
qreal _relTempo
Definition: tempo.h:48
qreal _tempo
Definition: tempo.h:47
qreal time
Definition: tempo.h:33
int tempoSN() const
Definition: tempo.h:67
int _tempoSN
Definition: tempo.h:46
TempoTypes type
Definition: tempo.h:30
Definition: aeolus.cpp:26
qreal pause
Definition: tempo.h:32
Definition: xmlwriter.h:26
qreal tempo
Definition: tempo.h:31
TempoType
Definition: tempo.h:20
Q_DECLARE_OPERATORS_FOR_FLAGS(ElementFlags)