|
Canorus 0.0
|
Tempo mark. More...
#include <tempo.h>

Private Attributes | |
| CAPlayableLength | _beat |
| int | _bpm |
Tempo mark.
Copyright (c) 2007, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.
Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.
Copyright (c) 2007, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.
Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.
Sets and shows the tempo mark. It consists of the note (beat) and beats per minute number.
| CATempo::CATempo | ( | CAPlayableLength | l, |
| int | bpm, | ||
| CAMusElement * | m | ||
| ) |
|
virtual |
|
inline |
References _beat.
Referenced by clone(), compare(), CACanorusMLExport::exportMarks(), CALilyPondExport::exportMarksBeforeElement(), CAPlayback::updateSleepFactor(), and CAMainWin::updateTempoToolBar().

|
inline |
References _bpm.
Referenced by CATempo(), clone(), compare(), CACanorusMLExport::exportMarks(), CALilyPondExport::exportMarksBeforeElement(), CAPlayback::run(), setBpm(), CAPlayback::updateSleepFactor(), and CAMainWin::updateTempoToolBar().

|
virtual |
|
virtual |
Compares the music element with the given elt and returns number of differences in their properties. Returns 0, if the music elements are exact; -1 if the music element type differs; otherwise number greater than 0.
This method is usually used when opening a score document where music elements are written in various voices (eg. barlines), but are eventually merged and written only once per staff.
Reimplemented from CAMark.
References beat(), bpm(), CAMusElement::Mark, CAMark::markType(), CAMusElement::musElementType(), and CAMark::Tempo.

|
inline |
References _beat.
Referenced by CATempo(), and CAMainWin::on_uiTempoBeat_toggled().

|
inline |
Referenced by CATempo(), and CAMainWin::on_uiTempoBpm_returnPressed().


|
private |