From 7cb5fca27b8a8fe41c3f1e4f8a14a2f5343762da Mon Sep 17 00:00:00 2001 From: nick_m Date: Tue, 29 Mar 2016 14:56:33 +1100 Subject: [PATCH] Tempo camp - clarify comments. --- libs/ardour/tempo.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index c2572ee077..ce9a8d9513 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -577,8 +577,11 @@ MeterSection::get_state() const They will be re-activated if the first meter is again placed before them. Both tempos and meters have a pulse position and a frame position. + Meters also have a beat position, which is 0.0 for the first meter. + A tempo locked to music is locked to pulses. + A meter locked to music is locked to beats. Recomputing the tempo map is the process where the 'missing' position - (pulse in the case of AudioTime and frame for MusicTime) is calculated + (tempo pulse or meter pulse & beat in the case of AudioTime and frame for MusicTime) is calculated based on the lock preference (position_lock_style). It is important to keep the _metrics in an order that makes sense.