From 9df27844fc0ea1a241aad588ee0b44f3da44a3ee Mon Sep 17 00:00:00 2001 From: nick_m Date: Fri, 4 Nov 2016 03:19:21 +1100 Subject: more tempo documentation. --- libs/ardour/ardour/tempo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/ardour/ardour') 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); -- cgit v1.2.3