summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-11-04 03:19:21 +1100
committernick_m <mainsbridge@gmail.com>2016-11-11 03:37:08 +1100
commit9df27844fc0ea1a241aad588ee0b44f3da44a3ee (patch)
tree86abd0a9cb4adcad8218205accf4930189d601b7 /libs/ardour/ardour
parent5788f4243854569096d8c0ba89edc84ca677de22 (diff)
more tempo documentation.
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/tempo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h
index 57c6ced275..1b587a5668 100644
--- a/libs/ardour/ardour/tempo.h
+++ b/libs/ardour/ardour/tempo.h
@@ -441,6 +441,7 @@ class LIBARDOUR_API TempoMap : public PBD::StatefulDestructible
Evoral::Beats framewalk_to_qn (framepos_t pos, framecnt_t distance) const;
/* quarter note related functions are also tempo-sensitive and ignore meter.
+ quarter notes may be compared with and assigned to Evoral::Beats.
*/
double quarter_note_at_frame (const framepos_t frame);
double quarter_note_at_frame_rt (const framepos_t frame);
@@ -451,6 +452,7 @@ class LIBARDOUR_API TempoMap : public PBD::StatefulDestructible
double quarter_note_at_beat (const double beat);
double beat_at_quarter_note (const double beat);
+ /* obtain a musical subdivision via a frame position and magic note divisor.*/
double exact_qn_at_frame (const framepos_t& frame, const int32_t sub_num);
double exact_beat_at_frame (const framepos_t& frame, const int32_t sub_num);