summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-11-05 22:29:31 +1100
committernick_m <mainsbridge@gmail.com>2016-11-11 03:37:08 +1100
commite52f90357e79dac10da2bee0e27d51e8b07d5b83 (patch)
tree2b928dd4262fb87958e58db55c4a66d1f558e67c /libs/ardour/ardour
parent2f593e3af9b3aa401c4eb858ebb53617f13b823d (diff)
tempo doc explains that currently Tempo::beats_per_minute means something else.
- Tempo beats_per_minute() is currently implemented as note types per minute. a further patch will change Tempo to reflect this and provide some helpers.
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/tempo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h
index 1b587a5668..d52232e88e 100644
--- a/libs/ardour/ardour/tempo.h
+++ b/libs/ardour/ardour/tempo.h
@@ -50,14 +50,14 @@ class TempoMap;
class LIBARDOUR_API Tempo {
public:
/**
- * @param bpm Beats Per Minute
+ * @param npm Note Types per minute
* @param type Note Type (default `4': quarter note)
*/
- Tempo (double bpm, double type=4.0) // defaulting to quarter note
- : _beats_per_minute (bpm), _note_type(type) {}
+ Tempo (double npm, double type=4.0) // defaulting to quarter note
+ : _beats_per_minute (npm), _note_type(type) {}
/*
- quarter note beats as distinct from a beat derived from meter and pulse.
+ note types per minute.
*/
double beats_per_minute () const { return _beats_per_minute; }
void set_beats_per_minute (double bpm) { _beats_per_minute = bpm; }