From 54758ddd4a339b5d2e2e8bedfb4187f2f98ce51c Mon Sep 17 00:00:00 2001 From: nick_m Date: Tue, 19 Apr 2016 23:24:55 +1000 Subject: [PATCH] Tempo ramps - make documentation more confusing. --- libs/ardour/tempo.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index b37d5efb93..c9176847c9 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -328,6 +328,13 @@ t = b log (Ta / T0) / (T0 (e^(log (Ta / T0)) - 1)) By substituting our expanded t as a in the c function above, our problem is reduced to: c = T0 (e^(log (Ta / T0)) - 1) / b +Of course the word 'beat' has been left loosely defined above. +In music, a beat is defined by the musical pulse (which comes from the tempo) +and the meter in use at a particular time (how many pulse divisions there are in one bar). +It would be more accurate to substitute the work 'pulse' for 'beat' above. + +Anyway ... + We can now store c for future time calculations. If the following tempo section (the one that defines c in conjunction with this one) is changed or moved, c is no longer valid.