summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/tempo.h
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-03-29 05:31:06 +1100
committernick_m <mainsbridge@gmail.com>2016-05-27 23:38:13 +1000
commita9714de9b97045083d2d6b656808e19572ac44a2 (patch)
treed9d34a376dd885b1d04ce2032211f905f76e2d14 /libs/ardour/ardour/tempo.h
parent354567e5a72c3d24fb13d8b47a51b1c3859918ea (diff)
Tempo ramps - tempo drags respect the snap modifier. add some documentation.
Diffstat (limited to 'libs/ardour/ardour/tempo.h')
-rw-r--r--libs/ardour/ardour/tempo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h
index 2a28a65f5b..7a26a609e3 100644
--- a/libs/ardour/ardour/tempo.h
+++ b/libs/ardour/ardour/tempo.h
@@ -55,6 +55,9 @@ class LIBARDOUR_API Tempo {
Tempo (double bpm, double type=4.0) // defaulting to quarter note
: _beats_per_minute (bpm), _note_type(type) {}
+ /* ..or more aptly 'pulse divisions per minute'.
+ Nothing to do with actual beats, which are defined by the meter and tempo.
+ */
double beats_per_minute () const { return _beats_per_minute; }
void set_beats_per_minute (double bpm) { _beats_per_minute = bpm; }
double note_type () const { return _note_type; }